context-audit

Installation
SKILL.md

Context Audit

Analyzes what's consuming your context window and recommends optimizations. Three audit modes can run independently or together.

Quick Start

  • /context-audit or "audit my context" — runs all three audits
  • "static audit" or "context inventory" — file inventory only
  • "session analysis" — JSONL token parsing only
  • "context score" — scoring and recommendations only

Audit Modes

1. Static Inventory

Run scripts/audit-context to automate the static inventory. Supports --json for structured output, --flagged for problems only, --top N for largest items.

The script scans all context-contributing sources:

  • Skills (SKILL.md, rules/, references/)
Related skills
Installs
13
GitHub Stars
3
First Seen
Feb 17, 2026