repo-audit
Skill2 starsChanged 25 days agoMITView on GitHub
4-option triage when you drop a GitHub repo URL. doc-mine / clone-audit / install-direct / park. Default to clone-audit for anything that touches credentials, filesystem, or the LLM context layer.
- Reads credentials
23 other projects use a version of this.
Adopted by
Most recently taken up by
- idaibin/skillstheir own version, first seen Nov 8, 2026
- TheVeller/claude-skillstheir own version, first seen Nov 2, 2026
- ekajaya740/skillstheir own version, first seen Nov 1, 2026
- DentalEdge-Solutions/claude_codetheir own version, first seen Nov 1, 2026
- zebbern/claude-code-guidetheir own version, first seen Oct 30, 2026
- sunitghub/canon-skillstheir own version, first seen Oct 22, 2026
Used with
Projects with it also use handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- zebbern/claude-code-guide★ 4.7ksame name
- Kanevry/session-orchestrator★ 53same name
- iuliandita/skills★ 11same name
- Megaprompting/torque-loop★ 10same name
- sunitghub/canon-skills★ 9same name
- idaibin/skills★ 6same name
- my-chiefmind/ai-maestro★ 6same name
- nikkogibler/cabinet★ 4same name
- TheVeller/claude-skills★ 4same name
- conorbronsdon/repo-audit★ 3same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- advisorSkill
- agent-dispatchSkill
- arenaSkill
- audit-pypi-model-packageSkill
- branching-workflowSkill
- code-reviewSkill
- criticSkill
- cron-child-oauth-auditSkill
- daily-forestSkill
- deep-researchSkill
- diagnose-cron-timeoutSkill
- dreamingSkill
- eod-summarySkill
- filingSkill
- forest-synthesisSkill
- goalsSkill
- graph-hygieneSkill
- ideaSkill
- inline-tagsSkill
- intel-analyzerSkill
- longformSkill
- loop-experimentSkill
- loop-librarySkill
- meta-memory-reviewSkill
- office-hoursSkill
- open-loopsSkill
- plan-ceo-reviewSkill
- plan-design-reviewSkill
- prdSkill
- progressive-disclosureSkill
- reality-feedback-createSkill
- reality-review-weeklySkill
- recallSkill
- reconcile-extractionSkill
- redactSkill
- research-digestSkill
- review-gateSkill
- run-long-job-detachedSkill
- saveSkill
- scopeSkill
- self-auditSkill
- shadow-test-local-classifierSkill
- signal-scorerSkill
- skill-auditSkill
- skill-chainingSkill
- spawn-agent-in-tenantSkill
- spawn-tenantSkill
- split-log-rows-by-session-kindSkill
- subagent-delegationSkill
- telegram-dump-routerSkill
- telegram-reply-toolSkill
- verify-stackSkill
- wave-planSkill
- weekly-retroSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 10 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When you drop a GitHub URL or ask about adopting an external repo, present a 4-option triage and run the recommended path.
- Very specific: line 44
If the verdict is INSTALL-DIRECT, run a pre-install standdown check + a dry-run install in a worktree first (per …
- Distinctive: line 55
Before ANY option, verify:
- Distinctive: line 61
Active sprint check: do NOT install during an active deal sprint (a major delivery window).
- Distinctive: line 63
If any check fails → SKIP all 4 options, recommend PARK or REJECT with a reason.
- Distinctive: line 85
When: ONLY for established tools with broad community vetting (10K+ users, multi-year history, an official package channel) AND low blast …
- Distinctive: line 112
When B is the chosen path:
- Very specific: line 122
Spawn a subagent: if the surface is >5 files OR Rust/Go/multi-language.
- Very specific: line 123
Cross-reference open issues: search github.com/<owner>/<repo>/issues?q=security+OR+vulnerability+OR+injection.
- Distinctive: line 136
If the verdict allows install:
- Very specific: line 142
Smoke test: before declaring done. For session-cached configs (settings.json hooks), note that activation requires a /restart.
- Distinctive: line 147
After every clone+audit run, regardless of verdict:
- Very specific: line 148
Update or create memory/reference-<repo>-<state>.md
- Distinctive: line 150
Update the MEMORY.md index pointer with the current state + a 1-line description
- Distinctive: line 152
Add a Learnings.md entry ONLY if a non-obvious finding emerged (a toolchain quirk, an install footgun, an audit-methodology insight)
- Very specific: line 166
BLOCKER: must fix before any install / adoption: a 7-day rule fail, a missing license, a postinstall hook with network egress + no opt-out, …
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repo Audit Skill
When you drop a GitHub URL or ask about adopting an external repo, present a 4-option triage and run the recommended path.
Tone & Voice
Adversarial register. starting hypothesis: the repo is REJECTED until evidence proves it's safe AND useful. Don't go soft because "the README looks nice" or "it has stars". The 7-day rule + the standdowns registry + the bundle-RCE gate exist for a reason. Cite specific findings, name specific risks, refuse to blindly adopt anything that touches credentials / filesystem / context layer without a clone-audit first.
Hard rule: NEVER install/run any repo less than 7 days old (CLAUDE.md security-first rule). NEVER install repos in the standdowns registry (memory/standdowns.json). ALWAYS run python3 scripts/security/check_standdown.py <target> before a recommendation. ALWAYS run --bundle-scan <dir> if doing a clone-audit on a bundle that may contain test files (an RCE-in-a-test-file vector).
Output format
A chat reply with a structured verdict:
🔍 repo-audit: <owner>/<repo>
VERDICT: <DOC-MINE | CLONE-AUDIT | INSTALL-DIRECT | PARK | REJECT>
evidence:
- created: <date>, last push: <date>, age: <days>
- stars: N, forks: N, contributors: N
- license: <SPDX>
- standdown check: <clear/warn/block> ({reason if not clear})
- 7-day rule: <pass/fail>
- credentials/fs/context touch: <yes/no + scope>
- bundle-scan (if applicable): N findings, severity X
recommendation:
<paragraph explaining the verdict + specific risks + recommended action>
re-audit triggers (if PARK/REJECT):
- <condition 1>
- <condition 2>If the verdict is INSTALL-DIRECT, run a pre-install standdown check + a dry-run install in a worktree first (per skills-shared/test-before-bulk/SKILL.md).
Trigger
- A GitHub URL pasted in chat ("github.com/owner/repo", "https://github.com/...")
- "Audit this repo" / "should we install X" / "is this safe to use"
- "What about Y?" / "What would change if we adopt Z?" with repo context
- Repo evaluation following a testimonial / blog post / tweet
Mandatory pre-checks (security-first rule)
Before ANY option, verify:
- 7-day age rule: the repo + each release tag must be ≥7 days old. Hard NO on younger.
- Owner provenance: account age, prior repos, public footprint. An anon owner + 1 repo = a red flag.
- Star velocity sanity: stars/day vs follower count. >100 stars/day with <500 followers = inorganic.
- License: MIT/Apache-2.0 fine; GPL/AGPL = read implications; no license = HARD NO.
- Active sprint check: do NOT install during an active deal sprint (a major delivery window). Defer to the next safe window.
If any check fails → SKIP all 4 options, recommend PARK or REJECT with a reason.
The 4 options
Present as a table with your pick, ranked by risk × reward for THIS specific repo + your blast-radius profile (a sole operator with .ssh, wallets, and chat sessions on this box).
Option A. Doc-mine
What: lift documentation/skill files only via curl pinned to a commit hash. NO runtime install. Pure read.
When: the repo has high-quality docs you can crib (skill files, prompt templates, methodology docs) but the runtime is invasive, high-blast-radius, or new.
Examples: a browser-automation repo (skill docs lifted, runtime parked); a public skills repo (a few skill files lifted, pinned to a commit hash).
Cost: 5-10 min. Zero install. Zero supply-chain surface beyond the curl.
Output: docs land in knowledge/<repo-name>-skills/ with a README capturing provenance + the pinned commit + an adaptation plan.
Option B. Clone + source audit
What: clone the repo locally to sandbox/audit-<repo>/ (read-only, NO build, NO install). Spawn a subagent or audit inline. Read the priority files (install scripts, telemetry, network code, credential surfaces, hooks). Cross-reference public security issues. Produce a verdict + concrete file:line citations.
When: the repo touches credentials, the filesystem at scale, the LLM context layer, the dev workflow (MITM risk), or the source recommends without source-level due diligence.
Examples: a CLI proxy tool (subagent audit on a tagged version, verdict GREEN-CAUTIOUS-INSTALL with specific risks + mitigations).
Cost: 30-60 min if delegated to a subagent (preferred. reads 5-10 source files, writes a structured report). Zero install during the audit phase.
Output: outputs/raw/agent/YYYY-MM-DD-<repo>-source-audit-<version>.md with a verdict line / executive summary / file:line findings table / top-5 risks / top-5 mitigations / decision recommendation.
Option C. Install direct
What: install per the docs without a source review. Trust the README + ecosystem coverage. When: ONLY for established tools with broad community vetting (10K+ users, multi-year history, an official package channel) AND low blast radius (read-only, no credential access, no filesystem MITM, no LLM-layer interception). Cost: 5-15 min install + smoke test. Risk: the highest of the 4. Don't pick this for AI-context tools, shell hooks, credential-adjacent infra, or anything publishing >50 releases/quarter. Examples: standard apt/npm packages with strong provenance.
Option D. Park
What: defer evaluation. Document the parked state in memory/reference-<repo>-parked.md with a re-audit date + checklist.
When: it fails the security pre-check OR an active sprint conflict OR there's insufficient external coverage to evaluate yet OR the repo is too young (<7 days, <14 days for high-blast-radius).
Cost: 2-5 min documentation.
Output: a parked dossier with explicit re-audit triggers + checklist.
Decision matrix
| Tool class | Default option |
| Skill/prompt/methodology docs | A. doc-mine |
| Shell/PreToolUse hooks (proxies, compressors, wrappers) | B. clone-audit |
| MCP servers handling tokens or files | B. clone-audit |
| Standard apt/npm packages (jq, ripgrep, etc.) | C. install direct |
| Anything <7 days old | D. park (security pre-check fail) |
| AI/LLM-context-layer tools (compressors, hooks, proxies) | B. clone-audit |
| Dev workflow MITM (rebase tools, git wrappers) | B. clone-audit |
| Anything recommended without source reading | B. clone-audit (don't trust a testimonial alone) |
| Repo touching .ssh / wallets / credentials | B. clone-audit |
Clone+audit workflow (Option B detailed)
When B is the chosen path:
- Clone shallow to
sandbox/audit-<repo>/<repo>/withgit clone --depth 50(full history not needed for the audit). - Pin to a release tag: checkout the latest stable tag, NOT main. Note the commit hash for the audit report.
- Map the audit surface: list:
install.sh/Makefile/setup.py/package.jsonpostinstall. the install vectorsrc/**/telemetry*/src/**/network*/ anything touching an HTTP client. the exfil surfacehooks// any shell-MITM scripts. the blast radius- Credential reads (env vars: AWS_*, GITHUB_TOKEN, *_API_KEY, paths: ~/.ssh, ~/.aws, wallets)
Cargo.toml/package.jsondeps. the supply chain
- Spawn a subagent if the surface is >5 files OR Rust/Go/multi-language. Brief it with: target paths, pre-existing security-issue links (cross-reference, don't substitute), deliverable format. Read-only. DO NOT install/build/run.
- Cross-reference open issues: search
github.com/<owner>/<repo>/issues?q=security+OR+vulnerability+OR+injection. Note any open + unfixed. - Write the report to
outputs/raw/agent/YYYY-MM-DD-<repo>-source-audit-<version>.md:- Verdict line (top): GREEN-INSTALL-OK / GREEN-CAUTIOUS-INSTALL / RED-DO-NOT-INSTALL / NEEDS-MORE-INFO
- Executive summary (5-8 sentences, concrete numbers/findings)
- Section findings table (file:line citations + PASS/FAIL/CONCERN)
- Top-5 risks (ordered by blast radius × likelihood)
- Top-5 mitigations (concrete, testable)
- Install recommendation (flags, env vars, source-build vs pre-built)
- Chat reply with the verdict + a 5-line summary + a decision question.
Install execution (post-GREEN verdict)
If the verdict allows install:
- Source-build preferred over a pre-built binary (compile-time gates like
option_env!()close telemetry/exfil surfaces that pre-builts leave open). - Pin to the audited commit hash, not
mainorlatest. - Backup any config the install touches (e.g.
~/.claude/settings.json) tosandbox/backups/YYYY-MM-DD-<file>-pre-<repo>.jsonbefore modification. - Disable telemetry via an env var even if compiled out (defense-in-depth).
- Smoke test before declaring done. For session-cached configs (settings.json hooks), note that activation requires a /restart.
- Document re-audit triggers in the reference dossier (specific file:line regressions, version bumps, behavior changes).
Memory hooks
After every clone+audit run, regardless of verdict:
- Update or create
memory/reference-<repo>-<state>.md - States:
-parked.md,-installed.md,-rejected.md,-doc-mined.md,-adopted.md - Update the MEMORY.md index pointer with the current state + a 1-line description
- Append a 1-line entry to
memory/Decisions.mdlinking to the dossier (only for adopt/install/reject. not for park) - Add a Learnings.md entry ONLY if a non-obvious finding emerged (a toolchain quirk, an install footgun, an audit-methodology insight)
Adversarial Stance (from a GSD audit)
Starting hypothesis: the repo is REJECTED until a source review proves otherwise. Stars, momentum, testimonials, viral GitHub trends. none of these flip the default. Only the source review does.
Common ways repo-audit goes soft (catch yourself here):
- Downgrading a 7-day-rule violation to a WARNING because the repo "looks legitimate" (a known founder / known org / high stars). The rule is a hard NO. owner reputation doesn't waive it.
- Treating "MIT license + active development" as proof of safety. A license says nothing about postinstall hooks, telemetry, or settings.json mutation.
- Skipping the install.js / postinstall script read because "it's just npm install." That's exactly where the binary fetches + settings mutations live.
- Anchoring on the FIRST audit finding and missing the second/third. Multiple sketchy items often co-exist (e.g. a binary fetch AND a settings.json mutation AND telemetry).
- Skipping the "what does v2 cost" question. Some repos rope in a CLI replacement that quietly competes with your coding agent itself, or a paid SaaS dependency.
Severity classification (mandatory on every finding):
- BLOCKER: must fix before any install / adoption: a 7-day rule fail, a missing license, a postinstall hook with network egress + no opt-out, a settings.json mutation, credential handling, a telemetry server with no local-only mode, an owner-provenance fail (anon, <3mo account, <100 followers + zero prior repos).
- WARNING: note + proceed with mitigation: a postinstall with opt-out env vars, telemetry that's opt-in (not server-side), high-blast-radius tools (LLM context layer, dev workflow MITM) where doc-mine is the safer default than install.
Anti-patterns
- ❌ Don't curl-pipe-bash an installer without reading it (per security-first)
- ❌ Don't trust a testimonial as a substitute for a source review (workflow shape differs, threat models differ)
- ❌ Don't install during an active deal sprint (a major delivery window)
- ❌ Don't auto-update. pin to the audited commit, manually re-audit before bumps
- ❌ Don't skip the backup of settings.json or any other config before the install touches it
- ❌ Don't substitute external coverage (HN/blog/social) for a source review on high-blast-radius tools
Provenance
Created after a clone+audit pattern earned its stripes (PARKED → re-audit → GREEN-CAUTIOUS-INSTALL → installed). Codifying the workflow so future GitHub link drops get the structured 4-option triage by default instead of ad-hoc evaluation.
Related skills: skills/self-audit/SKILL.md (internal repo audit), skills/recall/SKILL.md (find prior audit verdicts before re-evaluating).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

