khaneliman/khanelinix/ai-session-audit
Claude Code and agent skill by khaneliman/khanelinix
- community
Checking that the SKILL.md file is still in the repository.
Audit coding-agent sessions and mine cross-harness history for recurring corrections, skill-routing gaps, and harness faults. Use for retrospective AI-tool efficacy checks or history-driven tuning of skills and shared context.
Install
npx vskill@latest install khaneliman/khanelinix/ai-session-auditSKILL.md
The same SKILL.md was published earlier as khaneliman/khanelinix/ai-session-audit.
AI Session Audit
Extract deterministic facts before semantic judgment. Choose one lane:
- History retrospective reads an AgentsView archive, including prompts and
replies, to find what users keep correcting and whether rule changes stuck. Use it for a history review, a tune-up of skills or shared context, or a fresh-start review after a model change.
- Scrubbed metrics read T3 provider events and never emit prompt or tool
content. Use them for tool, worker, token, and model-route counts.
History retrospective
run writes cleaned prompts, threads, routing, phrase, and signal tables, and chunked worker digests. The extract, threads, digest, corrections, routing, phrases, and signals commands rerun one stage in a run directory. ledger --file <instruction-file> --out <dir> traces the commit behind each rule block. Add routing triggers, aliases, or edit suffixes in assets/routing-triggers.json.
- Follow references/retrospective.md from
coverage through delivery; each stage ends with a completion check.
- Read references/rubrics.md before spawning
classification workers.
- Read references/fresh-start.md when a new model
or harness replaces the default.
- Read references/backends.md before syncing or
querying the archive.
Scrubbed metrics
Use --provider, --thread, and --until to narrow either command. Output goes to stdout unless --output is explicit. Existing output requires --force.
- Run
summaryagainst the smallest useful date range. - Treat tool order, turn count, provider-reported tokens, skill observations,
worker tasks, and model routes as deterministic evidence.
- Read references/schema.md before comparing providers
or interpreting token and task fields.
- Use
eventswhen longitudinal queries or visualization justify a database.
Read references/backends.md before selecting one.
- Separate observed behavior from inferred policy compliance. A transcript can
prove that a skill ran. Deciding whether one should have run still requires a frozen routing corpus or a reviewed rubric.
Boundaries
- Keep source logs and the archive read-only.
- Scrubbed lane: do not emit prompts, commands, tool arguments, tool results,
reasoning, or assistant prose.
- History lane: write only under the run directory, whose files are owner-only.
Quote short user excerpts in reports; never publish digests or paste them into public prose. Digests hold raw prompts; send them only to workers on providers that already hold that history.
- Do not present processed-token observations as billed usage or cost.
- Do not compare policy revisions without a verified activation boundary; label
commit-date windows approximate.
- Do not treat more tools, workers, tokens, or turns as inherently better. A
missing complaint does not prove that a rule is unnecessary.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/common/ai-tools/skills/ai-session-audit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/khaneliman/khanelinix/ai-session-audit)