quickstart
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/quickstart
/quickstart
Two modes, picked by whether is empty.
$ARGUMENTS- Empty → Intro mode. Short orientation, then offer the guided first run.
- Non-empty → Help mode. Treat as the operator's question.
$ARGUMENTS
分为两种模式,根据是否为空来选择。
$ARGUMENTS- 空参数 → 介绍模式:简短的入门引导,然后提供首次运行的指导。
- 非空参数 → 帮助模式:将视为操作者的问题。
$ARGUMENTS
Intro mode
介绍模式
Keep it short and a little warm; this is the first thing a new operator sees.
Say roughly:
Welcome! This repo takes you from finding your first vulnerability to patching at scale, using a set of Claude Code skills and an autonomous pipeline. Two ways in: interactive skills (no setup, safe, start here) and the autonomous pipeline (Docker, scales to hundreds of parallel agents).The ramp-up:| Day 1 | Threat-model + first static scan + triage | | Day 2 | Run the reference pipeline (C/C++) | | Day 3-4 | Customize it for your stack | | Week 2 | Autonomous scanning, triage, and patching |Day-1 goal: threat-model, scan, and triage the bundled canary target. Most teams get there before lunch.
Remind them to so subagents
use the same model as the session.
export CLAUDE_CODE_SUBAGENT_MODEL=<model-id>Then AskUserQuestion with three options:
- Walk me through Day 1 on the canary (~10 min) → run "Guided first run" below.
- I have a question → ask what it is, then switch to Help mode.
- I'll read the README → point at Step 1 and stop.
README.md
内容要简短且亲切,这是新操作者看到的第一部分内容。
大致表述如下:
欢迎! 本仓库借助一系列Claude Code技能和自动化流水线,带你从发现首个漏洞到大规模修复漏洞。有两种使用方式:交互式技能(无需配置,安全可靠,从此处开始)和自动化流水线(基于Docker,可扩展至数百个并行agents)。学习进度安排:| 第1天 | 威胁建模 + 首次静态扫描 + 分类筛选 | | 第2天 | 运行参考流水线(C/C++) | | 第3-4天 | 针对你的技术栈进行定制 | | 第2周 | 自动化扫描、分类筛选和漏洞修复 |第1天的目标:对内置的canary目标进行威胁建模、扫描和分类筛选。大多数团队在午餐前就能完成。
提醒用户设置,这样子agents将使用与当前会话相同的模型。
export CLAUDE_CODE_SUBAGENT_MODEL=<model-id>然后通过AskUserQuestion提供三个选项:
- 引导我完成canary目标的第1天流程(约10分钟) → 运行下方的“首次运行引导”。
- 我有问题 → 询问具体问题,然后切换到帮助模式。
- 我要阅读README → 指向的步骤1并结束。
README.md
Guided first run
首次运行引导
Runs the three Step-1 skills on , pausing after each to show
what landed on disk. These only read/write files in the repo; no sandbox
needed.
targets/canary- via Task. When done, open
/threat-model bootstrap targets/canary, show the focus areas, explain in 2-3 sentences how this steers the scan.THREAT_MODEL.md - via Task. When done, open
/vuln-scan targets/canary, summarize the count and top 2-3 findings, point attargets/canary/VULN-FINDINGS.md.VULN-FINDINGS.json - via Task. When done, open
/triage targets/canary/VULN-FINDINGS.json, explain what changed vs. raw findings (verified, deduped, re-ranked).TRIAGE.md
Pause for the operator between each (AskUserQuestion); don't barrel through.
Close with a one-line recap of the three artifacts on disk, then point at
README Step 2 for the execution-verified pipeline. Never run
or anything that executes target code here; that's Step 2 and needs
Docker + a sandbox.
vuln-pipeline在上运行三个步骤1的技能,每个步骤完成后暂停,展示磁盘上生成的文件。这些操作仅读写仓库内的文件;无需沙箱。
targets/canary- 通过Task运行。完成后,打开
/threat-model bootstrap targets/canary,展示重点关注区域,用2-3句话解释这如何指导扫描工作。THREAT_MODEL.md - 通过Task运行。完成后,打开
/vuln-scan targets/canary,总结发现的漏洞数量和前2-3个主要漏洞,指向targets/canary/VULN-FINDINGS.md。VULN-FINDINGS.json - 通过Task运行。完成后,打开
/triage targets/canary/VULN-FINDINGS.json,解释与原始漏洞发现相比有哪些变化(已验证、去重、重新排序)。TRIAGE.md
每个步骤之间要等待操作者的确认(通过AskUserQuestion);不要连续执行。最后用一句话总结磁盘上生成的三个工件,然后指向README的步骤2以了解经过执行验证的流水线。此处绝对不要运行或任何执行目标代码的操作;那属于步骤2,需要Docker和沙箱。
vuln-pipelineHelp mode
帮助模式
Answer the operator's question using this repo as ground truth: README,
, , , .
Don't answer from general knowledge when the repo has a specific answer.
docs/*.mdharness/*.pytargets/*/config.yaml.claude/skills/*以本仓库内容为依据回答操作者的问题:包括README、、、、。当仓库中有具体答案时,不要用通用知识回答。
docs/*.mdharness/*.pytargets/*/config.yaml.claude/skills/*Routing map
路由映射
| If the question is about… | Read first | Then offer |
|---|---|---|
| running the pipeline | | the |
| too many findings, triage | | |
| porting, Java/Go/Rust/etc. | | |
| safety, sandbox, Docker | | cite; no action |
| rate limits, 429, token budget | | cite the numbers |
| duplicates, dedup | | |
| CLI flags, "what does --X do" | | exact flag + example |
| which model, subagent pinning | | the |
| best practices, prompting | | cite the principle |
| "how do I start" | README Step 1 | offer Guided first run |
| patching, fix, diff, re-attack | | |
| binary, pentest, other domains | | cite section |
| anything else | README Table of contents | best-match doc |
| 如果问题关于… | 优先查阅 | 然后提供 |
|---|---|---|
| 运行流水线 | | |
| 漏洞发现过多、分类筛选 | | |
| 移植、Java/Go/Rust等语言支持 | | |
| 安全性、沙箱、Docker | | 引用相关内容;无需操作 |
| 速率限制、429错误、令牌配额 | | 引用具体数值 |
| 重复漏洞、去重 | | 提示 |
| CLI参数、“--X有什么用” | | 精确的参数说明 + 示例 |
| 模型选择、子agent固定 | | 对应的 |
| 最佳实践、提示词设计 | | 引用相关原则 |
| “如何开始” | README步骤1 | 提供首次运行引导 |
| 漏洞修复、补丁、差异对比、复现攻击 | | |
| 二进制文件、渗透测试、其他领域 | | 引用相关章节 |
| 其他问题 | README目录 | 最匹配的文档 |
Answer format
回答格式
- Direct answer in 2-5 sentences.
- the file(s) and section you used.
> source: - Next action: one copy-pasteable command or skill invocation, if one applies. If none does, say so.
- If the question is ambiguous, ask one clarifying question; don't guess.
- 直接回答:2-5句话。
- 你参考的文件和章节。
> source: - 下一步操作:如果适用,提供一个可直接复制粘贴的命令或技能调用。如果不适用,说明情况。
- 如果问题模糊,提出一个澄清问题;不要猜测。
Constraints
约束条件
- Never fabricate CLI flags or file paths. If unsure, for it in
Grepor the target configs and quote what you find.harness/cli.py - If the repo doesn't answer the question, say so plainly and suggest the operator open a GitHub issue on this repo.
- Keep the Q&A dry and cited. Save the warmth for Intro mode.
- 绝对不要编造CLI参数或文件路径。如果不确定,在或目标配置文件中使用
harness/cli.py查找,并引用找到的内容。Grep - 如果仓库中没有问题的答案,直接说明,并建议操作者在本仓库的GitHub上提交issue。
- 问答过程要简洁并注明来源。亲切的语气仅用于介绍模式。