원클릭으로
create-demo
Create a minimal reproduction demo for a specific mechanism from an analyzed AI agent (coding or platform)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a minimal reproduction demo for a specific mechanism from an analyzed AI agent (coding or platform)
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.
Systematically analyze an AI agent's source code across 8 core + 4 optional platform dimensions and output structured analysis to docs/<agent>.md
Audit MVP component, platform mechanism, and advanced mechanism coverage for analyzed agents, identifying gaps and suggesting next steps
Translate project documents between Chinese and English, supporting single files, directories, and batch modes while preserving formatting and domain terminology
| name | create-demo |
| description | Create a minimal reproduction demo for a specific mechanism from an analyzed AI agent (coding or platform) |
Create a standalone, minimal demo that reproduces a single core mechanism from an analyzed AI agent. Supports both coding agent mechanisms (D2-D7) and platform mechanisms (D9-D12).
/create-demo <agent-name> <mechanism>
Example: /create-demo aider repomap
Example: /create-demo openclaw channel-router
docs/<agent-name>.md (run /analyze-agent first)Read docs/<agent-name>.md and identify the target mechanism:
Apply these simplification principles:
Create demos/<agent-name>/<mechanism>/ with the structure matching the chosen language:
Python:
demos/<agent-name>/<mechanism>/
├── README.md # From template, filled in
├── requirements.txt # Only if external deps needed (not for stdlib-only demos)
├── main.py # Entry point (or split into logical modules)
└── sample_*/ # Sample data/project if needed for demonstration
TypeScript:
demos/<agent-name>/<mechanism>/
├── README.md # From template, filled in
├── package.json # Dependencies
├── tsconfig.json # TypeScript config
├── main.ts # Entry point
└── sample_*/ # Sample data/project if needed for demonstration
Rust:
demos/<agent-name>/<mechanism>/
├── README.md # From template, filled in
├── Cargo.toml # Project config & dependencies
├── src/
│ └── main.rs # Entry point
└── sample_*/ # Sample data/project if needed for demonstration
Use the template from demos/TEMPLATE/README.md and fill in:
基于 commit: <short-sha> and 核心源码: <原项目中对应的文件路径> (the source path is used by /check-updates to match changes)Guidelines:
| 语言 | 版本要求 | 运行工具 | 运行方式 | LLM 库 | 模型变量 |
|---|---|---|---|---|---|
| Python | ≥3.10 | uv | uv run --with <deps> python main.py | litellm | DEMO_MODEL |
| TypeScript | Node ≥18 | npx | npx tsx main.ts | openai SDK | DEMO_MODEL |
| Rust | stable | cargo | cargo run | reqwest | DEMO_MODEL |
When all MVP component demos (and platform mechanism demos if applicable) for an agent are complete, create a combined integration demo:
demos/<agent>/mini-<agent>/模块提取约定:
prompt-assembly/assembler.py)main.py 保留 demo 演示代码,从模块 import 核心类/函数sys.path 添加兄弟目录来 import 这些模块示例(aider):
# mini-aider/main.py
from assembler import PromptAssembler # ← prompt-assembly/
from parser import find_edit_blocks # ← search-replace/
from replacer import apply_edit # ← search-replace/
from parsers import generate_reflection # ← llm-response-parsing/
Run the demo and confirm:
The completed demo directory at demos/<agent-name>/<mechanism>/.
demos/<agent-name>/README.md: mark the mechanism as [x] and update the progress line. Format:
MVP: X/N | 进阶: Y/M | 串联: Z/1 | 总计: A/KMVP: X/N | 平台: P/Q | 进阶: Y/M | 串联: Z/1 | 总计: A/Kagents.yaml status if needed (e.g. pending → in-progress)npm run progress to update the CLAUDE.md progress section (or it will auto-update on next commit)基于 commit: <short-sha> (read from agents.yaml analyzed_commit). This provides a baseline for /check-updates demo impact assessment.