Audit Cc Tail — Security skill for Claude Code
Detects distinct Claude model variants per family from behavioral fingerprints in Claude Code JSONL history.
How to install Audit Cc Tail
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AnEntrypoint/audit-cc-tail and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Audit Cc Tail does
Detects distinct Claude model variants per family from behavioral fingerprints in Claude Code JSONL history.
Alternatives in Security
- Google Workspace Model Armor — Filter user-generated content for safety 21.6k ★
- Security Threat Model — Generate repo-specific threat models identifying trust boundaries 14.6k ★
- Pal — Multi-model AI integration — chat, debugging, code review, planning, security audit 11.3k ★
README
audit-cc-tail
Detects how many distinct model variants Anthropic is serving behind each Claude family name (haiku / sonnet / opus) by clustering behavioral fingerprints extracted from your local Claude Code JSONL history.
Clusters both **text responses** (stylometric features) and **tool-call responses** (structural features) separately — giving two independent signals per family.
Grows more accurate over time as more responses accumulate.
How it works
- Ingest — reads
~/.claude/projects/**/*.jsonl(parallel backfill + live watch), classifies each response astext,tool_use, ormixed, extracts feature vectors for both text and tool content - Cluster — runs
sklearn.BayesianGaussianMixture(Dirichlet process prior) per family × mode (text + tools); active component count = estimated distinct model variants - Dashboard — 3-column TUI (one panel per family) with scrollable sections, token analytics, model version progression, daily sparklines, and both text and tool cluster views
Requirements
- Bun ≥ 1.3
- Python ≥ 3.10 with
scikit-learnandnumpy - Claude Code installed (provides
~/.claude/projects/)
Setup
bun install
python -m pip install scikit-learn numpy
If Python is not at `C:/Python312/python.exe`, update `PYTHON` in `src/cluster.ts`.
Usage
bun start
Migrates the DB, then spawns ingest + cluster (hourly) + dashboard as child processes. Auto-restarts crashed workers. `Ctrl+C` kills all.
Individual commands:
bun run src/index.ts migrate # apply schema only
bun run src/index.ts ingest # backfill + watch
bun run src/index.ts cluster # cluster once
bun run src/index.ts cluster --watch # cluster hourly
bun run src/index.ts dashboard # TUI dashboard
Dashboard keys: `tab` — switch panel focus | `j/k` — scroll | `q` — quit
Database
`audit.db` — libsql/SQLite local file.
| table | purpose |
|---|---|
responses |
one row per assistant messag |
Related Skills
Aegis Activity Logger
Append-only JSONL audit log of every Edit/Write/Bash mutation, one file per UTC day. Provides historical repla
Route Status
Show recent auto-router decisions and a rolling distribution of model routings. Reads from ~/.claude/cache/rou
DeepSafe Scan — Preflight Security Scanner For AI Coding Agents
Full-featured preflight security scanner across 5 dimensions: Posture (config), Skill (skills & MCP), Memory (
Claude Guardrails
Hardened security configuration for Claude Code; permission deny rules, shell hooks, and prompt injection defe
Prompt Audit
Audit of Claude Code's default system prompt behavioral instructions. Each instruction is classified by how cl
Audit Patterns
Design patterns audit. Analyzes stability (Circuit Breaker, Retry, Rate Limiter, Bulkhead), behavioral (Strate
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Canvas Designer
Use this agent for UI/UX design and implementation — production-grade interfaces with intentional aesthetic. C
Narwhal Ecommerce
E-commerce SEO specialist for Product/Offer merchant signals, rendered-vs-schema consistency, variants, rating