archon-cli
Skill này làm gì
Skill này dạy agent AI dùng công cụ dòng lệnh Archon để bắt đầu các quy trình AI trên một dự án, theo dõi những lần chạy cần quyết định, và đọc kết quả chúng tạo ra. Skill dành cho lập trình viên dùng Archon để tự động hóa tác vụ lập trình.
Khi nào nên dùng
- ✓Khi bạn muốn Archon chạy một quy trình cho một tác vụ thật, chẳng hạn sửa một issue hoặc review một pull request.
- ✓Khi một lần chạy Archon đang chờ quyết định của bạn và bạn muốn trả lời.
- ✓Khi một quy trình Archon bị lỗi hoặc treo và bạn cần tìm nguyên nhân.
Liên kết skill
https://github.com/coleam00/Archon/blob/dev/.claude/skills/archon-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chạy archon để sửa issue #42 trong repo này, và báo cho tôi khi nó cần quyết định.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn quy trình phù hợp, khởi chạy, theo dõi quá trình chạy và chuyển cho bạn mọi câu hỏi cần trả lời. Dự án Git mặc định chạy trong các worktree riêng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 doctorfails, start withsetup/setup-and-config.md.
The operating loop
Discover.
archon workflow list --jsongives compact descriptions. For each plausible candidate, read the full description witharchon workflow list <name> --full. Choose from full descriptions, never from names you remember.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.mdhas the full check.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> --detachWatch 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 installEach line is JSON.
attentionmeans a run needs a decision,resolvedmeans it no longer does, andterminalmeans a run ended. Act on the line, then keep reading.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.mdcovers every form.Read the result. A completed run is not a verdict.
archon workflow get <run-id> --jsongives the normalizedoutcomeandleave_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 foregroundrespondorresumecontinues the run inside your shell, and closing the shell stops it. - One watcher, not one per run. One
workflow attention --watchstream covers every run in scope, including runs that triggers or other sessions start. Aworkflow 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 cancelstops 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
Câu hỏi thường gặp
Nó có thay đổi trực tiếp các tệp dự án của tôi không?
Với dự án Git, các lần chạy diễn ra trong worktree cô lập theo mặc định. Dự án thư mục đã đăng ký chạy ngay tại chỗ.
Nó có giúp cài đặt Archon không?
Có. Skill bao gồm cài đặt và cấu hình, và cũng có thể giúp bạn viết hoặc thay đổi quy trình.
Nếu kiểm tra sức khỏe trên máy tôi bị lỗi thì sao?
Skill nói hãy bắt đầu với hướng dẫn cài đặt của nó khi lệnh archon doctor thất bại.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 24k
- Vị trí xếp hạng
- #10121
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
docker-extend
24kGiúp agent của bạn thêm công cụ riêng vào môi trường Docker của dự án mà không thay đổi các tệp được chia sẻ với nhóm.
playwright-cli
24kGiúp agent của bạn điều khiển trình duyệt web để mở trang, bấm, gõ, chụp snapshot và kiểm tra cách một trang web hoạt động.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.