Official agent skills for coding agents working with the Mastra AI framework
Start reading — 2 minnpx skills add mastra-ai/skills/plugin marketplace add mastra-ai/skillsOther102 stars1,518 wordsUpdated 4 November 2026
| Week | Installs |
|---|---|
| Week 1 | 4,683 |
| Week 2 | 4,662 |
| Week 3 | 5,990 |
| Week 4 | 5,508 |
| Week 5 | 6,245 |
| Week 6 | 5,598 |
| Week 7 | 6,834 |
| Week 8 | 6,704 |
Typeset in this issue’s own colours, resolved from the owner’s published design.md.
Official Mastra skills for agents working with the Mastra framework (opens in a new tab). Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
npx skills add mastra-ai/skillsMastra also supports the .well-known skills discovery standard (opens in a new tab):
npx skills add https://mastra.ai/Single comprehensive skill for all Mastra development. Uses progressive disclosure with reference files covering:
references/create-mastra.md): CLI and manual project setupreferences/embedded-docs.md): Find APIs in node_modules/@mastra/*/dist/docs/references/remote-docs.md): Fetch from https://mastra.ai/llms.txtreferences/common-errors.md): Common errors and solutionsreferences/migration-guide.md): Version upgrade workflowsreferences/mastra-api.md): Inspect and call resources on local, platform, or remote serversreferences/platform.md): Build and deploy apps to Mastra Platform with Platform APIs, mastra deploy, and Platform workspacesreferences/trace-query.md): Select completed traces with recursive predicates and cursor paginationreferences/feedback.md): report verified bugs and concrete documentation defects to the Mastra teamMain skill file teaches core concepts and routes to appropriate reference files based on user questions.
Standalone Factory skill for coding agents using mastra api factory. Covers first-use CLI/login checks and URL-based connection from any directory, project and queue summaries, work-item session/thread and memory inspection, health interpretation, and user-authorized operations.
Install just the Factory skill with interactive agent/scope selection:
npx skills add mastra-ai/skills --skill mastra-factoryFor a global install, specify your supported agent explicitly (--agent <agent> -g). PromptScript does not support global installation; use project scope for that agent instead, and confirm the skill is linked (a copied-but-”not linked” result means it is not active yet). Multi-agent installs can partially succeed: verify the intended agent with npx skills list (add -g for global scope) and confirm its skill references are present.
git clone https://github.com/mastra-ai/skills.gitThen configure your agent to load skills from the cloned directory.
.well-known skills discoveryThis repository is served via the RFC 8615 Well-Known URI (opens in a new tab) at https://mastra.ai/.well-known/skills/.
Agents can discover available skills by fetching:
https://mastra.ai/.well-known/skills/index.jsonhttps://mastra.ai/.well-known/skills/mastra/SKILL.mdhttps://mastra.ai/.well-known/skills/mastra-factory/SKILL.mdThis enables automatic skill discovery without manual configuration.
Contributions welcome!
SKILL.md files.well-known Skills RFC (opens in a new tab)Apache-2.0 - See LICENSE (opens in a new tab) for details
main, last pushed 4 November 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.