
Code reachability audit
Checks whether a repo file is truly unused across CI, hooks, schedulers and docs
Code reachability audit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Code reachability audit
This skill guides an agent through the evidence needed before a repository file or script is labeled dead or removed. It treats the claim that nothing calls a file as an absence claim and requires searching beyond the repo's own code: shell and Python invocations, CI workflows, git hooks, plugin manifests, operator documentation, and host schedulers such as launchd, cron and systemd units living outside the repository.
The workflow has the agent run a census across these surfaces, validate the search with a positive control using a file known to be live and a negative control using an invented filename, and then read each hit to separate real calls from mentions such as comments describing a replaced script or prose documenting a removal. Each file is sorted into a reachability bucket like entry point, live, dynamically reachable, legacy-live or dead.
The guidance also covers verifying a deletion by comparing output before and after the change in the original directory, removing tests that only covered the deleted code, and sweeping for stale references and case-sensitive glob patterns afterward. It is written for a repository that uses shell scripts and Python tooling and expects access to the repo files and the host's scheduler configuration.
When your agent uses it
Use before classifying a repository file or script as dead or proposing deletion: census static, dynamic, CI, hook, manifest, documentation, and host-scheduler callers; prove the search with positive and negative controls; classify reachability and resolve misleading mentions. Not for restructuring a live module graph.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/code-reachability-audit to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-reachability-audit &&
cp -R "$tmp/.agents/skills/code-reachability-audit" ~/.claude/skills/code-reachability-audit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/code-reachability-audit inside it instead.
Copy the skill folder to ~/.agents/skills/code-reachability-audit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-reachability-audit &&
cp -R "$tmp/.agents/skills/code-reachability-audit" ~/.agents/skills/code-reachability-audit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/code-reachability-audit inside it instead.
Copy the skill folder to ~/.cursor/skills/code-reachability-audit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-reachability-audit &&
cp -R "$tmp/.agents/skills/code-reachability-audit" ~/.cursor/skills/code-reachability-audit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/code-reachability-audit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/code-reachability-auditOr copy the folder to ~/.gemini/skills/code-reachability-audit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-reachability-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-reachability-audit &&
cp -R "$tmp/.agents/skills/code-reachability-audit" ~/.copilot/skills/code-reachability-audit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/code-reachability-audit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/code-reachability-audit into your agent's skills folder as code-reachability-audit. Agents that support SKILL.md read one folder per skill.
What it does
- Multi-surface caller census
- Searches shell, Python, CI workflows, git hooks, manifests, docs and host schedulers for references to a file.
- Search controls
- Uses a known-live positive control and an invented negative control to confirm search results are meaningful.
- Hit classification
- Distinguishes genuine calls from comments, removal records and literal strings that only look like references.
- Reachability buckets
- Sorts files into entry point, live, dynamically reachable, legacy-live or dead categories.
- Pre-deletion equivalence checks
- Compares output before and after a change to prove removing code does not alter behavior.
- Stranded reference sweep
- Finds leftover header notes, docs and case-sensitive globs that point at removed files.
Good for
- Check whether a shell script is still run by launchd or cron before deleting it
- Audit a repo for dead Python modules without breaking CI or git hooks
- Prove that truncating a script after an early exit leaves its output unchanged
- Find documentation and config that still point at a removed file
Code reachability audit FAQ
When should Code reachability audit be used?
Before classifying a repository file or script as dead or proposing its deletion. It is not meant for restructuring a live module graph.
Does Code reachability audit search outside the repository?
Yes. It lists host scheduler surfaces such as ~/Library/LaunchAgents plist files, crontab entries and systemd units, which a git grep cannot reach.
Does Code reachability audit include scripts?
No scripts are bundled with the skill; it is a single SKILL.md file with instructions.
How do I install Code reachability audit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/code-reachability-audit to use it in all your projects, or to .claude/skills/code-reachability-audit in one project.
Does Code reachability audit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Code reachability audit?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Code reachability audit?
The closest alternatives to Code reachability audit are Dead code cleanup edho ferdian, Rea ci tests audit, Repo recon, Automation audit ops and Test gap audit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security




