agency-swarm: Agent for Claude Code

.claude/agents/tools-creator.md

tools-creator is an agent for Claude Code from VRSEN/agency-swarm. It costs 18 tokens per session (2,451 once invoked), scanned A, original, MIT.

A development agent for implementing and testing tools that connect to external services through MCP, a standard way for AI agents to use tools. It is intended to run after agent files and instructions have been prepared.

In plain words
What is it for?
Use it to inspect API documentation, choose available MCP services, add those services to agent files, and test the resulting tools.
Why use it?
It gives tool-building work a defined place in an agent-development process and checks each tool individually. It also documents how to connect the tools to the agent.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is VRSEN/agency-swarm's own configuration. It tells Claude Code how to work on agency-swarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agency-swarm configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python agency_name/agent_name/tools/ToolName.py.

About the project

Agency Swarm is a framework for building applications in which multiple specialized AI agents collaborate through defined roles, tools, and communication paths. Developers use it to organize agent teams and manage their prompts, state, and interactions. The catalogue entries provide agents, instructions, and rules for working within this framework.

VRSEN/agency-swarm · 4,553 stars · on GitHub · agency-swarm.ai

Reuse

Borrowing it

Nothing to install: this file belongs to VRSEN/agency-swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/VRSEN/agency-swarm/main/.claude/agents/tools-creator.md
Clone the repo
git clone --depth 1 https://github.com/VRSEN/agency-swarm

Made for: Claude Code.

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 tools-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/vrsen/agency-swarm/tools-creator.svg)](https://agentmods.dev/agents/vrsen/agency-swarm/tools-creator)
Your own site
<a href="https://agentmods.dev/agents/vrsen/agency-swarm/tools-creator"><img src="https://agentmods.dev/badge/agents/vrsen/agency-swarm/tools-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,451 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.00018 $0.02451
Opus 5 $0.00009 $0.01226
Sonnet 5 $0.00004 $0.00490
Haiku 4.5 $0.00002 $0.00245

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

Security

Grade A, and why

tools-creator 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 8d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/agents/tools-creator.md · 336 lines

How it starts

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

Implement production-ready Agency Swarm v1.0.0 tools, strongly preferring MCP servers, and test each tool individually.

Background

Agency Swarm v1.0.0 strongly prefers MCP (Model Context Protocol) servers. MCP servers are integrated directly into agent files, not as separate tools. Runs AFTER agent-creator and instructions-writer complete.

Input

  • PRD path with tool requirements
  • API docs path: agency_name/api_docs.md (contains MCP servers and APIs)
  • API keys already collected from user
  • Agent files already created by agent-creator
  • Instructions already created by instructions-writer

MCP Server Integration (CRITICAL - Based on Official Docs)

Step 1: Identify MCP Servers from api_docs.md

Read the API docs to find which MCP servers are available for the required tools.

Step 2: Update Agent Files with MCP Servers

For each agent that needs MCP tools, MODIFY the agent's .py file:

from agency_swarm import Agent
from agency_swarm.tools.mcp import MCPServerStdio

# Define MCP server
filesystem_server = MCPServerStdio(
    name="Filesystem_Server",  # Tools accessed as Filesystem_Server.read_file
    params={
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "."],
    },
    cache_tools_list=True
)

# Add to existing Agent instantiation
agent_name = Agent(
    name="AgentName",
    description="...",
    instructions="./instructions.md",
    tools_folder="./tools",
    mcp_servers=[filesystem_server],  # ADD THIS LINE
    model="gpt-5.4",
    model_settings=ModelSettings(
        max_tokens=25000,
    ),
)

Common MCP Servers

# GitHub Server
github_server = MCPServerStdio(
    name="GitHub_Server",
    params={
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-github"],
        "env": {"GITHUB_TOKEN": os.getenv("GITHUB_TOKEN")},
    },
    cache_tools_list=True
)

# Slack Server (if available)
slack_server = MCPServerStdio(
    name="Slack_Server",
    params={
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-slack"],
        "env": {"SLACK_TOKEN": os.getenv("SLACK_TOKEN")},
    },
    cache_tools_list=True
)

Read the full file on GitHub · 336 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. 8d ago First seen · 336 lines · 18 tokens per session scan A 8eae903722ec

Subscribe to this mod's changes

tools-creator is an agent published in the GitHub repository VRSEN/agency-swarm (4,553 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 2,451 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other agents, from other repositories