# Audit Time

> Token optimization audit of bootstrap files. Measure and reduce context weight of CLAUDE.md, MEMORY.md, skills registry, hooks, and plugins.

- Skill: `cogpros/audit-time` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cogpros/audit-time`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cogpros/audit-time/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: cogpros (https://skillmd.com/u/cogpros)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cogpros/audit-time

---


# Audit Time

Token optimization audit of bootstrap files. Everything that loads into context every session has a cost. This skill measures that cost and finds ways to reduce it.

## When to Use

- When sessions feel slow or context is being consumed too fast
- After adding new skills, hooks, or expanding MEMORY.md
- Periodic maintenance (monthly recommended)
- When the operator says "audit time"

## The Protocol

Measure these four sources of per-session context weight:

1. **MEMORY.md** — Size in bytes. Check for entries that should be in topic files instead. Known issue: double-load (appears twice in context).
2. **CLAUDE.md** — Size in bytes. Check for content that could move to skills (triggers, protocols).
3. **Skills registry** — Count entries, estimate ~200 chars per entry. Flag skills that could be suppressed (disable-model-invocation: true).
4. **Hooks + plugins** — Check SessionStart hook outputs. Flag verbose outputs that could be slimmed.

## Optimization Tiers (from Jeremy's claude-context-audit)

1. **Archive** — Completely unused skills. Reversible. Move to _archived/.
2. **Suppress** — Rarely-needed skills. Set disable-model-invocation: true (~200 char savings per skill).
3. **Slim** — Verbose hook outputs. Reduce output size while keeping function.
4. **Restructure** — MEMORY.md as lean index with on-demand topic files.

## Output

Report total fixed context weight per session. Compare to previous audit if available. Recommend specific changes with estimated savings.

## Portability

Works in any Claude Code environment. The measurement targets (CLAUDE.md, MEMORY.md, skills, hooks) are standard Claude Code infrastructure. The optimization tiers apply universally.

## Origin

Adapted from jeremyknows/claude-context-audit. Extended with measurement methodology.

