agent-kitlisted
Install: claude install-skill th3r-dev/th3-skills
# agent-kit: sub-skills
| When the work is… | Read | Scripts |
|---|---|---|
| spawning agents, "which model for this agent", "too many agents", "agent cost" | [`cost/SKILL.md`](cost/SKILL.md) | `cost/scripts/agent_guard.py` (PreToolUse hook, `--selftest`) |
| fanning out agents that share context, /loop, "cache hit rate", "prompt caching" | [`prompt-cache/SKILL.md`](prompt-cache/SKILL.md) | `prompt-cache/scripts/pcache.py` (`build` · `brief` · `stats` · `--self-test`) |
They chain: `cost` decides whether to spawn and on which tier; `prompt-cache` makes the briefs those
agents get share one cached prefix, then measures it.
## Rules every sub-skill keeps
- **No agent is free.** Count the brief, the re-read and the summary against doing it inline.
- **Measure, don't estimate.** Report hit rates and token counts from the session logs (`pcache.py stats`).
- **Never block the user's work.** The hook nudges; it doesn't refuse a call.
## Tests
```bash
cd skills/agent-kit
uv run --script cost/scripts/agent_guard.py --selftest
uv run --script prompt-cache/scripts/pcache.py --self-test
```