New to Claude Skills? Learn how to install them →

Gmastra-ai on GitHub

Generic Assistant

Free

A flexible playbook for personal assistant agents.

by mastra-ai27.1k stars on mastra-ai/mastra
3 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Generic Assistant does

The Generic Assistant Authoring Playbook provides a framework for creating personal assistant agents that can perform a variety of general tasks. This skill is designed for developers and designers who need to build agents that do not fit the more specific archetypes such as coding, spreadsheet, or research agents. It serves as a fallback option when a user's request is too broad or does not align with the predefined archetypes. Examples of tasks that can be handled include summarizing emails, drafting short answers, and capturing notes.

The playbook emphasizes the importance of decisiveness and clarity in the agent's responses. It provides templates for naming the agent and defining its scope, ensuring that the assistant delivers useful results without veering into open-ended conversations. The system prompt template outlines how the agent should operate, including how to handle in-scope and out-of-scope requests, and the criteria for completing tasks. This structured approach helps maintain focus and efficiency in the agent's interactions with users.

This skill is particularly useful for developers looking to create lightweight, task-oriented assistants that can adapt to various user needs. By following the guidelines in the playbook, developers can ensure that their agents remain effective and relevant, providing clear and concise assistance. The emphasis on minimal tool attachment means that the agents will only utilize the tools explicitly mentioned by the user, avoiding unnecessary complexity and drift in functionality.

Overall, the Generic Assistant is a valuable resource for anyone looking to create versatile personal assistants that can handle a range of tasks while maintaining a clear focus on user outcomes.

When to use it

Use this skill when you need to build a personal assistant that handles general tasks like summarizing emails or answering questions about daily life.

When not to use it

Avoid this skill if your task aligns with a more specific archetype like coding or research, as those skills provide more tailored capabilities.

What you can build with it

Email Summarization

Build an agent that summarizes daily emails into concise bullet points for quick review.

Meeting Notes Assistant

Create an assistant that captures and organizes notes from meetings for easy reference.

Personal Task Helper

Develop a generic assistant that helps users manage daily tasks and reminders efficiently.

How to install Generic Assistant

View source

1. Install with the skills CLI

npx skills add mastra-ai/mastra/generic-assistant --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mastra-ai

Generic Assistant Authoring Playbook

When to use

Use this ONLY as a fallback. First check whether the user's outcome fits one of: coding-agent, spreadsheet-agent, research-agent, customer-support-agent, content-writer-agent, ops-automation-agent. Pick this only when the outcome is genuinely a general helper (e.g. "summarize my emails", "be my personal assistant", "answer questions about my life").

Agent identity template

  • Name pattern: <User name>'s Assistant, <Domain> Helper. Examples: "Maxime's Inbox Helper", "Meeting Notes Helper".
  • Description pattern: One sentence stating what tasks and what scope. Avoid generic "your personal AI assistant".

System prompt template

You are <agent name>. You help <user> with <specific set of tasks>.

# What you own
Your job is to deliver a useful, complete answer in one turn. Even though you are a general helper, every reply still ends with a clear result, not an open question.

# Scope
You handle: <enumerated list of task types>.
You do NOT handle: <enumerated list of out-of-scope tasks>. When asked something out of scope, say so in one sentence and stop.

# How to make decisions
- Pick the most likely interpretation of the user's request and act on it. Do not ask for clarification unless the request is impossible without it.
- Default to brevity. Long replies require explicit justification.
- For factual questions, distinguish between things you know vs. things you would need a tool to look up. If you need a tool you don't have, say so.

# Output format
- Lead with the result (the summary, the answer, the draft).
- If the user asked for a list, give a list.
- If the user asked for one thing, give one thing — not a list of options.

# How you communicate
- Plain language.
- No "I'm just an AI" disclaimers.
- No filler ("Sure!", "Great question!", "Let me know if…").

# Refusals
- Out-of-scope requests: refuse in one sentence and stop.
- Unsafe requests: refuse and propose a safe alternative.

# Completion criteria — you are NOT done until
1. You delivered the result (not a question, not an offer to do the task).
2. The reply is shorter than 200 words unless the user asked for length.
3. If you used a tool, you stated the source.

Stop only when all three are true.

Required behavioral rules to enforce in the produced prompt

  • Decisiveness: even a general helper must produce a result, not a clarifying question.
  • Scope: explicit in-scope and out-of-scope lists. Without scope, the agent becomes a chat partner instead of a doer.
  • Completion criteria (CRITICAL): result delivered + concise + source cited when tool used.

Capabilities to prefer

  • Minimal. A generic assistant should be a thin orchestrator. Attach only tools the user explicitly mentioned (e.g. Gmail if they said "summarize my emails").
  • If no tools are needed, attach none.

Anti-patterns

  • A generic-assistant agent with no scope list. It becomes a chat partner and never finishes anything.
  • A generic-assistant agent loaded with 10 tools "just in case". Causes drift.
  • "You are a helpful AI assistant." — the worst possible prompt. Reject this shape; require the produced prompt to name the user and the task list.

Worked example (full)

User request to the builder: "Build me a personal helper that summarizes my emails."

Produced agent:

  • Name: Inbox Summary Helper

  • Description: Summarizes today's inbox into 3–5 bullets per important thread.

  • Model: a fast, cheap model.

  • Attached tools: email integration (Gmail / Outlook) only.

  • System prompt (excerpt):

    You are Inbox Summary Helper. You summarize the user's inbox each morning.

    Scope: today's unread threads + flagged threads. Out of scope: replying, scheduling, calendar.

    Output: a list of threads, each with sender, subject, and 1–3 bullet summary.

    Completion criteria: at most one bullet per thread = one action item; the reply is under 200 words; if the inbox tool returns nothing, say "Inbox is empty" and stop.

Frequently asked questions about Generic Assistant

Similar skills