What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

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).

  • Adoption35 points 53
  • Upkeep20 points 100
  • Trust20 points 94
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

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.

ScannerResultDate
Gen Agent Trust HubPassedNov 5, 2026
SocketPassedNov 6, 2026
SnykMedium riskNov 5, 2026
RunlayerMedium riskFeb 26, 2026
ZeroLeaksPassedApr 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

Alternatives to mastra

All skills for this job