← Back to Manifesto

Audit Monthly

"15 minutes once a month saves $100+."

Your Token Hygiene Checklist

Check off what you've done. Your score updates in real-time.

Context

Memory

Model

Budget

KBs

0/14
Unaware

You have no visibility into token costs. Start with Context audit.

The Monthly Cycle

1 AUDIT List files + sizes
2 TRIM Delete dead, move rare
3 ARCHIVE archive_old(60)
4 MEASURE Compare vs last month
5 REPEAT Next month

Template Script

Works with: Kiro CLI, Claude Code, Cursor, Windsurf, any MCP agent.

monthly-audit.sh
# 1. Count context files + total size
find .kiro/steering -type f | xargs wc -c | sort -rn
du -sh .kiro/steering

# 2. Check memory size
sqlite3 .kiro/memory.db \
  "SELECT count(*) as active FROM observations WHERE archived = 0"

# 3. Archive old (via MCP or direct SQL)
sqlite3 .kiro/memory.db \
  "UPDATE observations SET archived = 1
   WHERE created_at < datetime('now', '-60 days')
   AND archived = 0"

# 4. Report
echo "Steering: $(du -sh .kiro/steering | cut -f1)"
echo "Active obs: $(sqlite3 .kiro/memory.db 'SELECT count(*) FROM observations WHERE archived=0')"
echo "Archived: $(sqlite3 .kiro/memory.db 'SELECT count(*) FROM observations WHERE archived=1')"
Try the Calculator → ← Learn: Steering Over Skills