Token导航 LogoToken导航

Agent Skill · 开发

candid-loop(坦诚循环)

candid-loop 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

candid-loop 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 13,855。

总安装 808周安装 33GitHub Stars 17下载 259核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:candid-loop(坦诚循环)
来源仓库:https://github.com/ron-myers/candid
仓库路径:skills/candid-loop
安装命令:
npx skills add https://github.com/ron-myers/candid --skill candid-loop
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ron-myers/candid --skill candid-loop

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合围绕仓库状态、代码变更或协作事项进行整理。

安装命令:npx skills add https://github.com/ron-myers/candid --skill candid-loop 可结合来源仓库和原始 README 继续核验具体用法。建议确认权限范围和维护状态,避免触发联网或文件读写操作。

来源仓库内路径:skills/candid-loop

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ron-myers/candid --skill candid-loop;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

candid-loop 怎么安装?

在终端执行 npx skills add https://github.com/ron-myers/candid --skill candid-loop。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

candid-loop 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

candid-loop 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

candid-loop 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

candid-loop 用的人多吗?

公开数据是累计安装 808 次,近一周安装 33 次,下载 259 次,GitHub 17 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

candid-loop 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
candid-loop

坦诚循环 · 本页

80817权限未标注未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Candid Loop

Run candid-review repeatedly until your code is clean. This skill automates the fix-review-fix cycle, applying fixes and re-running reviews until no issues remain (or max iterations is reached).

Workflow

Execute these steps in order:

Step 1: Load Configuration

Load loop configuration from CLI flags and config files.

Precedence (highest to lowest):

  1. CLI flags
  2. Project config (.candid/config.json → loop field)
  3. User config (~/.candid/config.json → loop field)
  4. Defaults
Check CLI Arguments

Parse CLI arguments for loop options:

FlagDescriptionDefault
`--mode <auto\review-each\interactive>`Execution modeauto
--max-iterations <N>Maximum loop iterations5
--categories <list>Categories to enforce (comma-separated)all

Valid modes:

  • auto - Automatically apply all fixes
  • review-each - Go through each fix one by one (Yes/No for each)
  • interactive - Full control with skip, ignore, and batch options

Valid categories: critical, major, standards, smell, edge_case, architectural, all

If CLI flags are provided, use them and skip config file checks for those specific options.

Check Project Config

Read .candid/config.json and extract the loop field:

jq -r '.loop // null' .candid/config.json 2>/dev/null

If the loop field exists:

  • Extract mode if not set by CLI
  • Extract maxIterations if not set by CLI
  • Extract enforceCategories if not set by CLI
  • Extract ignored object (categories, patterns, ids)

Output when loading from config: Using loop settings from project config

Check User Config

Same procedure for ~/.candid/config.json if project config doesn't have loop field.

Output when loading from user config: Using loop settings from user config

Apply Defaults

For any options not set by CLI or config:

mode = "auto"
maxIterations = 5
enforceCategories = ["all"]
ignored = { categories: [], patterns: [], ids: [] }

Step 2: Initialize Loop State

Set up tracking variables:

iteration = 0
totalFixesApplied = 0
allFixedIssues = []
registerQuestionsRaised = 0
registerQuestionsResolved = 0
registerPriorDecisionsApplied = 0

Display mode banner:

Auto mode:

[Auto Mode] Running candid-loop with max [N] iterations...

Review-each mode:

[Review-Each Mode] Running candid-loop with max [N] iterations...
You will review each fix one by one.

Interactive mode:

[Interactive Mode] Running candid-loop with max [N] iterations...
Full control: skip, ignore, or batch process fixes.

Step 3: Run Review Loop

Execute the main loop:

WHILE iteration < maxIterations:
    iteration++

    Execute Step 3.1 through Step 3.6

    IF exitLoop == true:
        BREAK

IF iteration >= maxIterations AND remainingIssues > 0:
    Output warning: "Max iterations ([N]) reached. [M] issues remain."
    List remaining issues
Step 3.1: Run candid-review

Display iteration header:

[Iteration [N]/[MAX]]
Running candid-review...

Invoke the candid-review skill to analyze current code:

  • Use the Skill tool to run /candid-review
  • Pass through tone settings if configured
  • Wait for review to complete and save state to .candid/last-review.json

Note: candid-review will present its own fix selection prompt. In auto mode, we need to handle this by selecting "Apply all fixes". In interactive mode, we defer to the user's choices within candid-review.

Decision Register: If the decision register is enabled in config, each candid-review iteration reads and updates the register file independently. This means:

  • Questions raised in iteration 1 are recorded in the register
  • In iteration 2+, candid-review checks the register before raising the same question again
  • If a question was answered in a previous iteration, the answer is reused automatically
  • In auto mode, Clarification Needed issues with prior answers from the register are applied without prompting
