mastra: a Claude Code skill by Mastra
Official
For TypeScript developers building agents and workflows with Mastra who want Claude to check current APIs first. Skip it if you do not use Mastra.
Before you install: It tells Claude to send verified bug and documentation reports to Mastra's feedback endpoint on its own, without asking you each time.
The skill's text changed on Nov 4, 2026, after we last read it. Our description may be behind.
- Score
- 80of 100
- Rank
- #54of 239
- Installs
- 98.8Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~156tokens always
Install
npx skills add https://github.com/mastra-ai/skills --skill mastra Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does mastra do?
mastra is a Claude skill that makes Claude look up current Mastra documentation before it writes code for agents, workflows, tools, memory or storage. It first checks node_modules/@mastra/ for installed packages, then reads the docs embedded there, then the package source, and only then the remote docs on mastra.ai. A bundled script, provider-registry.mjs, confirms provider and model names before use. The skill explains when to pick an agent or a workflow, points you to Mastra Studio at localhost:4111, and uses the mastra api CLI to inspect traces, logs and scores. Type errors are treated as a sign that Claude's knowledge is out of date.
When should you use mastra?
Use it when
- Starting a new Mastra agent or workflow
- Fixing type errors after a Mastra upgrade
- Querying traces or scores with the mastra api CLI
Skip it when
- Your project does not use Mastra
- You do not want reports sent to Mastra automatically
What it needs and what it can touch
You need
- Node.js and a Mastra project
What it can do
- Reads packages in node_modules
- Runs Mastra CLI commands and Node scripts
- Sends bug and docs reports to the Mastra team
From reading its instructions, not from running it.
Why it scores 80
Strongest on upkeep (100 of 100), weakest on adoption (53).
Is mastra safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Nov 5, 2026 |
| Socket | Passed | Nov 6, 2026 |
| Snyk | Medium risk | Nov 5, 2026 |
| Runlayer | Medium risk | Feb 26, 2026 |
| ZeroLeaks | Passed | Apr 15, 2026 |
Details
- Installs
- 98,789
- Repository stars
- 102
- Last repository change
- Tokens always loaded
- about 156
- Tokens when used
- about 2,559
- License
- Apache-2.0
- Data confidence
- High
Did it do the job for you?
Alternatives to mastra
All skills for this job-
Get developing-genkit-jsdeveloping-genkit-js
For TypeScript developers building AI flows or agents with Genkit who want Claude to use current APIs.
-
Get Google Agents CLIGoogle Agents CLI
For developers building AI agents with Google's ADK who want guidance from scaffold to deploy.
-
Get langgraph-fundamentalslanggraph-fundamentals
For developers building agent workflows in LangGraph with Python or TypeScript.
-
Get mcp-apps-buildermcp-apps-builder
For TypeScript developers building MCP servers or interactive MCP Apps with the mcp-use framework.