跳到正文
Skillpedia
安全7.7k · #13104

quickstart

它能做什么

这项技能是一套安全扫描工具的入口。它提供简短的介绍,并基于项目自身的文档回答问题。适合刚接触该工具包的人。

适用场景

  • ✓当你刚接触这套安全工具包,想知道从哪里开始的时候。
  • ✓当你对工具包中某个工具的工作方式有疑问的时候。
  • ✓当你想知道接下来应该运行哪条命令的时候。

技能链接

https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/quickstart/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/defending-code-reference-harness/blob/main/.claude/skills/quickstart/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我刚接触这套安全工具包。你能一步步告诉我,怎样运行第一次扫描吗?”

每周 5 个新技能,1 分钟读完。

工作原理

如果没有具体问题,智能体会给出简短概览,并提议进行一次引导式的首次运行。如果有问题,它会在项目文档和源代码中查找,并指出下一条命令。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

/quickstart

Two modes, picked by whether $ARGUMENTS is empty.

  • Empty → Intro mode. Short orientation, then offer the guided first run.
  • Non-empty → Help mode. Treat $ARGUMENTS as the operator's question.

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 export CLAUDE_CODE_SUBAGENT_MODEL=<model-id> so subagents use the same model as the session.

Then AskUserQuestion with three options:

  1. Walk me through Day 1 on the canary (~10 min) → run "Guided first run" below.
  2. I have a question → ask what it is, then switch to Help mode.
  3. I'll read the README → point at README.md Step 1 and stop.

Guided first run

Runs the three Step-1 skills on targets/canary, pausing after each to show what landed on disk. These only read/write files in the repo; no sandbox needed.

  1. /threat-model bootstrap targets/canary via Task. When done, open THREAT_MODEL.md, show the focus areas, explain in 2-3 sentences how this steers the scan.
  2. /vuln-scan targets/canary via Task. When done, open targets/canary/VULN-FINDINGS.md, summarize the count and top 2-3 findings, point at VULN-FINDINGS.json.
  3. /triage targets/canary/VULN-FINDINGS.json via Task. When done, open TRIAGE.md, explain what changed vs. raw findings (verified, deduped, re-ranked).

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 vuln-pipeline or anything that executes target code here; that's Step 2 and needs Docker + a sandbox.


Help mode

Answer the operator's question using this repo as ground truth: README, docs/*.md, harness/*.py, dnr_harness/*.py, targets/*/config.yaml, .claude/skills/*. Don't answer from general knowledge when the repo has a specific answer.

Routing map

If the question is about… Read first Then offer
running the pipeline docs/pipeline.md, README Step 2 the recon / run command
too many findings, triage docs/triage.md /triage <path>
porting, Java/Go/Rust/etc. docs/customizing.md, README Step 3 /customize
safety, sandbox, Docker docs/security.md cite; no action
rate limits, 429, token budget docs/pipeline.md: Rate limits, docs/troubleshooting.md#rate-limits cite the numbers
duplicates, dedup docs/troubleshooting.md#duplicate-findings known_bugs: hint
CLI flags, "what does --X do" harness/cli.py (grep the argparse) exact flag + example
which model, subagent pinning docs/troubleshooting.md: Subagents the export line
best practices, prompting docs/best-practices.md, docs/prompting.md cite the principle
threat model, attack surface, scope docs/threat-model.md /threat-model bootstrap <target-dir>
scan, audit, find vulns .claude/skills/vuln-scan/SKILL.md /vuln-scan <target-dir>
"how do I start" README Step 1 offer Guided first run
patching, fix, diff, re-attack docs/patching.md, README Step 4 /patch <input>
threat hunting, incident response, logs docs/detection-response.md /dnr-hunt or /dnr-respond
autonomous D&R, dnrcanary docs/detection-response.md, targets/dnrcanary/README.md the dnr-pipeline run command
binary, embedded, other domains `
常见问题

引导式首次运行做什么?

它会带你在工具包自带的示例目标上完成一次首次运行。

它会从互联网上找答案吗?

不会。它只根据工具包自身的文档和源代码回答,并注明查阅的位置。

我需要是专家吗?

不需要。它是为新用户编写的入门介绍。

详情

作者的原始描述

The front door for this repo. With no argument: a 30-second intro, then an offer to walk you through your first run on the canary target. With a question: answers it from this repo's own docs and source, cites where it looked, and hands you the next command. Use for "how do I…", "why does…", "where is…", "can this…", or just "/quickstart" to get oriented.

repo: anthropics/defending-code-reference-harness

热度

GitHub 星标
7.7k
排名
#13104
许可证
—
更新时间
2026/8/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能