Step 3.2: Read Review Results

After candid-review completes, read the saved review state:

cat .candid/last-review.json 2>/dev/null

Parse the JSON to extract:

  • issues array with all found issues
  • Each issue has: id, file, line, category, title, description

If file doesn't exist or is empty:

No review state found. candid-review may not have completed.

Exit with error.

Step 3.3: Filter Issues by Category

If enforceCategories is NOT ["all"]:

Filter the issues array to only include issues matching enforceCategories:

filteredIssues = issues.filter(issue =>
    enforceCategories.includes(issue.category)
)

Category mapping:

  • critical → issues with category "critical"
  • major → issues with category "major"
  • standards → issues with category "standards"
  • smell → issues with category "smell"
  • edge_case → issues with category "edge_case"
  • architectural → issues with category "architectural"

Output: Enforcing categories: [list]. Filtered to [N] issues.

Step 3.4: Filter Out Ignored Issues

Apply the ignored filters from config:

1. Filter by ignored categories:

filteredIssues = filteredIssues.filter(issue =>
    !ignored.categories.includes(issue.category)
)

2. Filter by ignored patterns (regex match on title):

filteredIssues = filteredIssues.filter(issue =>
    !ignored.patterns.some(pattern =>
        new RegExp(pattern, 'i').test(issue.title)
    )
)

3. Filter by ignored IDs:

filteredIssues = filteredIssues.filter(issue =>
    !ignored.ids.includes(issue.id)
)

If any issues were filtered:

Filtered out [N] ignored issues ([M] remaining)
Step 3.5: Check for Completion

If filteredIssues.length === 0:

[Iteration [N]/[MAX]] No issues found!

exitLoop = true

Skip to Step 4 (Summary).

Step 3.6: Handle Issues Based on Mode

If mode == "auto":

Display found issues:

[N/MAX] Found [M] issues. Applying fixes...

The candid-review skill will have already applied fixes if the user selected "Apply all fixes" in its prompt. Since we're in auto mode, we should have configured candid-review to auto-apply.

For each issue that was fixed, log:

      ✓ [icon] Fixed: [title] in [file]:[line]

Track fixes:

totalFixesApplied += appliedCount
allFixedIssues.push(...appliedIssues)

Decision Register in auto mode:

