Token导航 LogoToken导航

Agent Skill · 开发

archon(archon 搜索)

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

archon 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 14,204。

总安装 734周安装 30GitHub Stars 20,111下载 235核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/coleam00/archon --skill archon

这个 Skill 是做什么的

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

archon 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。适用于需要分析项目结构、追踪代码变更或管理开发流程的 Agent 任务场景。

通过 shell 命令与本地 Git 环境交互,支持工作流创建、配置管理和自动化脚本执行。安装前需确认权限范围、维护状态,并注意其包含可能执行系统命令的指令,建议仔细审查后再部署。archon 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/archon

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

archon 怎么安装?

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

archon 支持哪些 AI 工具?

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

archon 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/coleam00/archon --skill archon 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

archon 是免费的吗?

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

archon 用的人多吗?

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

archon 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 20,111 星,维护活跃度相对可查。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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有提醒
archon

archon 搜索 · 本页

73420,111执行命令未明确有提醒

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

SKILL.md 原文

Archon CLI Skill

Archon is a remote agentic coding platform that runs AI workflows in isolated git worktrees. This skill teaches you how to run workflows, create new workflows and commands, and manage Archon configuration.

Available Workflows (live)

!archon workflow list 2>&1 || echo "Archon CLI not installed. Read guides/setup.md to set it up."

Routing

Determine the user's intent and dispatch to the appropriate guide:

IntentAction
Setup / install / "how to use"Read guides/setup.md — interactive setup wizard
Config / settingsRead guides/config.md — interactive config editor
Initialize.archon/ in a repoRead references/repo-init.md
Create a workflowRead references/workflow-dag.md — the complete workflow authoring guide
Quick parameter lookup — which field works on which node typeRead references/parameter-matrix.md — master matrix, intent-based lookup, silent-failure catalog
Advanced features (hooks/MCP/skills)Read references/dag-advanced.md
Create a command fileRead references/authoring-commands.md
Variable substitution referenceRead references/variables.md
CLI command referenceRead references/cli-commands.md
Run an interactive workflowRead references/interactive-workflows.md — transparent relay protocol
Workflow good practices / anti-patternsRead references/good-practices.md — read before designing a non-trivial workflow
Troubleshoot a failing / stuck workflowRead references/troubleshooting.md — log locations, common failure modes
Run a workflow (default)Continue with "Running Workflows" below

If the intent is ambiguous, ask the user to clarify.


Richer Context: archon.diy

The references in this skill are a distilled subset. The full, canonical docs live at archon.diy (Starlight site from packages/docs-web/). If the skill's reference pages don't cover what you need — an edge case, a worked example, a diagram, a deeper section on a feature — fetch the matching page from archon.diy.

When to reach for the live docs

  • You need an end-to-end example that's longer than what the skill shows (e.g. full patterns for hooks, MCP config, sandbox schema, approval flows)
  • You're explaining a concept to the user and want the most readable framing (the book/ series is written as a tutorial, not a reference)
  • You hit a feature the skill only mentions in passing (e.g. agents: inline sub-agents, advanced Codex options, the full SyncHookJSONOutput schema)
  • The user asks "where is this documented?" — point them at the archon.diy URL, not a skill file path

URL map

TopicURL
Landing + installarchon.diy
Getting started (installation, quick start, concepts)archon.diy/getting-started/
The book (tutorial-style walkthrough)archon.diy/book/
Workflow authoring guidearchon.diy/guides/authoring-workflows/
Command authoring guidearchon.diy/guides/authoring-commands/
Node type guidesarchon.diy/guides/loop-nodes/, /approval-nodes/, /script-nodes/
Per-node features (Claude only)/hooks/, /mcp-servers/, /skills/
Global workflows/commands/scriptsarchon.diy/guides/global-workflows/
Variables referencearchon.diy/reference/variables/
CLI referencearchon.diy/reference/cli/
Security model (env, sandbox, target-repo .env stripping)archon.diy/reference/security/
Architecturearchon.diy/reference/architecture/
Configuration (.archon/config.yaml full schema)archon.diy/reference/configuration/
Troubleshootingarchon.diy/reference/troubleshooting/
Adapter setup (Slack/Telegram/GitHub/Web/Discord/Gitea/GitLab)archon.diy/adapters/
Deployment (Docker, cloud, Windows)archon.diy/deployment/

URL shape is archon.diy/<section>/<page>/ — the paths mirror the filenames under packages/docs-web/src/content/docs/.

