Operates and supervises Mastra Factory via `mastra api factory`: connection/login, status, queues, projects, work items, threads, metrics, and health.
Ships in mastra-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use mastra api factory as the operational control plane for Factory.
Read references/connection.md. Check CLI availability, establish the user's actual Factory URL, and for platform-hosted deployments run mastra auth whoami. If logged out, offer mastra auth login rather than silently starting browser login. Local/self-hosted authentication may differ.
An explicit mastra api --url "$FACTORY_URL" factory project list works from an empty directory; no deployed repository or .mastra-project.json is required. Never assume a shared host, organization, project name, or ID. Preserve the explicit target on subsequent commands.
For status, inspection, diagnosis, queue review, or recommendation requests:
Read references/factory-cli.md before running Factory commands for output control, contracts, the read-only workflow, mutation protocol, governance constraints, durable-session limitations, and error handling.
For “my work,” actual execution progress, thread messages, memory, or health interpretation, also read references/session-inspection.md. Distinguish card stages from running agents, historical messages from current memory, and agent claims from verified repository outcomes.
.env, bearer tokens, saved login contents, or platform/provider credentials.work-item start lacks a supported durable user session, report the block; never substitute another session or invent a session UUID.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
/mastra-skills:mastra-factoryfrom mastra-skills
npx claudepluginhub mastra-ai/skills --plugin mastra-skillsOther plugins' skills for the same job