If the decision register is enabled, candid-review handles register consultation during its Step 6 (before raising Clarification Needed questions). In auto mode:

  • Prior decisions from the register are applied automatically by candid-review — log: Applied prior decision (#N) for [file]
  • New Clarification Needed issues (no prior answer) are NOT auto-applied — they require human input and are recorded as open in the register
  • These are treated as "skipped" in the loop — they do not count as remaining issues that block loop completion
  • Output: Applied [N] prior decisions, skipped [M] new questions requiring clarification

Track register activity:

registerPriorDecisionsApplied += priorDecisionsCount
registerQuestionsRaised += newQuestionsCount
registerQuestionsResolved += resolvedCount

Where resolvedCount comes from candid-review's Step 10.5 output — it includes questions answered by the user during Phase 8b and auto-resolutions from re-review. Read the register file after each iteration to count newly resolved entries compared to the previous read.

Continue to next iteration.

If mode == "review-each":

Go through each fix one by one with simple Yes/No prompts.

Display found issues:

[N/MAX] Found [M] issues. Reviewing each...

For each issue, use AskUserQuestion:

[1/M] [icon] [title]
File: [file]:[line]
Problem: [description]

Question: "Apply this fix?"

Options:

  1. "Yes, apply this fix"
  2. "No, skip this fix"

Track user choices:

  • If "Yes" → Apply the fix, increment totalFixesApplied
  • If "No" → Continue to next issue

After processing all issues, if any fixes were applied, continue to next iteration.

If mode == "interactive":

Full control mode with additional options for skipping, ignoring, and batch processing.

Display found issues:

Found [M] issues:

For each issue, use AskUserQuestion:

[1/M] [icon] [title]
File: [file]:[line]
Problem: [description]

Question: "How would you like to handle this issue?"

Options:

  1. "Apply fix" - Apply this fix and continue
  2. "Skip" - Skip this issue and continue to next
  3. "Add to ignore list" - Add this issue ID to ignored.ids and skip
  4. "Skip all remaining" - Exit the loop with remaining issues listed

Track user choices:

  • If "Apply fix" → Apply the fix, increment totalFixesApplied
  • If "Skip" → Continue to next issue
  • If "Add to ignore list" → Add issue.id to ignored.ids in config, continue
  • If "Skip all remaining" → Set exitLoop = true, break inner loop

After processing all issues in interactive mode, if any fixes were applied, continue to next iteration.

Step 3.7: Update Ignore List (If Requested)

If user chose "Add to ignore list" for any issues:

  1. Read current .candid/config.json (or create if doesn't exist)
  2. Add issue IDs to loop.ignored.ids array
  3. Write updated config back to file
# Read, modify, write
jq '.loop.ignored.ids += ["issue-id-1", "issue-id-2"]' .candid/config.json > tmp.json
mv tmp.json .candid/config.json

Output: Added [N] issues to ignore list in.candid/config.json

Step 4: Display Summary

After loop exits (success or max iterations), display final summary:

Success (no issues remaining):

Candid Loop Complete

Summary:
- Iterations: [N]
- Issues fixed: [M]
- Status: PASS

Your code is clean!

Max iterations reached:

Candid Loop Stopped

Summary:
- Iterations: [N] (max reached)
- Issues fixed: [M]
- Issues remaining: [P]
- Status: INCOMPLETE

Remaining issues:
  [icon] [title] in [file]:[line]
  [icon] [title] in [file]:[line]
  ...

Consider:
- Increasing --max-iterations
- Adding persistent ignores for false positives
- Manually reviewing complex issues

User cancelled (interactive mode):

Candid Loop Cancelled

Summary:
- Iterations: [N]
- Issues fixed: [M]
- Issues skipped: [P]
- Status: CANCELLED

Skipped issues:
  [icon] [title] in [file]:[line]
  ...

Decision Register section (add to all summary variants when register is enabled):

If decisionRegister.enabled == true in config, append this section to whichever summary is displayed:

Decision Register:
- Prior decisions applied: [N]
- New questions raised: [M]
- Questions resolved: [P]
- Open questions: [Q]

If open questions remain:

Open questions can be reviewed at: [registerPath]/review-decision-register.md

Configuration

Config File Schema

Add to .candid/config.json:

{
  "version": 1,
  "tone": "harsh",
  "loop": {
    "mode": "auto",
    "maxIterations": 5,
    "enforceCategories": ["all"],
    "ignored": {
      "categories": [],
      "patterns": [],
      "ids": []
    }
  }
}

Field Descriptions

FieldTypeDefaultDescription
loop.modestring"auto""auto", "review-each", or "interactive"
loop.maxIterationsnumber5Maximum review-fix cycles
loop.enforceCategoriesarray["all"]Categories to enforce
loop.ignored.categoriesarray[]Categories to skip entirely
loop.ignored.patternsarray[]Regex patterns to match issue titles
loop.ignored.idsarray[]Specific issue IDs to skip

Examples

Ignore all edge cases and architectural issues:

{
  "loop": {
    "ignored": {
      "categories": ["edge_case", "architectural"]
    }
  }
}

Ignore issues mentioning Unicode or timezone:

{
  "loop": {
    "ignored": {
      "patterns": ["Unicode", "timezone", "DST"]
    }
  }
}

Only enforce critical and major issues:

{
  "loop": {
    "enforceCategories": ["critical", "major"]
  }
}

CLI Examples

# Run with defaults (auto mode, all categories, max 5 iterations)
/candid-loop

# Review-each mode - go through each fix one by one (Yes/No)
/candid-loop --mode review-each

# Interactive mode - full control with skip, ignore, batch options
/candid-loop --mode interactive

# Limit iterations
/candid-loop --max-iterations 3

# Only fix critical issues
/candid-loop --categories critical

# Fix critical and major issues
/candid-loop --categories critical,major

# Combine options
/candid-loop --mode review-each --max-iterations 10 --categories critical,major

Issue Categories Reference

CategoryIconDescription
critical🔥Production killers: crashes, security holes, data loss
major⚠️Serious problems: performance, missing error handling
standards📜Technical.md violations
smell📋Maintainability: complexity, duplication
edge_case🤔Unhandled scenarios: null, empty, concurrent
architectural💭Design concerns: coupling, SRP violations

Remember

The goal of candid-loop is to automate the review-fix cycle so you can quickly get your code to a clean state.

Mode selection:

  • auto - Fast iteration, applies all fixes automatically
  • review-each - Go through each fix one by one with simple Yes/No
  • interactive - Full control with skip, ignore list, and batch options

Best practices:

  • Start with auto mode for quick cleanup
  • Use review-each mode to understand what's being fixed
  • Use interactive mode when you need to ignore or skip specific issues
  • Add patterns to ignore list for known false positives
  • Keep maxIterations reasonable (5-10) to avoid infinite loops
  • Review the summary to understand what was fixed

平台分布

Codex

33.2%
按下载量换算86

Claude

30.94%
按下载量换算80

Cursor

20.15%
按下载量换算52

Gemini CLI

10.38%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills