# meta-agent

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.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 3990 repo stars
- Author: disler
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/disler/claude-code-hooks-mastery/tree/HEAD/.claude/agents/meta-agent.md
- Updated: 2026-03-04
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/meta-agent

## What it 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.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/meta-agent.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/meta-agent.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/meta-agent.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/disler/claude-code-hooks-mastery/tree/HEAD/.claude/agents/meta-agent.md

## When to use it
- 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
- 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

## Similar
- [voltagent-meta](https://affpapa.org/en/nevibecode/plugins/voltagent-meta.md) — plugin · ★ 26718 repo stars
- [mantis-meta-agent](https://affpapa.org/en/nevibecode/skills/mantis-meta-agent.md) — skill · 1600 installs
- [daily-news-report](https://affpapa.org/en/nevibecode/skills/daily-news-report.md) — skill · 1000 installs
- [Agency AI – Meta & Google Ads Automation](https://affpapa.org/en/nevibecode/mcp/agency-ai-meta-google-ads-automation.md) — MCP server · ★ 1 repo stars
- [agent-team-builder](https://affpapa.org/en/nevibecode/skills/agent-team-builder.md) — skill · 259 installs
- [lindy-core-workflow-b](https://affpapa.org/en/nevibecode/skills/lindy-core-workflow-b.md) — skill · 1 install

From the same set: [disler/claude-code-hooks-mastery](https://affpapa.org/en/nevibecode/by/disler/claude-code-hooks-mastery.md) — 25 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
