context-audit

Solid

Context health monitoring. Analyzes include loading trends from context-metrics.log, audits CLAUDE.md/rules/settings for bloat, scores setup health. Modes: trend (default), full (with /context data), baseline (save snapshot).

Code & Development 6 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
28
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# zuvo:context-audit — Context Health Monitor Tracks what fills your context window over time and flags waste. Two data sources: 1. **Auto-collected** — `~/.zuvo/runs.log` field 12 (`name:bytes` pairs, populated by `track-includes.sh` hook on every Read) 2. **Manual** — `/context` output (optional, for full system-level audit) ## Argument Parsing | Flag | Effect | |------|--------| | `--full` | Full audit: requires `/context` data. Audits MCP, CLAUDE.md, settings, permissions | | `--baseline` | Save current state as baseline for future delta comparisons | | `--since N` | Show trend for last N days (default: 7) | | _(no flags)_ | Trend mode: analyze context-metrics.log, show include loading patterns | ## Mandatory File Loading Read these files: ``` CORE FILES LOADED: 1. ../../shared/includes/run-logger.md -- READ 2. ../../shared/includes/retrospective.md -- READ ``` ## Phase 0: Collect Data ### Metrics data (from runs.log) Read `~/.zuvo/runs.log` — the single source of truth for all skill run data: ```bash RUNS_LOG="$HOME/.zuvo/runs.log" ``` Filter entries that have INCLUDES data (field 12 contains `:`). These are v3+ entries with `name:bytes` format. ```bash # Extract v3 entries (field 12 has name:bytes pairs) awk -F'\t' 'NF>=12 && $12 ~ /:/' "$RUNS_LOG" ``` If fewer than 3 entries with INCLUDES data: print "Not enough data yet. Run a few zuvo skills first — the `track-includes.sh` hook captures include sizes automatically." and exit. Parse field 12...

Details

Author
greglas75
Repository
greglas75/zuvo
Created
4 months ago
Last Updated
today
Language
Shell
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

context-audit

Audits a repository's Claude context-injection setup — CLAUDE.md, CONTEXT.md, docs/, .claude/agents/, and the per-project memory directory. Reports bloat, broken links, orphaned docs, security risks, missing rules in subagent prompts, and conflicts between memory and project instructions. Use when the user asks to audit their Claude setup, asks "what's wrong with my CLAUDE.md", wants to know if their agents/memory/docs are configured well, or wants to improve Claude's effectiveness in this repository.

3 Updated 3 days ago
adamlinscott
AI & Automation Solid

mkcontext-audit

Read-only audit of `.claude/` structural overhead. Reports prioritized "remove X save Y tokens" recommendations against the model context window. NOT for monetary cost tracking — that's /mk:budget. NOT for transcript size monitoring — long-session continuity defers to Claude Code native compaction. NOT for runtime context decisions (what to read, when to compact) — see mk:context-engineering. Use when planning to add context capacity, diagnosing perceived slowdowns, or auditing health.

15 Updated today
ngocsangyem
AI & Automation Listed

context-auditor

Use this skill when a user wants to audit a CLAUDE.md, system prompt, agent context file, or any assembled context before running it in production. Triggers on phrases like "audit my context", "check my CLAUDE.md", "review my system prompt", "why is my agent behaving badly", "context issues", or when a user pastes a context file and wants it reviewed. Scans for the four known context failure modes — poisoning, distraction, confusion, and clash — and returns a severity-rated diagnostic. This is the pre-flight check for agent reliability that Anthropic does not ship a tool for. Do NOT use to author or rewrite context files; it only diagnoses supplied context.

1 Updated 5 days ago
Abhillashjadhav