agentleFS
matthewdonsemail-labmatthewdonsemail-lab/log/.claude/skills/log-log-tool-health/SKILL.md

log-log-tool-health

Skill103 starsChanged 7 days agoMITView on GitHub

Tool health. A log play (docs/useCases/log/toolHealth.md): Read how log's own tools are doing from the calls log.db already stores: per tool its calls, failures, commonest failure code, p50 and p95, and last use, with three flags (unused, failing, stale guide mentions) and a fix for each. It reads only: it changes no code, file or guide, and the fixes are for the owner to choose.

The file

Files
SKILL.md

Tool health

This is the log play log/toolHealth. Before anything else, call the log MCP tool getGuide({ useCase: "log/toolHealth" }): it returns this page and makes it the session's play, so every log tool's answer says which step you are on and a send with no play loaded is refused (rules 157, 158). Then follow the steps in order.

Draft every message from that person's own thread and the owner's real replies (voice with no text, search), never from memory, and never send two that read alike (sameAsSent).

Read how log's own tools are doing from the calls log.db already stores: per tool its calls, failures, commonest failure code, p50 and p95, and last use, with three flags (unused, failing, stale guide mentions) and a fix for each. It reads only: it changes no code, file or guide, and the fixes are for the owner to choose.

How the owner asks for it: "tool health", "which guides went stale"

Run it from a fresh context

Say: "go on docs/useCases/log/toolHealth.md". The agent reads this page and runs the steps.

The steps

#StepToolDone when
1Read the report for the window the owner named (default 14 days)toolHealth { days }each flag is listed with its evidence and its fix
2Open the latest failing call of each failing tooltiming { call }the stage and code that failed are named
3When the voice gate failed most drafts lately, measure it on his own held-out replies and reset its pass thresholdvoiceCalibratehis held-out pass rate before and after and the new threshold are stated
4When the gate calls his own lines AI or lets model phrasing through, rebuild the AI-conventions detector on his messagesvoiceTrainhis flagged and the drafts caught per band are stated
5Tell the owner each flag with its fix (guide edit, merge, retire) and change nothing until he picksthe reply to the ownerthe owner has the list and chose what to do

What to know

  • Unused counts calls only. The prompt router stores the play it matched, not the tools it listed, so how often a tool was offered and passed over is not known; the report says so rather than guessing.
  • Failing is more than 20% failed over at least 5 calls. A call's code comes from its root span (attrs.code); calls stored before codes were kept show as uncoded. Long-running watchers end when they are stopped, so their runs read as failed.
  • Stale compares each guide's last git commit with the last commit that added or removed a flag line in the module of each tool it names, and flags a call-shaped name (`name` { ) that no command or flow registers. Guides under docs/guides are generated: their fix is bun run docs:build.

Related

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.