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/skillsOther86 stars1,310 wordsUpdated 21 September 2026
| Week | Installs |
|---|---|
| Week 1 | 916 |
| Week 2 | 1,424 |
| Week 3 | 3,380 |
| Week 4 | 3,693 |
| Week 5 | 3,620 |
| Week 6 | 4,445 |
| Week 7 | 4,690 |
| Week 8 | 4,665 |
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/trace-query.md): Select completed traces with recursive predicates and cursor paginationreferences/trace-intelligence.md): Query recurring themes across agent traces on the Mastra platformMain skill file teaches core concepts and routes to appropriate reference files based on user questions.
Standalone Factory supervisor 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 21 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.