一键导入
analyze-agent
Systematically analyze an AI agent's source code across 8 core + 4 optional platform dimensions and output structured analysis to docs/<agent>.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematically analyze an AI agent's source code across 8 core + 4 optional platform dimensions and output structured analysis to docs/<agent>.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Summarize blast radius, impacted services, and safe next actions.
Run uv, pytest, then lint in a predictable order.
Codex workflow adapter for this repository. Use when working in agent-cracker to translate Claude-style slash workflows into skill usage, remember manual checks that Claude hooks would normally perform, and keep docs/config/progress files in sync.
Audit MVP component, platform mechanism, and advanced mechanism coverage for analyzed agents, identifying gaps and suggesting next steps
Create a minimal reproduction demo for a specific mechanism from an analyzed AI agent (coding or platform)
Translate project documents between Chinese and English, supporting single files, directories, and batch modes while preserving formatting and domain terminology
| name | analyze-agent |
| description | Systematically analyze an AI agent's source code across 8 core + 4 optional platform dimensions and output structured analysis to docs/<agent>.md |
Deep-dive analysis of an AI agent's implementation. Reads the agent's source code from projects/<agent>/ and fills docs/<agent>.md using the 8+4 dimension template.
/analyze-agent <agent-name>
projects/<agent-name>/(run ./scripts/manage-submodules.sh add <agent-name> if not present)docs/<agent-name>.md should exist(run ./scripts/new-analysis.sh <agent-name> if not present)Analyze the agent across 8 core dimensions (always), plus 4 optional platform dimensions (when applicable).
Before starting analysis, check if this is a platform-level agent:
agents.yaml for type: agent-platform fieldIf the platform agent's core coding engine is another agent already analyzed (e.g., OpenClaw uses pi-agent):
docs/<core-agent>.md)README.md, setup.py/pyproject.toml/package.json, entry point files (main.py, __main__.py, index.ts, cli.ts)while, loop, run(), run_one(), step(), execute(). Trace from entry point to the core loop.@tool, @command), registries, command maps. List all available tools/commands.*prompt*, *system*, *template*. Find where prompts are assembled and sent to LLM.repomap, summary, compress, truncat.retry, error, exception, fallback, recover. Check how malformed LLM output is handled.docs/ directory. If this is the first agent analyzed, note "first agent" and compare with general patterns.channel, gateway, webhook, socket, route.memory, persist, store, vector, embed, session.permission, trust, sandbox, docker, cron, schedule, agent-to-agent.For each language ecosystem, use these heuristics to find critical files:
Python agents:
**/main.py, **/__main__.py, **/cli.pysetup.py, pyproject.toml, setup.cfg**/agent.py, **/coder*.py, **/runner.pyTypeScript/JavaScript agents:
**/index.ts, **/main.ts, **/cli.tspackage.json, tsconfig.json**/agent.ts, **/core/**, **/lib/**Rust agents:
**/main.rs, **/lib.rsCargo.toml**/agent/**, **/core/**docs/<agent-name>.md; for platform agents, also fill D9-D12<!-- comment --> placeholders and replace with actual contentCreate or update the demo overview at demos/<agent-name>/README.md using the template from demos/TEMPLATE/AGENT_OVERVIEW.md(三段式或四段式结构):
Update agents.yaml: change the agent's status from pending to in-progress(分析完成但还没创建 demo)or done(全部完成)
Stamp analyzed commit: read projects/<agent-name>/ HEAD (git -C projects/<agent-name> rev-parse HEAD), update agents.yaml with analyzed_commit and analyzed_date (today's date), and update docs/<agent-name>.md header's > Analyzed at commit: line
Run npm run progress to update the CLAUDE.md progress section (or it will auto-update on next commit)
Check cross-agent comparison coverage: scan all other docs/*.md files (excluding TEMPLATE.md) that have completed analysis. List which docs' Dimension 8 sections do NOT reference the newly analyzed agent. Print a reminder like:
以下文档的跨 Agent 对比(Dimension 8)尚未引用 ,建议运行
/sync-comparisons:
- docs/aider.md
- docs/pi-agent.md