popup-studio-ai/bkit-claude-code/audit
Claude Code and agent skill by popup-studio-ai/bkit-claude-code
- community
Checking that the SKILL.md file is still in the repository.
View audit logs, decision traces, and session history for AI transparency. ACTION_TYPES (19 entries) include PDCA events (phase_transition, gate_passed/failed, agent_spawned/completed/failed, rollback_executed, destructive_blocked) and Sprint events (sprint_paused, sprint_resumed, master_plan_created — v2.1.13). Triggers: audit, log, decision trace, history
Install
npx vskill@latest install popup-studio-ai/bkit-claude-code/auditSKILL.md
Audit Skill
User-invocable skill for viewing audit logs, decision traces, and session history.
Arguments
| Argument | Description | Example | |
|---|---|---|---|
| (none) | Show recent audit log entries (same as log) | /audit | |
log | Show recent audit log entries (last 20) | /audit log | |
trace <feature> | Show decision traces for a feature | /audit trace user-auth | |
summary | Show daily/weekly audit summary | /audit summary | |
search <query> | Search audit logs by action type, feature, or date | /audit search "phase_transition" |
Action Details
log (Default)
Display recent audit log entries.
- Read today's audit log from
.bkit/audit/YYYY-MM-DD.jsonl - If today's log is empty or has fewer than 20 entries, also read yesterday's log
- Parse JSONL entries (one JSON object per line)
- Display the last 20 entries in reverse chronological order
- Format each entry with timestamp, action, feature, and details
JSONL Entry Schema:
Output Format:
trace <feature>
Show decision traces for a specific feature.
- Read decision trace files from
.bkit/decisions/YYYY-MM-DD.jsonl - Filter entries matching the specified feature
- Display chronological decision chain with rationale
Decision Trace Entry Schema:
Output Format:
summary
Show daily or weekly audit summary.
- Read audit logs for the current day (and optionally past 7 days)
- Aggregate by action type and count occurrences
- Calculate key metrics:
- Total actions recorded
- Phase transitions count
- Automation vs manual ratio
- Error/recovery events
- Average trust score change
- Display formatted summary
Output Format:
search <query>
Search audit logs by action type, feature name, or date range.
- Parse the search query to determine filter type:
- If query matches an action type (e.g.,
phase_transition), filter by action - If query matches a feature name, filter by feature
- If query matches a date (YYYY-MM-DD), filter by date
- Otherwise, perform full-text search across all fields
- Read relevant JSONL files from
.bkit/audit/ - Apply filters and return matching entries (max 50 results)
- Display results in chronological order
Search Examples:
File Locations
| Path | Format | Purpose | |
|---|---|---|---|
.bkit/audit/YYYY-MM-DD.jsonl | JSONL | Daily audit log entries | |
.bkit/audit/summary/ | JSON | Pre-computed daily/weekly summaries | |
.bkit/decisions/YYYY-MM-DD.jsonl | JSONL | Decision trace entries |
Module Dependencies
| Module | Function | Usage | |
|---|---|---|---|
lib/audit/audit-logger.js | readAuditLog() | Read audit entries | |
lib/audit/audit-logger.js | searchAuditLog() | Search/filter entries | |
lib/audit/decision-tracer.js | getDecisionTrace() | Read decision traces |
Retention Policy
- Audit logs: 30-day retention, auto-cleanup via daily hook
- Decision traces: 30-day retention, linked to audit logs
- Total storage budget: 100MB (auto-prune oldest when exceeded)
Usage Examples
Security
- Security scanPassed, 95 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 repositoryCheckingskills/audit/SKILL.md
Popularity
- Repository stars
- 585
- Repository forks
- 148
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Jul 2026, 3 months ago.
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/popup-studio-ai/bkit-claude-code/audit)