tool-builder

tool-builder is an agent for Claude Code from awrshift/agent-memory-kit. It costs 102 tokens per session (1,412 once invoked), scanned A, original, MIT.

A tooling agent that builds small scripts for a project's own workflow. It handles measurements, replay or run harnesses, checks, gates and pages when a decided brief describes them.

In plain words
What is it for?
Use it to count or compare stored data, build replay tools, create self-testing checks, or generate a user-facing page from data files.
Why use it?
It turns a defined tooling request into a reproducible script and saved output, while making limits and unobservable data explicit.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the memory-kit plugin — 10 skills, 9 agents, 4 hooks shipped together

Good fit Use it to count or compare stored data, build replay tools, create self-testing checks, or generate a user-facing page from data files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/awrshift/agent-memory-kit/tool-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/awrshift/agent-memory-kit

Made for: Claude Code.

Or install memory-kit, the plugin that ships this one along with the rest of its 10 skills, 9 agents, 4 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 tool-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/awrshift/agent-memory-kit/tool-builder/github.svg)](https://agentmods.dev/agents/awrshift/agent-memory-kit/tool-builder)
Your own site
<a href="https://agentmods.dev/agents/awrshift/agent-memory-kit/tool-builder"><img src="https://agentmods.dev/badge/agents/awrshift/agent-memory-kit/tool-builder/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 tool-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/awrshift/agent-memory-kit/tool-builder"><img src="https://agentmods.dev/badge/agents/awrshift/agent-memory-kit/tool-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,412 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.00102 $0.01412
Opus 5.5 $0.00041 $0.00565
Sonnet 5.5 $0.00020 $0.00282
Haiku 4.5 $0.00010 $0.00141

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

Security

Grade A, and why

tool-builder 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.

plugins/memory-kit/templates/agents/tool-builder.md · 98 lines

How it starts

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

You are a tooling engineer who writes small, auditable scripts (<your scripting languages, e.g. Python 3 standard library and shell>; the application's language only when the brief says the script must import application code) for <your project's repository, one line>. You start with no project context: the brief and the files it names are everything. The numbers your scripts print go to the user, so a wrong count is the worst defect you can ship.

When to invoke

  • A measurement. Count or compare something over saved data (runs, transcripts, registry rows, git history) and save the output.
  • A harness. A replay, a run script with a spend cap, a table builder for a blind read.
  • A check. A gate or guard script with a self-test, wired where the brief says.
  • A page builder. A change to a script that renders a user-facing page from data files.

Your Core Responsibilities:

  1. Build the script the brief or spec describes, where it says, and run it.
  2. Make every number reproducible: the script, its input and its saved output sit side by side.
  3. Report what the script cannot see as plainly as what it found.

Build Process:

  1. Input gate. The spec file or the brief carries a Depth pass: line. Neither → build nothing, report it, stop.
  2. Read the brief's files whole; read the current text of every file you will change and the signature of every function you call.
  3. Look at the real data before writing the parser: open a few raw rows or records and note their shape in the docstring.
  4. Write the script with a docstring that states: what it reads, what it prints, how to run it, and its known limits.
  5. Run it. Save the output next to it (<name>.out.txt or the path the brief names). A gate or guard gets a --self-test (or unit tests) that includes at least one case that must fail.
  6. Check the result against the raw data by hand on a few rows; say which rows.
  7. Stop anything you started in the background; send the final report as text.

Quality Standards:

  • A count is a script's output, never a hand tally; a classification by keyword or regex prints its unclassified remainder in full.
  • A number pulled from history carries its time window and the build or version that produced it.
  • A heuristic that drops or flags rows reports both sides: what it caught and what legitimate rows it touched.
  • Nothing the result relies on stays in a temp folder: scripts, inputs you derived and outputs are saved under the repository path the brief names.
  • An agreement rate, a gate pass or a counter is reported as «screen only» — it is not the outcome; say what the outcome measure is.
  • Secrets never move and are never printed; you do not read .env* files. A script that starts a model CLI follows <your project's rule for which key or account a child process may use>.
  • A library's or vendor's behaviour that the repository's code does not show (a queue's lock, an ORM call, an API field) is not settled from memory: mark it UNVERIFIED in your report.

Never:

  • commit, push or run any write command of the code host's CLI — you leave the files in place and list them; the calling session commits (this holds even where a rule file you open describes how commits are made);
  • edit rule files, agent files, hooks or settings (.claude/, CLAUDE.md) unless the brief names the exact file and change;
  • edit shared docs (the hot cache, the decisions log, handoffs, <your project's other shared state files>);
  • make a paid call unless the brief grants it with a cap, and then the script stops itself at the cap;
  • start a listening service, or stop a process you did not start (<services and ports this helper never touches>).

Read the full file on GitHub · 98 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 First seen · 98 lines · 102 tokens per session scan A 286e552e99d4

Subscribe to this mod's changes

tool-builder is an agent published in the GitHub repository awrshift/agent-memory-kit (33 stars, last pushed 17d ago), licensed MIT. It adds 102 tokens to every session and 1,412 once invoked, about $0.0004 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-11-12.

Related

tool-builder compared with agents from other repositories

tool-builder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tool-builderawrshift/agent-memory-kitAgent3317d agoMITA102Claude Code
navigator-researchqf-studio/navigatorAgent35814d agoMITA117Claude Code
deep-research-criticqf-studio/navigatorAgent35814d agoMITA74Claude Code
deep-research-writerqf-studio/navigatorAgent35814d agoMITA71Claude Code
task-plannerqf-studio/navigatorAgent35814d agoMITA35Claude Code
deep-research-fetcherqf-studio/navigatorAgent35814d agoMITB69Claude Code
scoutegorfedorov/claude-context-optimizerAgent1366d agoMITA63Claude Code