repo-audit
Skill4 starsChanged 7 months agoMITView on GitHub
Systematically assess whether an open-source repository is safe to read, clone, run in a sandbox, or trust with real data. Produces a weighted risk score, verdict ladder, red flags, and concise safe-usage guidance.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- Kayn-43/agent-configtheir own version, first seen Sep 15, 2026
- Paldom/github-skillstheir own version, first seen Aug 31, 2026
- TheVeller/claude-skillstheir own version, first seen Aug 22, 2026
- Joopinhontas/claude-repo-audittheir own version, first seen Aug 14, 2026
- sunitghub/canon-skillstheir own version, first seen Jul 26, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- zebbern/claude-code-guide★ 4.6ksame name
- Megaprompting/torque-loop★ 9same name
- sunitghub/canon-skills★ 9same name
- iuliandita/skills★ 7same name
- TheVeller/claude-skills★ 3same name
- declancowen/skills★ 2same name
- Joopinhontas/claude-repo-audit★ 2same name
- belschak/repo-audit★ 1same name
- dividedby/skills★ 1same name
- Paldom/github-skills★ 1same name
3 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 repository5 other files it gives its agents.
- end-of-daySkill
- handoffSkill
- resume-from-handoffSkill
- screenshot-cleanupSkill
- your-skill-nameSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 22 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
22
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Read these references when the audit is non-trivial:
- Distinctive: line 25
Every audit must answer these four questions:
- Distinctive: line 31
Every audit must also produce:
- Distinctive: line 38
Default to safe local validation:
- Distinctive: line 39
Always start with static analysis.
- Distinctive: line 40
Only run low-risk local validation when it does not require secrets, elevated privileges, package installation, or obvious network activity.
- Distinctive: line 41
Treat package installs, browser automation, Docker builds, long-running services, network tracing, or anything credentialed as explicit …
- Very specific: line 49
If the target is remote and not already local, clone with --depth=1 into a temporary directory.
- Distinctive: line 50
Before any execution, inspect manifests, scripts, workflows, and entrypoints.
- Distinctive: line 51
Do not use user secrets, browser profiles, private documents, wallets, SSH keys, or real production credentials.
- Distinctive: line 81
Read only the code that decides behavior:
- Distinctive: line 86
Prefer narrow, falsifiable reads over broad exploration.
- Distinctive: line 90
Run low-risk validation only when justified:
- Distinctive: line 92
only if they do not require installing packages, secrets, network access, browser login, or elevated permissions
- Distinctive: line 94
If validation would require escalation, stop and say so unless the user explicitly asks to proceed.
- Very specific: line 100
Use 0-4 per dimension:
- Distinctive: line 111
Every final answer must include, in this order:
- Distinctive: line 131
Keep the explanation concise and human.
- Very specific: line 158
Do not say safe with real data just because tests pass.
- Very specific: line 159
Do not treat safe to clone as equivalent to safe to run.
- Distinctive: line 160
Do not bury the main red flags under a long summary.
- Distinctive: line 161
If confidence is low, say so directly.
- Distinctive: line 166
run browser automation against real profiles
- Distinctive: line 167
use the user's credentials or env secrets
- Distinctive: line 168
start long-running services or Docker containers
- Distinctive: line 169
run anything that obviously reaches the network unless the user explicitly wants runtime tracing or higher-risk validation
“Common” is measured: kept by at least 6 in 10 of the 11 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
Audit a repository for operational safety and trust.
This skill is not trying to prove absolute safety. Its job is to determine blast radius, surface hidden risk, and tell the user what they can safely do now.
Read these references when the audit is non-trivial:
references/mental-model.mdreferences/scoring-rubric.mdreferences/default-workflow.mdreferences/report-template.md
Core Goal
Every audit must answer these four questions:
- Is it safe to read?
- Is it safe to clone?
- Is it safe to run in a sandbox?
- Is it safe to trust with real data?
Every audit must also produce:
- an overall
0-10risk score - weighted subscores across multiple dimensions
- a concise plain-language explanation of what is safe, what is sandbox-only, and what is not recommended
Default Mode
Default to safe local validation:
- Always start with static analysis.
- Only run low-risk local validation when it does not require secrets, elevated privileges, package installation, or obvious network activity.
- Treat package installs, browser automation, Docker builds, long-running services, network tracing, or anything credentialed as explicit escalation steps.
Mandatory Preparation
- Identify the target:
- remote repo URL
- local path
- current workspace
- If the target is remote and not already local, clone with
--depth=1into a temporary directory. - Before any execution, inspect manifests, scripts, workflows, and entrypoints.
- Do not use user secrets, browser profiles, private documents, wallets, SSH keys, or real production credentials.
- State important assumptions and unknowns.
Audit Workflow
Phase 1: Classify the Surface
Quickly identify:
- languages and package managers
- entrypoints and executable surfaces
- CI/workflow files
- Dockerfiles and shell scripts
- bundled binaries, large blobs, generated code, or vendored assets
The goal is to find the likely control points, not to map the whole repo.
Phase 2: Static Risk Scan
Inspect the highest-risk surfaces first:
- install hooks and package scripts
- workflow automation
- subprocess and shell execution
- dynamic evaluation or obfuscation
- outbound URLs, telemetry, or auto-registration
- local sensitive data access
- privilege requests or persistence mechanisms
- runtime downloads or remote payloads
Phase 3: Focused Code Reads
Read only the code that decides behavior:
- the owning abstraction
- the actual network/execution path
- the nearest code that mutates the filesystem, launches processes, or sends data off-machine
Prefer narrow, falsifiable reads over broad exploration.
Phase 4: Safe Validation
Run low-risk validation only when justified:
- tests, lint, or build already supported by the repo
- only if they do not require installing packages, secrets, network access, browser login, or elevated permissions
If validation would require escalation, stop and say so unless the user explicitly asks to proceed.
Phase 5: Score and Explain
Score the repo using the weighted rubric in references/scoring-rubric.md.
Use 0-4 per dimension:
0minimal risk1low risk2moderate risk3high risk4severe risk
Convert the weighted total into an overall 0-10 risk score.
Required Output
Every final answer must include, in this order:
Risk score: X/10with a short band label- A verdict ladder for:
Safe to readSafe to cloneSafe to run in sandboxSafe with real data
- A short plain-language paragraph answering what the user can safely do now
- A
Plain-English Bottom Linewritten for a non-technical reader in 2-4 short sentences - A
Simple Yes/No Checklistcovering:Read it?Clone/download it?Run it in a sandbox?Use it with real data?If still uneasy, what should I do?
- A weighted scorecard by dimension
- Top findings with severity and file references
- Confidence and unknowns
Keep the explanation concise and human. The user should not need security training to understand the recommendation.
The Plain-English Bottom Line and Simple Yes/No Checklist must avoid jargon, avoid hedging unless necessary, and make the safe next action obvious to a non-technical person.
Red Flags To Prioritize
Escalate the score quickly for:
preinstall,postinstall, bootstrap one-liners, or remote script execution- obfuscated or encoded payloads
- bundled binaries with no clear reason
- silent telemetry, auto-registration, or hidden outbound traffic
- access to browser profiles, wallets, keychains, clipboard, shell history, or SSH material
- admin/root requests, scheduled tasks, launch agents, persistence, or security-control changes
- README claims that do not match the code
Positive Signals To Credit
Lower the score when the repo is genuinely simple and transparent:
- small code surface
- dependency-light or dependency-free
- no install hooks
- explicit and minimal network behavior
- clear entrypoints and readable code
- tests or validation that match the claimed behavior
Verdict Discipline
Be conservative:
- Do not say
safe with real datajust because tests pass. - Do not treat
safe to cloneas equivalent tosafe to run. - Do not bury the main red flags under a long summary.
- If confidence is low, say so directly.
Never Do These By Default
- install dependencies from the network
- run browser automation against real profiles
- use the user's credentials or env secrets
- start long-running services or Docker containers
- run anything that obviously reaches the network unless the user explicitly wants runtime tracing or higher-risk validation
Final Standard
The best audit answers this in one sentence:
"Here is the risk score, here is what worried me, and here is exactly what you can safely do with this repo right now."
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.

