Skip to main content
subagent CX Codex

meta-agent — Claude Code subagent: generate new agents

meta-agent — a subagent that builds configuration files for new subagents from a text description. Use it when you need custom agents for specific tasks without writing configs by hand.

no license ★ 3,990 updated 2026-03-04

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/meta-agent.md
Open on GitHub

What meta-agent does

meta-agent takes your description of a needed agent, fetches current Claude Code docs, and outputs a complete Markdown config file. It works with Write, WebFetch, MultiEdit, and Firecrawl integrations to scan and extract information.

The agent analyzes your requirements, picks the minimal tool set, assigns a kebab-case name, and writes step-by-step instructions. The output lands directly in .claude/agents/. Invoke it proactively whenever you need a specialized utility for a particular workflow.

You can choose the model (Haiku, Sonnet, Opus) and assign a color to the agent. meta-agent pulls from Anthropic's official documentation, so generated configs stay current with the platform.

What it helps with

  • build a subagent for a specific task from scratch
  • generate a config with the right set of tools
  • set up agent delegation in Claude Code
  • quickly prototype a multi-agent architecture

Example prompts for the agent

  • Create a subagent to test REST APIs with curl examples
  • Make an agent that scans code for security issues
  • Build a subagent that parses documents and pulls structured data

How to install meta-agent

Manually: put the files in place

.claude/agents/meta-agent.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about meta-agent

How do I install meta-agent in Claude Code?

Add the config file to .claude/agents/meta-agent.md in your project. After that, meta-agent becomes available as a subagent in Claude Code.

What does meta-agent do?

It generates a complete configuration for a new subagent based on your description. It selects tools, writes instructions, and outputs a ready-to-use file.

Which models can meta-agent use?

It supports Haiku, Sonnet, and Opus. Defaults to Sonnet but can adjust based on how complex the agent's tasks are.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set25

The whole set →
crypto_market_agent_prompt The crypto_market_agent_prompt command gathers current figures for leading cryptocurrencies and lays them out in a market table. Use it for a compact price and volume snapshot. CX Codex +1 ★ 3,990repo stars crypto_research_haiku crypto_research_haiku — a command that runs four lightweight agents in parallel to analyze any cryptocurrency. Pass a ticker symbol, get market overview, coin details, macro correlation, and investment ideas in separate files. CX Codex +1 ★ 3,990repo stars llm-ai-agents-and-eng-research llm-ai-agents-and-eng-research gathers recent updates on large language models, agent frameworks, and ML engineering while filtering out content older than seven days. CX Codex ★ 3,990repo stars crypto_coin_analyzer_agent_prompt crypto_coin_analyzer_agent_prompt — a Claude Code command that analyzes cryptocurrencies in real time. Pulls data from multiple sources, checks recent news, technical levels, and fundamentals, then outputs a structured report. CX Codex +1 ★ 3,990repo stars crypto_research crypto_research runs parallel cryptocurrency analysis across 12 specialized subagents and saves untouched markdown reports to timestamped folders. CX Codex +1 ★ 3,990repo stars macro_crypto_correlation_scanner_agent_prompt The macro_crypto_correlation_scanner_agent_prompt command compares current macro conditions and traditional markets with crypto price action. Use it to examine correlations, sector sensitivity, and upcoming catalysts in a structured report. CX Codex +1 ★ 3,990repo stars plan Turns a task description into a step-by-step implementation plan saved under specs/. Useful when a feature needs thinking through before any code. CX Codex +1 ★ 3,990repo stars crypto_investment_plays_agent_prompt crypto_investment_plays_agent_prompt generates a structured cryptocurrency investment report with exact entry points, risk ratings, and exit rules. CX Codex +1 ★ 3,990repo stars

Project sponsors

Companies that keep this analytics open