Precedence

This skill's reference pages are the primary source for routine workflow authoring, CLI use, and setup. Reach for archon.diy when the skill is incomplete for your case — don't go to the live docs first by default (skill refs load into context faster and are tuned for agents).


Running Workflows

Core Command

archon workflow run <workflow-name> --branch <branch-name> "<message>"

CRITICAL RULES:

  1. Always run in background — Archon workflows are long-running. Always invoke the Bash tool with run_in_background: true. Use /tasks or the TaskOutput tool to check on progress.
  2. Always use worktree isolation — Use the --branch flag unless the user explicitly requests otherwise. This creates an isolated environment so Archon works without affecting the main branch.
  3. One workflow per shell — Each workflow blocks its shell. Run multiple workflows as separate background tasks.

Isolation Modes

ModeFlagWhen to Use
Worktree (Default)--branch <name>Always use this unless told otherwise
Custom start-point--branch <name> --from <base>Start from a specific branch
Direct checkout--no-worktreeOnly if user explicitly requests no isolation
Resume failed run--resumeResume from the last failure point

Workflow Selection

Match the user's intent to a workflow from the live list above. Common patterns:

User IntentTypical WorkflowBranch Pattern
"Fix issue #X" / "Resolve bug"archon-fix-github-issuefix/issue-{N}
"Review PR #X" / "Full review"archon-comprehensive-pr-reviewreview/pr-{N}
"Quick review PR #X"archon-smart-pr-reviewreview/pr-{N}
"Validate PR #X" / "Check PR"archon-validate-prreview/pr-{N}
"Implement from plan"archon-feature-developmentfeat/{name}
"Plan and implement feature"archon-idea-to-prfeat/{name}
"Execute plan file"archon-plan-to-prfeat/{name}
"Run ralph" / "Implement PRD"archon-ralph-dagfeat/{name}
"Resolve conflicts"archon-resolve-conflictsresolve/pr-{N}
"Create issue" / "File a bug"archon-create-issueissue/{name}
"Review issue #X fully"archon-issue-review-fullreview/issue-{N}
"Refactor safely"archon-refactor-safelyrefactor/{name}
"Architecture review"archon-architectreview/{name}
"PIV loop" / "guided dev"archon-piv-loop ⚡piv/{name}
"Create a PRD" / "interactive PRD"archon-interactive-prd ⚡prd/{name}
General / debuggingarchon-assistassist/{description}

⚡ = Interactive workflow — requires the transparent relay protocol. Read references/interactive-workflows.md before running.

If no specific workflow matches, use archon-assist as the fallback. The live workflow list above is always authoritative — it may include workflows not in this table.

Multi-Issue Invocation

When the user mentions multiple issues, PRs, or tasks — run each as a separate background task:

# Each gets its own worktree — they won't conflict
archon workflow run archon-fix-github-issue --branch fix/issue-10 "Fix issue #10"
archon workflow run archon-fix-github-issue --branch fix/issue-11 "Fix issue #11"
archon workflow run archon-fix-github-issue --branch fix/issue-12 "Fix issue #12"

Never combine multiple issues into a single command.


Other CLI Commands

archon workflow list              # List all available workflows
archon workflow list --json       # Machine-readable JSON
archon isolation list             # Show active worktree environments
archon isolation cleanup          # Remove stale worktrees (default: 7 days)
archon isolation cleanup --merged # Remove branches merged into main
archon complete <branch>          # Complete branch lifecycle (remove worktree + branches)
archon version                    # Show version info

For the full CLI reference with all flags: Read references/cli-commands.md


Authoring Quick Start

Archon uses a single workflow format: nodes (DAG). Workflows are YAML files in .archon/workflows/.

IMPORTANT: The examples below are starting points. Always design the workflow around what the user actually needs — the number of nodes, their types, dependencies, and configuration should match the user's requirements, not these templates.

Workflow Structure

name: my-workflow
description: What this workflow does
provider: claude          # Optional: 'claude' or 'codex'
model: sonnet             # Optional: model override
nodes:
  - id: first-node
    command: my-command    # Loads .archon/commands/my-command.md
  - id: second-node
    prompt: "Use the output: $first-node.output"
    depends_on: [first-node]

Node Types

Each node has exactly ONE of: command, prompt, bash, script, loop, approval, or cancel.

