selectools: Skill for Claude Code

.claude/skills/audit/SKILL.md

audit is a skill for Claude Code from johnnichev/selectools. It costs 18 tokens per session (1,032 once invoked), scanned A, original, Apache-2.0.

A documentation audit that compares repeated facts across a project, such as versions, test totals, links, and file counts.

In plain words
What is it for?
Use it to check release information, collected tests, model and example counts, module documentation, tools, observer events, and storage backends.
Why use it?
It finds stale numbers, broken references, and differences between documentation and the files that should be their source of truth.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is johnnichev/selectools's own configuration. It tells Claude Code how to work on selectools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything selectools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to johnnichev/selectools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/johnnichev/selectools/main/.claude/skills/audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/johnnichev/selectools

Made for: Claude Code.

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 audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnnichev/selectools/audit/github.svg)](https://agentmods.dev/skills/johnnichev/selectools/audit)
Your own site
<a href="https://agentmods.dev/skills/johnnichev/selectools/audit"><img src="https://agentmods.dev/badge/skills/johnnichev/selectools/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 audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnnichev/selectools/audit"><img src="https://agentmods.dev/badge/skills/johnnichev/selectools/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 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.
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.00018 $0.01032
Opus 5.5 $0.00007 $0.00413
Sonnet 5.5 $0.00004 $0.00206
Haiku 4.5 $0.00002 $0.00103

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

Security

Grade A, and why

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 2mo 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.

.claude/skills/audit/SKILL.md · 111 lines

How it starts

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

Cross-Reference Audit

Live Counts (source of truth)

  • Version (init.py): !grep -m1 __version__ src/selectools/__init__.py
  • Version (pyproject.toml): !grep -m1 "version" pyproject.toml
  • Tests: !pytest tests/ --collect-only -q 2>/dev/null | tail -1
  • Models: !grep -c "ModelInfo(" src/selectools/models.py
  • Examples: !ls examples/*.py | wc -l | tr -d ' '
  • Module docs: !ls docs/modules/*.md | wc -l | tr -d ' '
  • Toolbox tools: !grep -roh "@tool" src/selectools/toolbox/*.py | wc -l | tr -d ' '
  • Observer events (sync): !python3 -c "from selectools.observer import AgentObserver; print(len([m for m in dir(AgentObserver) if m.startswith('on_')]))" 2>/dev/null
  • Observer events (async): !python3 -c "from selectools.observer import AsyncAgentObserver; print(len([m for m in dir(AsyncAgentObserver) if m.startswith('a_on_')]))" 2>/dev/null
  • StepTypes: !python3 -c "from selectools.trace import StepType; print(len(StepType))" 2>/dev/null
  • Knowledge store backends: !echo "4 (File, SQLite, Redis, Supabase)"
  • Last example: !ls examples/*.py | tail -1

Audit Procedure

1. Version Consistency

Verify __init__.py version matches pyproject.toml version.

2. Count Audit

Search each file for hardcoded counts. Report any mismatch against live values.

Test count — check:

  • README.md, docs/index.md, CLAUDE.md, CONTRIBUTING.md, docs/CONTRIBUTING.md, landing/index.html

Example count — check:

  • README.md, CLAUDE.md

Model count — check:

  • README.md, docs/index.md, CLAUDE.md, docs/modules/MODELS.md

Observer event count — check:

  • CLAUDE.md, docs/modules/AGENT.md, docs/ARCHITECTURE.md, docs/QUICKSTART.md

StepType count — check:

  • CLAUDE.md, tests/test_phase1_design_patterns.py

3. Content Drift Audit

CLAUDE.md:

  • Codebase Structure tree matches actual files (check for missing new files)
  • TraceStep Types table has all StepType members
  • Current Roadmap matches ROADMAP.md
  • Observer counts match

Read the full file on GitHub · 111 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. 2mo ago First seen · 111 lines · 18 tokens per session scan A c70b993e094d

Subscribe to this mod's changes

audit is a skill published in the GitHub repository johnnichev/selectools (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,032 once invoked, about $0.0001 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

audit compared with skills from other repositories

audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditjohnnichev/selectoolsSkill114d agoApache-2.0A18Claude Code
llamaguarddavila7/claude-code-templatesSkill33kyesterdayMITA74Claude Code, Codex
agentguardbmdhodl/agent47Skill43d agoMITA37Claude Code, Codex
safety-scanningMaxwellCalkin/sentinel-aiSkill268mo agoApache-2.0A52Claude Code
nemo-guardrailsdavila7/claude-code-templatesSkill33kyesterdayMITB61Claude Code, Codex
polymarket-tradingBlockRunAI/ClawRouterSkill6.7kyesterdayMITA76Claude Code, Codex
releasedevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA121Claude Code