code-reachability-audit

code-reachability-audit is a skill for Claude Code, Codex from mtarcure/claude-vibe-squad. It costs 66 tokens per session (1,074 once invoked), scanned A, original, MIT.

A repository search guide for deciding whether a file or script is still used. It checks code, automation, configuration, documentation, and scheduled jobs for callers.

In plain words
What is it for?
Use it before calling a repository file dead or proposing its deletion. It helps classify how a file is reached and document the evidence.
Why use it?
It helps avoid deleting something that appears unused but is still run indirectly. It also separates real usage from misleading mentions in comments or documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it before calling a repository file dead or proposing its deletion. It helps classify how a file is reached and document the evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mtarcure/claude-vibe-squad/code-reachability-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mtarcure/claude-vibe-squad --skill code-reachability-audit
Clone the repo
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-reachability-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-reachability-audit/github.svg)](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-reachability-audit)
Your own site
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-reachability-audit"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-reachability-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-reachability-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/code-reachability-audit"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/code-reachability-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 25
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • medium Rogue Agent · line 24
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 25
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01074
Opus 5.5 $0.00026 $0.00430
Sonnet 5.5 $0.00013 $0.00215
Haiku 4.5 $0.00007 $0.00107

Measured 1mo ago against content hash 7b55ed22accc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-reachability-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/code-reachability-audit/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Reachability Audit

Deciding a file is dead is a deletion, and deletions are irreversible. The claim "nothing calls this" is an absence claim, so it needs an exhaustive search plus a control proving the search can detect presence. A grep miss is not proof.

The search set — every surface, not just the obvious ones

A repo-only git grep is not exhaustive. Check all of these:

Surface Why it hides callers
Shell exec, source, bash "$VAR", paths built from $(dirname …)
Python subprocess, Path(...), names assembled from parts
.github/workflows/** CI is a caller with no in-repo reference to it
Git hooks (.githooks/**) invoked by git, never by code
Plugin manifests, lane adapters declarative wiring, not calls
~/Library/LaunchAgents/*.plist outside the repo entirely
crontab -l, systemd units same class as launchd on other platforms
Operator documentation a script a human runs on purpose is live with zero programmatic callers

The launchd surface is the one that bites. On 2026-08-06 an audit classified bin/squad-monitor.sh as dead on correct in-repo evidence — its only references were two tests. It runs every 120 seconds via com.chrono.squad-monitor, registered in ~/Library/LaunchAgents/, where no git grep reaches. Several repo scripts are bound that way. bin/doctor.sh now reports the live mapping on every health run, computed from the main checkout; read that mapping (not any fixed count, which drifts) before calling anything dead.

Matching, without fooling yourself

Both failure directions are real and both happened in one session:

  • Too loose. A bare basename search reported capture.py as having six callers. Every hit was inside autocapture.py.
  • Too strict. Anchoring with [^A-Za-z0-9_/-] then excluded /, hiding path-qualified references, so a file with a live caller looked orphaned.

Use (^|[^A-Za-z0-9_-])<basename> — allow a path separator before the name, forbid word characters.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 7b55ed22accc
  2. 3mo ago First seen · 89 lines · 66 tokens per session scan A bc0c33d8c89d

Subscribe to this mod's changes

code-reachability-audit is a skill published in the GitHub repository mtarcure/claude-vibe-squad (227 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 1,074 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

code-reachability-audit compared with skills from other repositories

code-reachability-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reachability-auditmtarcure/claude-vibe-squadSkill2271mo agoMITA66Claude Code, Codex
rust-checkHmbown/CodeWhaleSkill41kyesterdayMITA15Claude Code, Codex
debugHmbown/CodeWhaleSkill41kyesterdayMITA30Claude Code, Codex
openrig-skillsmvschwarz/openrigSkill9.0ktodayApache-2.0A109Claude Code
oversight-teammvschwarz/openrigSkill9.0ktodayApache-2.0A117Claude Code, Codex
developing-openrigmvschwarz/openrigSkill9.0ktodayApache-2.0A84Claude Code, Codex
feedbackHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex