Tool Usage

Recovery protocol for tool failures and search budgets. Use when Edit fails repeatedly on the same target, when hooks may have modified file contents between operations, or when WebSearch/WebFetch is not converging on an answer.

stuartshields 41f60ca 791 B Updated

File contents

Tool Usage

Edit Tool

  • Edit retry limit. If Edit fails twice on the same target, re-read the file for actual content. If it still fails, use Write to replace the full file.
  • Read before Edit, always. Hooks may modify file contents after Write — the file on disk may differ from what you expect.

Search Tools

  • WebSearch/WebFetch budget: 3 searches + 2 fetches per question. If you haven't found the answer, summarise what you learned and ask the user.

stuartshields/claude-setup/tree/main/skills/tool-usage commit 41f60ca49f

Frequently asked questions

npx skillmds@latest add stuartshields/tool-usage