Mastra
Mastra is an agent skill (a SKILL.md file) from mastra-ai/skills. Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. It works with Claude Code and has 95 GitHub stars. Install it by copying the skill folder into your agent's skills directory.
github.com/mastra-ai/skills/skills/mastra (opens in a new tab)
- Official
- Plugin marketplace
- Docs & writing
- Actively maintained
Add this skill
Claude
This repository is a Claude Code plugin marketplace. In Claude Code:
/plugin marketplace add mastra-ai/skills
/plugin install mastra-skills@mastra-agent-skillsIn the Claude apps, zip the mastra folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).
ChatGPT / Codex
Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:
git clone --depth 1 https://github.com/mastra-ai/skills.git
cp -r skills/skills/mastra .agents/skills/mastra # repo; ~/.agents/skills for all projectsStandalone skills also load in the ChatGPT desktop app.
Cursor
Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:
git clone --depth 1 https://github.com/mastra-ai/skills.git
cp -r skills/skills/mastra .cursor/skills/mastra # project; ~/.cursor/skills for all projectsSource (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)
What this skill does
Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. Use for documentation lookup, API verification, TypeScript setup, common errors, migrations, and mastra api CLI tasks: inspect or call resources on local, Mastra platform, Trace Intelligence, or remote servers. For Mastra Factory operations, discover and activate the companion mastra-factory skill.
When it triggers
- Use for documentation lookup, API verification, TypeScript setup, common errors, migrations, and mastra api CLI tasks: inspect or call resources on local, Mastra platform, Trace Intelligence, or remote servers.
Similar skills
More docs & writing skills
Writing Plans
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code.
Docs & writingShellWriting Skills
obra/superpowers
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
Docs & writingShellWriting Beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Docs & writingShellWriting Shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
Docs & writingShellKarpathy Guidelines
multica-ai/andrej-karpathy-skills
Behavioral guidelines to reduce common LLM coding mistakes.
Docs & writingDocument Generate
garrytan/gstack
Generate missing documentation from scratch for a feature, module, or entire project.
Docs & writingTypeScript
What is the Mastra skill?
Mastra is an agent skill (a SKILL.md file) from mastra-ai/skills. Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. It works with Claude Code and has 95 GitHub stars. Install it by copying the skill folder into your agent's skills directory. Its SKILL.md lives at github.com/mastra-ai/skills/skills/mastra.
How do I install the Mastra skill?
In Claude Code, run /plugin marketplace add mastra-ai/skills and then /plugin install mastra-skills@mastra-agent-skills. For Codex or Cursor, copy the mastra folder into .agents/skills/ or .cursor/skills/.
Is the Mastra skill free?
Yes. The repository is open source under the Apache-2.0 license.
Is Mastra maintained?
The repository's most recent commit was on Oct 6, 2026. appsgit only lists skills from repositories with a commit in the last six months.