What is mastra?
mastra is a Claude skill by mastra-ai that comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. Use for native capability discovery, logging, tracing,. It is listed under Engineering practice and has 108 GitHub stars.
| Type | Claude skill |
|---|---|
| Author | mastra-ai |
| Repository | mastra-ai/skills |
| Popularity | 108 GitHub stars |
| Category | Engineering practice |
| Security | Low risk (84/100) |
| Rank | #1,030 of 1,427 Claude skills; #170 in Engineering practice |
| SKILL.md length | 171 lines |
| Last commit | 2026-11-30 |
| Stars this week | +1 |
| Installs in the last 24h | 1,300 |
Is mastra safe to install?
mastra scores 84/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 9 checks.
Skill results come from a static scan of its SKILL.md for instruction overrides, hidden actions, risky commands and credential access.
| Check | Result |
|---|---|
| No instruction-override phrases | Pass |
| No hidden actions | Pass |
| No pipe-to-shell installers | Pass |
| No obfuscated code | Pass |
| No destructive commands | Pass |
| Reads keys or credentials | Note |
| Makes network requests | Note |
| Runs shell commands | Note |
| Installs packages | Note |
What the scan matched
- credentials:
credentials - network:
https:// - shell:
```bash - package install:
npx - scripts:
scripts/provider-registry.mjs
How do I install mastra?
- Install with the skills CLI. Works for Claude Code and other agents that read skills.
npx skills add https://github.com/mastra-ai/skills --skill mastra
- Or copy it by hand. Claude Code loads any folder with a SKILL.md from ~/.claude/skills.
git clone https://github.com/mastra-ai/skills cp -r skills/skills/mastra ~/.claude/skills/mastra
- Use it. Claude loads the skill when a task matches its description. You can also name it in your prompt.
Use the mastra skill to …
Or ask Claude to set it up
Paste this into Claude Code and it installs mastra for you:
Install the "mastra" skill from https://github.com/mastra-ai/skills/tree/main/skills/mastra into ~/.claude/skills, then tell me in one line what it does.