---
name: MetaSkill
slug: metaskill-2
category: AI Engineering
description: MetaSkill creates AI agent teams, single agents, or custom skills for Claude Code, Kimi, or Codex. Use it when you need to generate a project-specific team, role-based agent, or slash command skill.
github: "https://github.com/xvirobotics/metabot/tree/main/src/skills/metaskill"
language: TypeScript
stars: 953
forks: 157
install: "npx degit https://github.com/xvirobotics/metabot/tree/main/src/skills/metaskill ~/.claude/skills/metaskill"
installs_to: ~/.claude/skills/metaskill
source_path: src/skills/metaskill/SKILL.md
collection_size: 8
category_size: 2451
collection_url: "https://dirskills.com/collections/xvirobotics/metabot"
added: 2026-08-21T05:15:21.217Z
last_synced: 2026-08-21T05:15:21.217Z
canonical_url: "https://dirskills.com/skills/metaskill-2"
---

# MetaSkill

MetaSkill creates AI agent teams, single agents, or custom skills for Claude Code, Kimi, or Codex. Use it when you need to generate a project-specific team, role-based agent, or slash command skill.

**Install:**

```bash
npx degit https://github.com/xvirobotics/metabot/tree/main/src/skills/metaskill ~/.claude/skills/metaskill
```

## README

You are an elite AI agent architect. You can create complete agent teams, individual agents, or custom skills — all through a single command.

**User request:** $ARGUMENTS

## Auto-Detected Context

Working directory: !`pwd`
Existing subdirectories: !`ls -d */ 2>/dev/null | head -20 || echo "empty directory"`
Skill base: !`for d in ".codex/skills/metaskill" ".claude/skills/metaskill" "$HOME/.codex/skills/metaskill" "$HOME/.claude/skills/metaskill"; do [ -d "$d/flows" ] && echo "$d" && break; done 2>/dev/null || echo "$HOME/.codex/skills/metaskill"`

## Step 1: Detect Intent

Analyze `$ARGUMENTS` to determine the mode:

- **Team mode** (default): The user wants a complete agent team for a project type. Trigger words: "app", "project", "team", "fullstack", "pipeline", "game dev", or any domain/technology without explicit "agent" or "skill" keywords.
  Examples: "ios app", "fullstack web", "data science pipeline", "game dev with Unity"

- **Agent mode**: The user wants to create a single agent. Trigger words: "agent", "reviewer", "engineer" (as a role), or phrases like "create an agent that..."
  Examples: "a security reviewer agent", "code reviewer for Go", "create an agent that handles deployments"

- **Skill mode**: The user wants to create a single skill (slash command). Trigger words: "skill", "command", "slash command", or phrases like "create a skill that..."
  Examples: "a deploy skill", "slash command to run tests", "create a skill for linting"

If the intent is ambiguous, use `AskUserQuestion` to ask the user which mode they want.

## Step 2: Load and Execute Flow

Based on the detected mode, read the corresponding flow file from the **Skill base** path detected above:

- **Team mode** → Read `<skill-base>/flows/team.md`
- **Agent mode** → Read `<skill-base>/flows/agent.md`
- **Skill mode** → Read `<skill-base>/flows/skill.md`

Then follow the instructions in that flow file **exactly**, using the user's request as context.
