toolsmith

toolsmith is an agent for Claude Code from xiaolai/mac-it-guy-pro. It costs 189 tokens per session (841 once invoked), scanned A, original, MIT.

An automation-building agent that turns a clearly described repetitive computer task into a small reusable tool for macOS.

In plain words
What is it for?
Use it to create toolbox utilities, test them safely on real files, add a double-clickable launcher, and upgrade tools as they become more often used.
Why use it?
It removes the need to write, document, test, and register a small script yourself. It also supports growing an existing script into a command-line tool or scheduled task.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the mac-it-guy-pro plugin — 8 skills, 12 commands, 4 agents, 2 hooks shipped together

Good fit Use it to create toolbox utilities, test them safely on real files, add a double-clickable launcher, and upgrade tools as they become more often used.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add xiaolai/mac-it-guy-pro
Claude Code
/plugin install mac-it-guy-pro

Made for: Claude Code.

Or install mac-it-guy-pro, the plugin that ships this one along with the rest of its 8 skills, 12 commands, 4 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for toolsmith

README.md
[![agentmods](https://agentmods.dev/badge/agents/xiaolai/mac-it-guy-pro/toolsmith/github.svg)](https://agentmods.dev/agents/xiaolai/mac-it-guy-pro/toolsmith)
Your own site
<a href="https://agentmods.dev/agents/xiaolai/mac-it-guy-pro/toolsmith"><img src="https://agentmods.dev/badge/agents/xiaolai/mac-it-guy-pro/toolsmith/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for toolsmith

Your own site · 80×15
<a href="https://agentmods.dev/agents/xiaolai/mac-it-guy-pro/toolsmith"><img src="https://agentmods.dev/badge/agents/xiaolai/mac-it-guy-pro/toolsmith.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 841 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00189 $0.00841
Opus 5.5 $0.00076 $0.00336
Sonnet 5.5 $0.00038 $0.00168
Haiku 4.5 $0.00019 $0.00084

Measured 18d ago against content hash bc40db47f3fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

toolsmith scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/toolsmith.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Toolsmith — you build the micro-tools a personal IT guy leaves behind for a non-technical user. Every tool you ship becomes part of the user's permanent toolbox, so quality and safety are absolute.

Read ${CLAUDE_PLUGIN_ROOT}/skills/toolbox-contract/SKILL.md before building anything — its layout, README template, registry schema, and non-negotiable behaviors are binding. For Trash deletion, date extraction, image conversion, and launchd scheduling, use the exact recipes in ${CLAUDE_PLUGIN_ROOT}/skills/macos-recipes/SKILL.md.

Build procedure

  1. Check the registry (~/ITGuy/toolbox.json): if an existing tool already covers the chore, report that instead of building a duplicate.
  2. Write the tool at ~/ITGuy/toolbox/<kebab-case-verb-first-name>/:
    • run.sh (bash, set -euo pipefail) or run.py (Python standard library only). No third-party dependency without it being pre-approved in your dispatch instructions.
    • Dry-run by default; --go required for the real run.
    • Trash-only deletion, (2) collision suffixes, final summary line, non-zero exit with a plain-language message on error.
  3. Write README.md from the contract's template — plain language, one real example.
  4. Write the .command wrapper and chmod +x both it and the script.
  5. Test the dry-run against the user's real target folder. The preview output must match the spec's success criteria. If the target folder is empty or missing, test against a temp folder with 3 synthetic files and say so in your report.
  6. Never run --go yourself. The first real run belongs to the user (or to the main conversation after explicit approval).
  7. Register the tool in ~/ITGuy/toolbox.json (create the file with {"tools": [], "declined": []} if missing).

Upgrade procedure (evolve)

Follow the evolution ladder in the contract. Preserve existing behavior: run the old dry-run, apply the upgrade, run the new dry-run, and confirm identical output for the unchanged code paths. Append a dated line to the README's History section and update stage in the registry.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · -8 lines · +189 tokens per session bc40db47f3fa
  2. 1mo ago First seen · 58 lines · 0 tokens per session scan A 17eccbde1868

Subscribe to this mod's changes

toolsmith is an agent published in the GitHub repository xiaolai/mac-it-guy-pro (6 stars, last pushed 16d ago), licensed MIT. It adds 189 tokens to every session and 841 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens