context-radar-audit
Skill10 starsChanged 39 days agoMITView on GitHub
Compare this machine's active Claude Code tooling against Context Radar's curated tool-stack recommendations, surface gaps and redundancies, and report findings: never remediate silently. A plain WebFetch or curl of comparison.html returns an empty <table>, because the page is rendered in the browser. Do not scrape the rendered HTML. The dataset ({meta, layers, tools}) is published as data/context-reduction-tools.json in the public Context Radar repository, and the fetch script reads that file as JSON and checks its shape. It never executes fetched…
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/development/biome-complete/AGENTS.mdAGENTS.md
- skills/development/bun-development/AGENTS.mdAGENTS.md
- skills/development/commanderjs/AGENTS.mdAGENTS.md
- skills/documentation/markdown-authoring/AGENTS.mdAGENTS.md
- skills/package-mgmt/mise-complete/AGENTS.mdAGENTS.md
- skills/testing/bdd-testing/AGENTS.mdAGENTS.md
- agents-mdSkill
- cache-auditSkill
- create-contextSkill
- guided-interviewSkill
- handover-document-creatorSkill
- load-contextSkill
- pick-modelSkill
- pinSkill
- professional-honestySkill
- rules-managementSkill
- save-contextSkill
- session-reflectionSkill
- socratic-methodSkill
- vault-captureSkill
- vault-consolidateSkill
- vault-fetchSkill
- vault-searchSkill
- bird-fortune-political-satireSkill
- brooker-esque-media-satireSkill
- clarke-dawe-esqueSkill
- comedy-style-skill-generatorSkill
- cunk-esque-mockumentarySkill
- gervais-esque-cringe-satireSkill
- monty-python-esqueSkill
- pryor-esque-confessional-standupSkill
- rock-esque-observational-standupSkill
- biome-completeSkill
- bun-developmentSkill
- commanderjsSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-importSkill
- markdown-authoringSkill
- mermaid-diagramsSkill
- plain-englishSkill
- professional-communicationSkill
- sop-structureSkill
- logql-generatorSkill
- mise-completeSkill
- context-indexSkill
- create-context-fileSkill
- follow-upSkill
- goal-trackerSkill
- nasa-pm-lessonsSkill
- plan-createSkill
- plan-executeSkill
- plan-reviewSkill
- risk-registerSkill
- tech-debtSkill
- tech-evaluationSkill
- blast-radiusSkill
- bridgeSkill
- challengeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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
- Very specific: line 19
Read access to the Claude Code config directory ($CLAUDE_CONFIG_DIR, default ~/.claude): settings.json, .mcp.json, …
- Very specific: line 45
Fetch the dataset: Run fetch-comparison-data.js, note meta.last_updated.
- Very specific: line 46
Collect what's actually active: Run collect-active-tools.sh <project-dir>: it prints project .mcp.json servers, global .mcp.json servers, …
- Very specific: line 56
Check permission allowlists (mcp__<server>__* entries) against actual mcpServers registrations for that <server> name in both project and …
- Very specific: line 58
If a rule file (e.g. ~/.claude/rules/*.md) mandates a tool, verify the tool it names actually resolves to something active per step 2-3.
- Very specific: line 62
File it: Use the create-context-file skill to record findings as a follow-up entry (if deferred) or a finding entry (if it's the whole …
- Distinctive: line 73
Before adding a new context-reduction, memory, or code-nav tool, to check for cardinality conflicts with what's already installed
- Distinctive: line 86
Default to reporting; treat global-config edits as requiring explicit user sign-off every time, not just the first time
- Distinctive: line 94
NEVER: treat "tool X isn't registered as an MCP server" as proof it's inactive.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context Radar Audit
Compare this machine's active Claude Code tooling against Context Radar's curated tool-stack recommendations, surface gaps and redundancies, and report findings: never remediate silently.
Prerequisites
- Network access to
raw.githubusercontent.com, where the dataset is published as plain JSON (see Gotcha below) nodeonPATH(used by both scripts; any recent version with globalfetchworks, tested on v24)- Read access to the Claude Code config directory (
$CLAUDE_CONFIG_DIR, default~/.claude):settings.json,.mcp.json,plugins/installed_plugins.json, and the target project's.mcp.json - The
create-context-fileskill, to file any findings as a follow-up rather than just stating them in chat
Gotcha: the comparison table is not in the HTML
A plain WebFetch or curl of comparison.html returns an empty <table>, because the page is rendered in the browser. Do not scrape the rendered HTML. The dataset ({meta, layers, tools}) is
published as data/context-reduction-tools.json in the public Context Radar repository, and the fetch script reads that file as JSON and checks its shape. It never executes fetched content:
node scripts/fetch-comparison-data.js > /tmp/context-radar-data.json
node -e "const d=require('/tmp/context-radar-data.json'); console.log(d.meta, d.layers.length, d.tools.length)"d.meta carries last_updated, stars_verified, and tool_count: always report these alongside any findings so the audit is dated against a known snapshot, since tool verdicts and star counts
drift.
Data shape
layers[] and tools[] carry the fields the workflow below reads. layers[].cardinality is the
one field every redundancy finding hinges on (pick-one/either-or means install exactly one for
that layer; stackable means several may coexist), and tools[].verdict.decision is the other
(drop is a removal finding on its own). See the Data shape reference for the full field list,
what each one means, and worked examples.
Workflow
- Fetch the dataset. Run
fetch-comparison-data.js, notemeta.last_updated. - Collect what's actually active. Run
collect-active-tools.sh <project-dir>: it prints project.mcp.jsonservers, global.mcp.jsonservers, global user-scope plugins, every hook command in globalsettings.json(including tools wired as raw binaries, not MCP servers, e.g. a shell hook calling a path ending inbin/tokensavedirectly), the MCP-server prefixes implied by the permissions allowlist, and any global rule file that mandates a specific tool. - Map active tools to dataset
ids by hand. This step needs judgement, not string matching: a hook command path likecargo-tokensave/latest/bin/tokensavemaps to tool idtokensave; an MCP server namedcodebase-memory-mcpmaps to the identically-named id. Not everything active is in the dataset (e.g.mcp-atlassian,playwright,aislopare outside Context Radar's scope - ignore them). - Cross-reference against layer rules:
- For every
pick-one/either-orlayer, count active tools mapped to that layer. More than one → redundancy finding. - For every active tool, check
verdict.decision.drop→ removal finding.watchwithactivityStatus.band: dormant→ staleness finding, note but don't recommend action alone. - For every layer with a
curatedPickand zero active coverage → optional-add note, not a finding (absence isn't a defect). - Check permission allowlists (
mcp__<server>__*entries) against actualmcpServersregistrations for that<server>name in both project and global.mcp.json. Allowlisted-but-unregistered → phantom-tool finding: permissions exist for a server that isn't wired anywhere, so any rule mandating its use is currently unenforceable. - If a rule file (e.g.
~/.claude/rules/*.md) mandates a tool, verify the tool it names actually resolves to something active per step 2-3. A mandate pointing at a phantom or absent tool is worth surfacing even if step 4's other checks don't independently flag it.
- For every
- Report, don't remediate. Global config changes affect every project on the machine. Present findings as a list (what's redundant, what's dead config, what's missing) and let the user decide
what to action. Do not edit the global
.mcp.jsonorsettings.jsonwithout explicit confirmation. File it. Use the
create-context-fileskill to record findings as a follow-up entry (if deferred) or a finding entry (if it's the whole point of the session), then regenerate the index via thecontext-indexskill. Don't leave findings only in the chat response, they don't survive a session reset. Typical destinations:.context/follow-ups/<slug>.md # deferred finding .context/findings/<slug>.md # finding that is the whole point of the session
When to Use
- User asks "what MCP servers / tools should we be using" or references Context Radar directly
- Before adding a new context-reduction, memory, or code-nav tool, to check for cardinality conflicts with what's already installed
- Periodic tool-stack hygiene review (Context Radar's own "Config stack audit" layer note: run this kind of check after assembling a stack, not continuously)
When Not to Use
- Reviewing application/library dependencies: this skill is scoped to Claude Code's own tooling (MCP servers, plugins, hooks), not the project's
package.json/Cargo.toml - As a substitute for reading a specific tool's own docs once you've decided to adopt it: the dataset's
decisionRulefield is a summary, not installation instructions
Mindset
- The dataset is a snapshot with a stated freshness date: treat star counts and "watch"-tier verdicts as time-bound, not permanent
- A tool being active and a tool being wired in are different things: hooks, MCP registration, and permission allowlists can drift independently (this is how phantom-tool findings happen)
- Redundancy findings are about layer cardinality (
pick-oneetc.), not personal preference: cite the layer'scardinalityandnotefield as the reasoning, not "seems duplicative" - Default to reporting; treat global-config edits as requiring explicit user sign-off every time, not just the first time
Anti-Patterns
NEVER WebFetch or curl the comparison page directly and treat an empty table as "no data available." WHY: The table is client-rendered; the fetch tool never runs the page's JS, so the raw
HTML genuinely has no rows regardless of how the page looks in a browser. BAD: Concluding "the comparison page has no tools listed." GOOD: Run fetch-comparison-data.js, which reads the published
JSON dataset instead of the rendered DOM.
NEVER treat "tool X isn't registered as an MCP server" as proof it's inactive. WHY: Some tools in the dataset (e.g. tokensave, rtk) run as hook-invoked CLI binaries, not MCP servers -
absence from .mcp.json doesn't mean absence from settings.json hooks. BAD: "tokensave isn't in any .mcp.json, so it's not installed." GOOD: Check both .mcp.json registrations and
settings.json hook commands before concluding a tool is inactive.
NEVER edit global Claude Code config (~/.claude/.mcp.json, ~/.claude/settings.json) as part of running this audit. WHY: Those files apply to every project on the machine;
an unrequested edit has a blast radius far beyond the project being audited. BAD: Silently removing a redundant MCP server entry after finding a pick-one violation. GOOD: Report the
violation and the two candidate tools, then wait for the user to choose.
References
| Topic | Reference | When to Use |
| Dataset extraction | scripts/fetch-comparison-data.js | Pulling the current {meta, layers, tools} dataset |
| Active-tool collection | scripts/collect-active-tools.sh <project-dir> | Enumerating what's actually registered/hooked on this machine |
| Data shape | references/data-shape.md | Looking up the full layers[]/tools[] field list, meanings, and worked examples |
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.

