metaskill

metaskill is a skill for Claude Code, Codex from morganmuli/metaskill. It costs 51 tokens per session (623 once invoked), scanned A, a copy of metaskill, MIT.

A meta-skill for creating AI agent teams, individual agents, or custom skills from a single command. It detects which of those three kinds of output a request needs.

In plain words
What is it for?
Use it to generate a project team, create a role-specific agent such as a reviewer, or build a custom skill for a particular workflow.
Why use it?
It gives a repeatable starting point for designing agent-based development help instead of assembling every file and role by hand.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/morganmuli/metaskill/skill
Any agent
npx skills add morganmuli/metaskill --skill skill
Clone the repo
git clone --depth 1 https://github.com/morganmuli/metaskill

Made for: Claude Code, Codex.

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 metaskill

README.md
[![agentmods](https://agentmods.dev/badge/skills/morganmuli/metaskill/skill.svg)](https://agentmods.dev/skills/morganmuli/metaskill/skill)
Your own site
<a href="https://agentmods.dev/skills/morganmuli/metaskill/skill"><img src="https://agentmods.dev/badge/skills/morganmuli/metaskill/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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 $0.00051 $0.00623
Opus 5 $0.00026 $0.00311
Sonnet 5 $0.00010 $0.00125
Haiku 4.5 $0.00005 $0.00062

Measured 3d ago against content hash 04f86455d9f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

metaskill 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 3d 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

This is a copy

91% identical to metaskill — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skill/SKILL.md · 46 lines

What it actually says

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 "$HOME/.claude/skills/metaskill" ".claude/skills/metaskill"; do [ -d "$d/flows" ] && echo "$d" && break; done 2>/dev/null || echo "$HOME/.claude/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.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 46 lines · 51 tokens per session scan A 04f86455d9f1

Subscribe to this mod's changes

metaskill is a skill published in the GitHub repository morganmuli/metaskill (1 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 623 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to metaskill, differing in 4 lines, and is treated as a copy.