Skip to content
mcp/skillhub

Agent Skill

Mastra Factory skill

mastra-factorymastra-ai/skillsskills/mastra-factory/SKILL.md

Operate and supervise Mastra Factory through `mastra api factory`. Use for first-time Factory connection and login, status or queue summaries, project and work-item inspection, thread history and memory, metrics, health, decisions, attention, supervisor sessions, and user-authorized autonomous or interactive Factory operations on hosted, local, remote, or self-hosted servers.

98Apache-2.0

always on

77 tokname + description

once used

578 tokSKILL.md body

bundled files

336 KB

repo stars

98GitHub

Install the Mastra Factory skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/mastra-ai/skills --skill mastra-factory

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/mastra-ai/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -R /tmp/skills/skills/mastra-factory ~/.claude/skills/mastra-factory

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description77 tok
When the agent uses itThe SKILL.md instructions578 tok
Only if opened3 bundled files (36 KB)varies

Until it is used, mastra-factory costs about 18× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 2 skills from mastra-ai/skills would load 181 tokens of descriptions. Skills vs MCP study

Checks

  • Contains text that matches a prompt-injection pattern. In the skills we checked by hand this was security teaching material or a test fixture; read the file before you install it.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Mastra Factory Supervisor
  • First use: connect before inspecting
  • Default behavior
  • Required reference
  • Safety boundary

More skills from mastra-ai/skills

All skills in this repo
  1. mastramastra-ai/skills

    Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. Use for documentation lookup, API verification, TypeScript setup, common errors, migrations, and `mastra api` CLI tasks: inspect or call resources on local, Mastra platform, or remote servers. For Mastra Factory operations, discover and activate the companion mastra-factory skill. Also report verified bugs and concrete documentation defects to the Mastra team automatically via the feedback endpoint.

    80k1104 tok idle · 1,798 in use