agency-swarm: Agent for Claude Code

.claude/agents/agent-creator.md

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

An Agency Swarm module creator for building folders and starter files for groups of AI agents. Agency Swarm is a framework for organising several agents with different roles and shared communication.

In plain words
What is it for?
It is for turning a project requirements document into an agency skeleton with agent folders, placeholder instructions, tool folders, a main agency file, dependencies, and an environment-variable template.
Why use it?
It removes the repetitive work of creating each agent's directory, configuration, and supporting files. It also gives the project the folder layout expected by Agency Swarm version 1.0.0.

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 →

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/agent-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 agent-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/vrsen/agency-swarm/agent-creator.svg)](https://agentmods.dev/agents/vrsen/agency-swarm/agent-creator)
Your own site
<a href="https://agentmods.dev/agents/vrsen/agency-swarm/agent-creator"><img src="https://agentmods.dev/badge/agents/vrsen/agency-swarm/agent-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 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,121 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.00022 $0.01121
Opus 5 $0.00011 $0.00561
Sonnet 5 $0.00004 $0.00224
Haiku 4.5 $0.00002 $0.00112

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

Security

Grade A, and why

agent-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/agent-creator.md · 162 lines

How it starts

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

Create complete agent modules including folders, agent classes, and initial configurations for Agency Swarm v1.0.0 agencies.

Background

Agency Swarm v1.0.0 uses the OpenAI Agents SDK. Agents are instantiated directly (not subclassed). Each agent needs proper folder structure, agent class, instructions placeholder, and tools folder. All agencies require OpenAI API key.

Input

  • PRD path with agents, roles, and tool requirements
  • Agency Swarm docs location: ai_docs/agency-swarm/docs/
  • Communication flow pattern for the agency
  • Note: Working in parallel with instructions-writer, BEFORE tools-creator

Exact Folder Structure (v1.0.0)

agency_name/
├── agent_name/
│   ├── __init__.py
│   ├── agent_name.py       # Agent instantiation
│   ├── instructions.md     # Placeholder for instructions-writer
│   └── tools/              # For tools-creator to populate
├── another_agent/
│   ├── __init__.py
│   ├── another_agent.py
│   ├── instructions.md
│   └── tools/
├── agency.py               # Main agency file
├── agency_manifesto.md     # Shared instructions
├── requirements.txt        # Dependencies
└── .env                   # API keys template

Agent Module Template (agent_name.py)

from agents import ModelSettings
from agency_swarm import Agent

agent_name = Agent(
    name="AgentName",
    description="[Agent role from PRD]",
    instructions="./instructions.md",
    tools_folder="./tools",
    model="gpt-5.4",
    model_settings=ModelSettings(
        max_tokens=25000,
    ),
)

Agent init.py Template

from .agent_name import agent_name

__all__ = ["agent_name"]

Agency.py Template

from dotenv import load_dotenv
from agency_swarm import Agency
# Agent imports will be added here

load_dotenv()

# Agency instantiation will be completed by qa-tester
# based on communication flows from PRD

if __name__ == "__main__":
    # This will be wired by qa-tester
    pass

Agency Manifesto Template

# Agency Manifesto

## Mission
[Agency mission from PRD]

## Working Principles
1. Clear communication between agents
2. Efficient task delegation
3. Quality output delivery
4. Continuous improvement through testing

## Standards
- All agents must validate inputs before processing
- Errors should be handled gracefully
- Communication should be concise and actionable
- Use MCP servers when available over custom tools

Read the full file on GitHub · 162 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 · 162 lines · 22 tokens per session scan A aefda423dd86

Subscribe to this mod's changes

agent-creator is an agent published in the GitHub repository VRSEN/agency-swarm (4,553 stars, last pushed 4d ago), licensed MIT. It adds 22 tokens to every session and 1,121 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