harness-checkup
Skill0 starsChanged 15 days agoMITView on GitHub
Run the harness's own checkup and relay what it finds. Use when asked what is costing the most on this machine, to check my setup, or why sessions are slow or expensive. Not for general advice about Claude Code.
In this repository6 other files it gives its agents.
- comms-hubSkill
- memory-archiveSkill
- memory-auditSkill
- pr-reviewSkill
- skill-forgeSkill
- slack-draftSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Run python3 ~/.claude/harness-checkup.py (--days N for another window, --json for data).
- Distinctive: line 32
Never read raw transcripts or chat text to add to the script's numbers.
- Distinctive: line 33
Never print a dollar amount.
- Distinctive: line 34
Never clone, install, or use the network.
- Distinctive: line 35
Keep the reply to one screen.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness checkup
The harness measures its own costs. This skill runs that and relays it; it adds no measurement of its own.
- Run
python3 ~/.claude/harness-checkup.py(--days Nfor another window,--jsonfor data). It takes up to about 30 s and is offline. If the file is missing, say the harness is not installed and stop. - Relay the three costs as printed: the value, its n, its window, and the line it is measured against (the multiple is value / line). Say in a clause what each line means. Then the "Below these" line.
- Give each cost its fix, from the harness docs:
| Cost | Fix |
| cache rewrites after a lapsed TTL | restart from a handoff (docs/long-running-sessions.md); for a loop or cron, python3 ~/.claude/spend-report.py --tick-prompt '<words from the tick prompt>' says which ticks' first call rewrote after the TTL lapsed |
| calls held by prompts then approved | docs/permission-friction.md: which guard asked, and which asks are policy calls for the owner |
| slowest Bash guard p95 | bash doctor.sh --latency, in the harness clone |
| job folders on disk | python3 ~/.claude/disk-space.py prune (a listing; only --apply deletes) |
| memory index | the memory-archive skill |
- Say what it could not tell: a tool it names as failed (with its exit status) leaves that cost out of the ranking, so the ranking is of what ran.
Rules
- Never read raw transcripts or chat text to add to the script's numbers.
- Never print a dollar amount; the script shows spend as a share, so relay that.
- Never clone, install, or use the network. Offer a fix; do not run it.
- Keep the reply to one screen.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

