mastra

Verify Mastra API signatures and build agents using current documentation.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/012e/thesis --skill mastra-012e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mastra
Source: https://github.com/012e/thesis/tree/main/.agents/skills/mastra
Command: npx skills add https://github.com/012e/thesis --skill mastra-012e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Mastra evolves rapidly, causing knowledge drift and integration errors. This skill helps you locate current documentation, verify API signatures, and confidently build agents and workflows.

Core Features & Use Cases

  • Embedded and remote docs lookup to verify APIs against installed versions
  • Guidance on core concepts: agents vs workflows, tools, memory, and RAG
  • Migration awareness and upgrade best practices for Mastra versions

Quick Start

Ask Mastra to guide you to the latest docs, verify API signatures, and start building your first agent or workflow.

Frequently Asked Questions about mastra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Mastra API signatures against my installed version?

To verify Mastra API signatures, you can use embedded docs lookups from local node_modules/@mastra/core/dist/docs or fetch remote documentation to ensure your code matches the currently installed framework version.

What is the difference between agents and workflows in Mastra?

In Mastra, agents and workflows represent distinct core concepts for structuring AI operations. This skill provides guidance on differentiating them, alongside other core concepts like tools, memory, and RAG implementations.

How do I build my first Mastra agent?

To build a Mastra agent, you request guidance to locate current documentation, verify the necessary API signatures, and then follow the provided steps to construct and configure your agent using available providers.

Does this work with local embedded docs or do I need remote docs?

This works with both local embedded docs and remote docs. It automatically applies embedded-docs lookups from node_modules/@mastra/core/dist/docs, while also supporting remote documentation retrieval when local files are unavailable.

How do I check available providers and models for Mastra agents?

To check available providers and models for Mastra agents, you use the provider registry tool. This verifies supported integrations before you configure and build your specific AI workflows.

Why does my Mastra integration break after a framework update?

Mastra integration errors after an update often stem from knowledge drift. This skill addresses migration awareness and upgrade best practices to help you locate current documentation and verify changed API signatures.