mastra-ai/skills
File-based skills for coding agents that build and operate Mastra apps
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a file-based skill bundle for coding agents working with Mastra, a TypeScript application framework. The general mastra skill introduces core concepts and routes tasks to focused files under references/ for setup, API lookup, migrations, and operations. The standalone mastra-factory skill covers the separate mastra api factory CLI workflow. The host agent loads the instructions and decides which references or external commands to use.
The .well-known/skills/index.json index and the two SKILL.md entrypoints provide skill discovery, not a tool RPC interface. The root tree includes .claude-plugin/, but its presence does not establish a server runtime. Despite the MCP taxonomy label, the observed integration is skill installation: the exposed artifacts do not establish an MCP transport, tool-registration endpoint, or standalone server process.
Key Capabilities & Differentiators
For development, mastra covers project creation, common errors, and version migrations. For version-sensitive API questions, it directs the agent to embedded docs at node_modules/@mastra/*/dist/docs/ or to https://mastra.ai/llms.txt for remote lookup. Its operational references cover using the Mastra API CLI to inspect and call resources on local, Platform, or remote servers, as well as mastra deploy and Platform workspaces.
The Gateway reference covers shared credentials across providers, failover, spend tracking, and mastra/ model identifiers. Trace guidance covers selecting completed traces with recursive predicates and cursor pagination. Factory guidance covers first-use CLI and login checks, URL-based connection, project and queue summaries, and work-item session, thread, and memory inspection. It separates evidence that an item needs attention from permission to perform a repair. These are workflows the skills teach; the bundle does not itself implement the Gateway, trace engine, or Factory service.
Trade-offs & Limitations
Compared with asking an agent to browse framework docs directly, a single Mastra entrypoint gives recurring tasks more consistent routing across API lookup, migrations, and operations. The trade-off is that the host must load the skill, choose the right reference, and respect CLI authorization boundaries. For a version-sensitive question, checking the docs shipped with the installed package is more reliable than assuming a remote example matches that version. For a one-off API lookup, direct documentation access may be simpler.
Compared with a true MCP integration, this bundle does not expose structured callable tools through a server contract; it guides an agent in using a separate CLI where appropriate. That leaves no skill server to operate, but also no uniform invocation or permission boundary supplied by the bundle. Installation is not an authorization mechanism for mutations. The root contains a LICENSE file, but the license type and terms are not established here, so commercial reuse or repackaging requires checking the file itself.
Hardware & Deployment Guide
The primary install path is npx skills add mastra-ai/skills, which requires an environment with npx available. Other documented paths use gh skill install mastra-ai/skills, .well-known discovery via npx skills add https://mastra.ai/, or a manual clone followed by agent configuration. Add --skill mastra-factory to install only Factory. Select the supported agent and scope explicitly for a global install. PromptScript requires project scope; check the target agent after multi-agent installs because only some integrations may succeed.
Use npx skills list (add -g for global scope) and check that the target agent has the expected skill references linked. Local copies and docs embedded in installed Mastra packages can support lookup without fetching remote docs; remote discovery and hosted workflows still require connectivity. Factory operations also depend on the Mastra CLI, the relevant login, and a reachable target. There is no documented GPU or persistent service prerequisite for the bundle itself, no verified runtime version minimum, and no listed release milestone to use as a compatibility anchor.
Teams using a supported coding agent for recurring Mastra API lookup, migrations, deployment work, or authorized Factory diagnostics.
You need a callable MCP endpoint, a self-contained operations runtime, or a deployment that must operate entirely offline while relying on hosted Mastra services.
Quick Start & Installation
npx skills add mastra-ai/skillsComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| skills ★ | 108 | +1 | JavaScript | — | File-based skills for coding agents that build and operate Mastra apps |
| taste-skill | 125.3k | +2.9k | JavaScript | MIT | An agent skill for directing company website design and checking builds in a bro |
| agent-skills | 122.5k | +1.7k | JavaScript | MIT | A modular skill pack for consistent coding-agent workflows, from spec to release |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/mastra-ai/skills.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about skills
Do I register an MCP server or install a coding-agent skill?
How much compute or VRAM does this add?
Can we redistribute the skills commercially or host them internally?
When is this preferable to direct documentation lookup or an MCP integration?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy