跳到正文
Skillpedia
智能体24k · #10121

archon-cli

它能做什么

这项技能教 AI 智能体使用 Archon 命令行工具,在项目上启动 AI 工作流,跟踪需要做出决定的运行,并读取其产出的结果。适合使用 Archon 自动化编码任务的开发者。

适用场景

  • ✓当你希望 Archon 在真实任务上运行工作流时,例如修复问题或审查拉取请求。
  • ✓当某次 Archon 运行正在等待你的决定,而你想作出回应时。
  • ✓当 Archon 工作流失败或卡住,你需要查明原因时。

技能链接

https://github.com/coleam00/Archon/blob/dev/.claude/skills/archon-cli/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/coleam00/Archon/blob/dev/.claude/skills/archon-cli/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在这个仓库中运行 archon 修复 42 号问题,并在需要决定时告诉我。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会选择合适的工作流,启动它,监控运行过程,并转达所有需要你回答的问题。Git 项目默认在独立的工作树(worktree)中运行。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Archon CLI

Archon runs multi-step AI workflows through the archon CLI. Git projects run in isolated worktrees by default; registered folder projects run in place. You sit on top of the runs: you write the brief, launch, watch one stream, answer the decisions that reach you, and read what each run left behind.

Route by intent:

The user wants to... Read
Run a workflow on real work operate/running.md
Inspect, answer, cancel or resume runs operate/managing-runs.md
Drive the SDLC pack's queues operate/queues.md
Find out why a run failed or hangs operate/troubleshooting.md
Set up Archon or change config setup/setup-and-config.md
Author or change a workflow authoring/authoring-workflows.md (then node-reference.md and variables.md in the same folder)
Improve a node prompt or a run message authoring/prompting-mistakes.md
  • When the intent is clear ("build me a workflow for X", "run archon-ship on issue #42"), go straight to the reference. Do not ask.
  • When it is ambiguous, ask which of these the user wants.
  • On a machine where archon doctor fails, start with setup/setup-and-config.md.

The operating loop

  1. Discover. archon workflow list --json gives compact descriptions. For each plausible candidate, read the full description with archon workflow list <name> --full. Choose from full descriptions, never from names you remember.

  2. Check the brief. The message, issue body or document the run reads is the contract the run is measured against. It must state the problem, why it is worth solving, why now, the desired outcome, the invariants and the acceptance. If any is missing, say which, propose wording, and get the user's agreement before launching. operate/running.md has the full check.

  3. Launch detached. Pass the work as a message, the workflow's declared inputs with --input, or both:

    archon workflow run <workflow> --branch <branch-name> "<the work>" --detach
    archon workflow run <workflow> --input <name>=<value> --input <name>=<value> --detach
    
  4. Watch once. Run one stream as a background task of your harness, however many runs you launched:

    archon workflow attention --watch --json        # this project; add --all for the install
    

    Each line is JSON. attention means a run needs a decision, resolved means it no longer does, and terminal means a run ended. Act on the line, then keep reading.

  5. Answer deliberately. Read the item's question, its recommendation and the evidence it links. Answer with a reason, detached: archon workflow respond <run-id> <decision> "<reason>" --detach. operate/managing-runs.md covers every form.

  6. Read the result. A completed run is not a verdict. archon workflow get <run-id> --json gives the normalized outcome and leave_behind.artifactFiles. Read the report before telling the user what the run concluded.

Hard rules

  • Never launch on a thin brief. A weak input does not produce a weak result. It produces a confident, well-formed answer to the wrong question, at full price.
  • Launch and answer with --detach. A detached run starts its own session and survives your shell. A foreground respond or resume continues the run inside your shell, and closing the shell stops it.
  • One watcher, not one per run. One workflow attention --watch stream covers every run in scope, including runs that triggers or other sessions start. A workflow wait <run-id> per run is fine for one or two runs; with dozens it contends for the database.
  • Stop work only when you mean to end it. archon workflow cancel stops the run mid-node, and that node's provider session and unsaved work are lost. Let a run reach its next pause or end when you only want to stop launching more. When one turn is stuck on a tool or background command that never finishes, archon workflow end-turn <run-id> ends that turn and keeps the run (operate/managing-runs.md, "A stalled turn").
  • Merge only what was reviewed. When you merge a pull request by hand, pin the merge to the reviewed head (gh pr merge <n> --match-head-commit <sha>), read the open review threads first, and sync your checkout afterwards.
  • Author agent-first. In a workflow you write, an agent node with typed output judges, scripts read facts and act at boundaries, and YAML only wires t
常见问题

它会直接修改我的项目文件吗?

对于 Git 项目,默认在隔离的工作树中运行。已注册的文件夹项目则直接在原位置运行。

它能帮忙设置 Archon 吗?

能。技能涵盖安装和配置,也可以帮你编写或修改工作流。

如果我电脑上的健康检查失败怎么办?

技能说明,当 archon doctor 检查失败时,应从其设置指南开始。

详情

作者的原始描述

Drive Archon through its CLI: run AI workflows on a repo, watch and answer the runs that need a decision, drive the SDLC pack's queues (intake, build queue, merge queue, discoveries), set up Archon or change its config, and author and validate workflows. Use when the user says "use archon", "run archon", "archon workflow", "fix issue #N with archon", "have archon review this PR", "what's running / check run <id>", "approve/reject/answer/cancel/resume that run", "run the build queue", "drain discoveries", "set up archon", "configure archon", "change my archon config", "create a workflow", "auth

repo: coleam00/Archon

热度

GitHub 星标
24k
排名
#10121
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能