quickstart

द्वारा anthropic

इस रिपॉजिटरी का मुख्य द्वार। बिना किसी तर्क के: 30 सेकंड का परिचय, फिर कैनरी लक्ष्य पर आपकी पहली रन के माध्यम से आपको ले जाने का प्रस्ताव। एक प्रश्न के साथ:…

npx skills add https://github.com/anthropics/defending-code-reference-harness --skill quickstart

/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 firstThen offer
running the pipelinedocs/pipeline.md, README Step 2the recon / run command
too many findings, triagedocs/triage.md/triage <path>
porting, Java/Go/Rust/etc.docs/customizing.md, README Step 3/customize
safety, sandbox, Dockerdocs/security.mdcite; no action
rate limits, 429, token budgetdocs/pipeline.md: Rate limits, docs/troubleshooting.md#rate-limitscite the numbers
duplicates, dedupdocs/troubleshooting.md#duplicate-findingsknown_bugs: hint
CLI flags, "what does --X do"harness/cli.py (grep the argparse)exact flag + example
which model, subagent pinningdocs/troubleshooting.md: Subagentsthe export line
best practices, promptingdocs/best-practices.md, docs/prompting.mdcite the principle
threat model, attack surface, scopedocs/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 1offer Guided first run
patching, fix, diff, re-attackdocs/patching.md, README Step 4/patch <input>
threat hunting, incident response, logsdocs/detection-response.md/dnr-hunt or /dnr-respond
autonomous D&R, dnrcanarydocs/detection-response.md, targets/dnrcanary/README.mdthe dnr-pipeline run command
binary, embedded, other domainsdocs/other-use-cases.mdcite section
anything elseREADME Table of contentsbest-match doc

Answer format

  1. Direct answer in 2-5 sentences.
  2. > source: the file(s) and section you used.
  3. Next action: one copy-pasteable command or skill invocation, if one applies. If none does, say so.
  4. If the question is ambiguous, ask one clarifying question; don't guess.

Constraints

  • Never fabricate CLI flags or file paths. If unsure, Grep for it in harness/cli.py or the target configs and quote what you find.
  • 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.

anthropic की और Skills

access
anthropic
Discord चैनल एक्सेस प्रबंधित करें — पेयरिंग स्वीकृत करें, अनुमति सूची संपादित करें, DM/ग्रुप नीति सेट करें। उपयोग तब करें जब उपयोगकर्ता पेयर करने, किसी को स्वीकृत करने, किसकी अनुमति है यह जाँचने के लिए कहे,…
official
session-report
anthropic
क्लाउड कोड सत्र उपयोग (टोकन, कैश, उप-एजेंट, कौशल, महंगे प्रॉम्प्ट) से ~/.claude/projects ट्रांसक्रिप्ट का एक अन्वेषणीय HTML रिपोर्ट तैयार करें।
official
build-mcp-server
anthropic
यह कौशल तब उपयोग किया जाना चाहिए जब उपयोगकर्ता "MCP सर्वर बनाएं", "MCP बनाएं", "MCP इंटीग्रेशन करें", "Claude के लिए API रैप करें", "टूल्स को एक्सपोज़ करें..." जैसी बात कहे।
official
cookbook-audit
anthropic
एन्थ्रोपिक कुकबुक नोटबुक का एक रूब्रिक के आधार पर ऑडिट करें। जब भी नोटबुक समीक्षा या ऑडिट का अनुरोध किया जाए, इसका उपयोग करें।
official
handle-complaint
anthropic
ग्राहक की शिकायत को शुरू से अंत तक संभालता है — संदर्भ खींचता है, प्रतिक्रिया का मसौदा तैयार करता है, और एक परिचालन सुधार सुझाता है। वैकल्पिक ईमेल या टिकट आईडी स्वीकार करता है…
official
use-case-triage
anthropic
शीघ्रता से निर्धारित करें कि किसी प्रसंस्करण गतिविधि के लिए PIA, अनिवार्य GDPR DPIA की आवश्यकता है या इसे आगे बढ़ाया जा सकता है — गोपनीयता नीति विरोधों को उजागर करता है और सही मार्ग पर ले जाता है…
official
board-minutes
anthropic
बोर्ड या समिति की बैठक के कार्यवृत्त आपके घरेलू प्रारूप में तैयार करता है। आपके कैलेंडर से आगामी बोर्ड और समिति की बैठकों का स्वतः पता लगाता है, एजेंडा मांगता है और…
official
renewal-tracker
anthropic
नवीनीकरण रजिस्टर से काम करते हुए, आगामी रद्दीकरण-द्वारा समय सीमा वाले अनुबंध दिखाएँ और नोटिस विंडो बंद होने से पहले चेतावनी दें। उपयोग तब करें जब उपयोगकर्ता पूछे…
official