Command node — runs a .archon/commands/*.md file:

- id: investigate
  command: investigate-issue

Prompt node — inline AI prompt:

- id: classify
  prompt: "Classify this issue: $ARGUMENTS"
  model: haiku
  allowed_tools: []

Bash node — shell script, no AI, stdout captured as output:

- id: fetch-data
  bash: "gh issue view 42 --json title,body"
  timeout: 15000

Script node — TypeScript/JavaScript (via bun) or Python (via uv), no AI, stdout captured as output:

- id: transform
  script: |
    const raw = process.argv.slice(2).join(' ') || '{}';
    console.log(JSON.stringify({ parsed: JSON.parse(raw) }));
  runtime: bun           # 'bun' (.ts/.js) or 'uv' (.py) — REQUIRED
  timeout: 30000         # Optional, ms, default 120000

# Or reference a named script from .archon/scripts/ or ~/.archon/scripts/
- id: analyze
  script: analyze-metrics   # loads .archon/scripts/analyze-metrics.py
  runtime: uv
  deps: ["pandas>=2.0"]     # Optional, uv only — 'uv run --with <dep>'

Loop node — iterates AI prompt until completion:

- id: implement
  loop:
    prompt: "Implement next story. When done: <promise>COMPLETE</promise>"
    until: COMPLETE
    max_iterations: 10
    fresh_context: true
    until_bash: "bun run test"    # Optional: exit 0 = done

Approval node — pauses the workflow for human review. Requires interactive: true at the workflow level for Web UI delivery:

interactive: true   # workflow level — required for web UI

nodes:
  - id: review-gate
    approval:
      message: "Review the plan above before proceeding."
      capture_response: true      # Optional: user's comment → $review-gate.output
      on_reject:                  # Optional: AI rework on rejection instead of cancel
        prompt: "Revise based on feedback: $REJECTION_REASON"
        max_attempts: 3           # Range 1-10, default 3
    depends_on: [plan]

Cancel node — terminates the workflow with a reason. Typically gated with when::

- id: stop-if-unsafe
  cancel: "Refusing to proceed: input flagged UNSAFE."
  depends_on: [classify]
  when: "$classify.output != 'SAFE'"

For the full authoring guide with all fields, conditions, trigger rules, and patterns: Read references/workflow-dag.md

Creating a Command File

Commands are .md files in .archon/commands/ containing AI prompt templates:

---
description: What this command does
argument-hint: <expected arguments>
---

# My Command

User request: $ARGUMENTS
Workflow artifacts: $ARTIFACTS_DIR

[Instructions for the AI agent]

For the full command authoring guide: Read references/authoring-commands.md

Key Variables

VariableDescription
$ARGUMENTSUser's input message
$ARTIFACTS_DIRPre-created directory for workflow artifacts
$BASE_BRANCHBase branch (auto-detected from git)
$WORKFLOW_IDUnique workflow run ID
$nodeId.outputOutput from upstream node

Full variable reference: Read references/variables.md

Advanced Features (Command/Prompt Nodes, Claude Only)

hooks (tool interception), mcp (external tool servers), skills (domain knowledge injection), output_format (structured JSON output), allowed_tools/denied_tools (tool restrictions).

For details: Read references/dag-advanced.md

Example Files

  • examples/dag-workflow.yaml — workflow with conditions, bash + script + loop nodes, structured output
  • examples/command-template.md — Command file skeleton with all variables

Example Interactions

User: "Use Archon to fix issue #42"

archon workflow run archon-fix-github-issue --branch fix/issue-42 "Fix issue #42"

User: "Have Archon review PR #15"

archon workflow run archon-comprehensive-pr-review --branch review/pr-15 "Review PR #15"

User: "Create a workflow that reviews code and runs tests" → Read references/workflow-dag.md and create a workflow with parallel review nodes.

User: "Make a workflow with conditional routing" → Read references/workflow-dag.md and create nodes with when: conditions and output_format.

User: "Write a command file for investigating bugs" → Read references/authoring-commands.md and create an .md file in .archon/commands/.

User: "Set up Archon in this repo" → Read references/repo-init.md to create the .archon/ directory structure.

User: "Initialize.archon and create a custom workflow" → First read references/repo-init.md, then the appropriate workflow reference.

平台分布

Codex

39.38%
按下载量换算93

Claude

28.57%
按下载量换算67

Cursor

20.55%
按下载量换算48

Gemini CLI

9.15%
按下载量换算22

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/coleam00/archon --skill archon 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills