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.
npx skills add mrmps/chomsky-stack --skill junk-detectiongit clone --depth 1 https://github.com/mrmps/chomsky-stackWrote 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.
[](https://agentmods.dev/skills/mrmps/chomsky-stack/junk-detection)<a href="https://agentmods.dev/skills/mrmps/chomsky-stack/junk-detection"><img src="https://agentmods.dev/badge/skills/mrmps/chomsky-stack/junk-detection/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.
<a href="https://agentmods.dev/skills/mrmps/chomsky-stack/junk-detection"><img src="https://agentmods.dev/badge/skills/mrmps/chomsky-stack/junk-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.01861 |
| Opus 5.5 | $0.00049 | $0.00744 |
| Sonnet 5.5 | $0.00024 | $0.00372 |
| Haiku 4.5 | $0.00012 | $0.00186 |
Grade A, and why
junk-detection 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.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Junk detection
Separate bad aesthetics from bad incentives. Find code that optimizes a proxy, preserves a constraint that no longer exists, or makes future change harder without buying required behavior.
Read references/taxonomy.md before the first audit in a task. Treat the scanner as triage, never as a verdict.
Choose the audit surface
- Read repository instructions and the relevant product or domain contract.
- For branch or PR work, compare the merge-base with
origin/main(or the repository's actual trunk) throughHEAD, then include staged, unstaged, and untracked work. - For a whole-codebase request, start with changed and frequently touched paths, then broaden to all first-party code.
- Exclude generated, vendored, minified, lock, fixture, snapshot, and migration output unless the request targets it.
- Preserve the user's existing changes. Audit only unless the user also asks for fixes.
Run the bundled triage script from the repository root:
python3 <skill-dir>/scripts/scan_hotspots.py --scope diff
python3 <skill-dir>/scripts/scan_hotspots.py --scope all
Use --base <ref> when trunk is not origin/main. Use --json when another tool will consume the output.
Reconstruct the real contract
Before calling anything junk, identify:
- The behavior the user or product actually needs.
- Public APIs, persisted data, deployed clients, URLs, events, and integrations that constrain compatibility.
- What the tests, types, lint rules, benchmarks, or review rubric measure.
- The gap between that proxy and the intended behavior.
- The narrowest direct observation that would prove the behavior.
If the contract is unknown, report a suspect and the missing evidence. Do not manufacture certainty from code shape alone.
Audit through six lenses
1. Reward-hacked implementation
Look for a patch that satisfies the evaluator instead of the task:
- Production code branches on test names, fixtures, environment markers, or known inputs.
- Expected outputs, IDs, timestamps, paths, or benchmark cases are hardcoded.
- Tests, graders, CI, timeouts, snapshots, or assertions are weakened to create a green signal.
- Errors are swallowed, exit codes forced to success, features stubbed, or data silently fabricated.
- A test passes but asserts nothing meaningful, mocks away the behavior, or only repeats the implementation.
- The implementation handles visible cases in isolation but breaks composition, invalid inputs, retries, or real user flows.
- The final claim is stronger than the evidence actually collected.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 154 lines · 122 tokens per session scan A 40dfc533c76f
junk-detection is a skill published in the GitHub repository mrmps/chomsky-stack (7 stars, last pushed 1mo ago), licensed MIT. It adds 122 tokens to every session and 1,861 once invoked, about $0.0005 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-09-04.
Other skills, from other repositories
sync-bridge
Reviews and guides Chromium Sync Model API (DataTypeSyncBridge) implementations, including DataTypeStore persistence and forwards/backwards compatibility for sync specifics. Use when implementing or reviewing a DataTypeSyncBridge subclass, DataTypeStore usage, sync metadata persistence, conflict resolution, or…
sync-model-processor
Reviews changes to Chromium Sync model internals in components/sync/model/, including ClientTagBasedDataTypeProcessor, ClientTagBasedRemoteUpdateHandler, ProcessorEntity, ProcessorEntityMetadata, and ProcessorEntityTracker. Use when modifying or reviewing processor state transitions, entity metadata tracking, conflict…
adversarial-reviewer
Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…
gsd-ns-review
Invoke this Pi skill with /skill:gsd-ns-review.
gitnexus
A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.
issue
Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…