Skills
Skill 1 of 2
Operate and supervise Mastra Factory through
mastra api factory2 minutes · 369 words · 5 sections
Install
npx skills add mastra-ai/skills --skill mastra-factorynpx skills add mastra-ai/skills/plugin marketplace add mastra-ai/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Use mastra api factory as the operational control plane for Factory.
Read references/connection.md (opens in a new tab). 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-supervisor.md (opens in a new tab) 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 (opens in a new tab). 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 the supervisor session or invent a session UUID.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.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/mastra-factory/SKILL.mdmain, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Mastra, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./mastra-ai/skills.md, and each skill at its own .md URL.3 files · 36 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 1.
Documentation the agent loads on demand, rather than up front.