# 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.

- **Type:** Skill
- **Install:** `agentstack add skill-stuartshields-claude-setup-tool-usage`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [stuartshields](https://agentstack.voostack.com/s/stuartshields)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [stuartshields](https://github.com/stuartshields)
- **Source:** https://github.com/stuartshields/claude-setup/tree/main/skills/tool-usage
- **Website:** https://stuartshields.github.io/claude-setup/

## Install

```sh
agentstack add skill-stuartshields-claude-setup-tool-usage
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [stuartshields](https://github.com/stuartshields)
- **Source:** [stuartshields/claude-setup](https://github.com/stuartshields/claude-setup)
- **License:** MIT
- **Homepage:** https://stuartshields.github.io/claude-setup/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-stuartshields-claude-setup-tool-usage
- Seller: https://agentstack.voostack.com/s/stuartshields
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
