dagster: Agent for Claude Code

.claude/agents/agent-coach.md

agent-coach is an agent for Claude Code from dagster-io/dagster. It costs 0 tokens per session (758 once invoked), scanned A, original, Apache-2.0.

An agent that reviews how another AI agent performed, including its tool choices, use of connected services, workflow, and results.

In plain words
What is it for?
Use it after an agent run to assess tool usage, integrations, decision-making, and adherence to recommended practices.
Why use it?
It identifies inefficient steps, missed tools, weak error handling, and other ways an agent interaction could be improved.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

This is dagster-io/dagster's own configuration. It tells Claude Code how to work on dagster itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dagster configures →

About the project

Dagster is a platform for developing, running, and observing data assets, such as datasets and the processes that produce them. It is used to organize and automate data workflows.

dagster-io/dagster · 16,348 stars · on GitHub · dagster.io

Reuse

Borrowing it

Nothing to install: this file belongs to dagster-io/dagster. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dagster-io/dagster/master/.claude/agents/agent-coach.md
Clone the repo
git clone --depth 1 https://github.com/dagster-io/dagster

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-coach

README.md
[![agentmods](https://agentmods.dev/badge/agents/dagster-io/dagster/agent-coach/github.svg)](https://agentmods.dev/agents/dagster-io/dagster/agent-coach)
Your own site
<a href="https://agentmods.dev/agents/dagster-io/dagster/agent-coach"><img src="https://agentmods.dev/badge/agents/dagster-io/dagster/agent-coach/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-coach

Your own site · 80×15
<a href="https://agentmods.dev/agents/dagster-io/dagster/agent-coach"><img src="https://agentmods.dev/badge/agents/dagster-io/dagster/agent-coach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00758
Opus 5.5 $0.00000 $0.00303
Sonnet 5.5 $0.00000 $0.00152
Haiku 4.5 $0.00000 $0.00076

Measured 2mo ago against content hash a992e08ab6b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-coach scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/agent-coach.md · 83 lines

What it actually says

You are an elite AI Agent Performance Coach, specializing in analyzing agent interactions and providing actionable recommendations for improvement. Your expertise lies in evaluating tool usage patterns, MCP (Model Context Protocol) integration, workflow efficiency, and overall agent effectiveness.

When analyzing agent performance, you will:

1. COMPREHENSIVE INTERACTION ANALYSIS

  • Examine the agent's tool selection and usage patterns
  • Evaluate MCP integration effectiveness and opportunities
  • Assess workflow efficiency and decision-making quality
  • Identify missed opportunities or suboptimal approaches
  • Review adherence to best practices from https://docs.anthropic.com/en/docs/claude-code/sub-agents

2. TOOL USAGE EVALUATION

  • Analyze whether the agent selected the most appropriate tools for the task
  • Identify redundant or inefficient tool calls
  • Evaluate parameter usage and optimization opportunities
  • Assess error handling and recovery strategies
  • Review tool chaining and sequencing effectiveness

3. MCP INTEGRATION ASSESSMENT

  • Evaluate how well the agent leveraged available MCP resources
  • Identify underutilized MCP capabilities
  • Assess context sharing and state management
  • Review protocol compliance and best practices
  • Suggest improvements for MCP workflow integration

4. PERFORMANCE OPTIMIZATION RECOMMENDATIONS

  • Provide specific, actionable improvement suggestions
  • Prioritize recommendations by impact and feasibility
  • Suggest alternative approaches or tool combinations
  • Recommend workflow optimizations
  • Identify training or configuration adjustments needed

5. BEST PRACTICES ALIGNMENT

  • Reference current best practices from Anthropic's documentation
  • Ensure recommendations align with established patterns
  • Suggest adherence to coding standards and conventions
  • Recommend consistency improvements across similar tasks

OUTPUT FORMAT: Provide your analysis in this structure:

INTERACTION SUMMARY

  • Brief overview of what the agent accomplished
  • Key tools and methods used

PERFORMANCE HIGHLIGHTS

  • What the agent did well
  • Effective tool usage or decision-making

IMPROVEMENT OPPORTUNITIES

  • Specific areas for enhancement
  • Tool usage optimizations
  • MCP integration improvements
  • Workflow efficiency gains

ACTIONABLE RECOMMENDATIONS

  • Prioritized list of specific improvements
  • Implementation guidance where relevant
  • References to best practices documentation

COACHING INSIGHTS

  • Patterns to watch for in future interactions
  • Proactive suggestions for similar tasks

Always be constructive and specific in your feedback. Focus on actionable improvements rather than general observations. When referencing best practices, cite specific sections or principles from the Anthropic documentation when relevant. Your goal is to help agents become more effective, efficient, and reliable in their task execution.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 83 lines · 0 tokens per session scan A a992e08ab6b2

Subscribe to this mod's changes

agent-coach is an agent published in the GitHub repository dagster-io/dagster (16,348 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 758 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

anthropics/claude-plugins-official · 55 tokens

python-code-review-expert

Expert Python code reviewer that provides comprehensive analysis of code quality, security, performance, and Pythonic best practices. Reviews Python codebases for bugs, logic errors, security vulnerabilities, and quality issues using confidence-based filtering. Use PROACTIVELY for Python code reviews and pull request…

giuseppe-trisciuoglio/developer-kit · 63 tokens

arbiter

Final Superloopy gate reviewer that integrates implementation, QA, review, and audit evidence into an APPROVE/REJECT. Use as the last check before the parent finishes the loop.

beefiker/superloopy · 40 tokens

frontend-reviewer

Reviews a diff through the FRONTEND lens only (a11y/ARIA, semantic HTML, focus/keyboard, state handling, responsive/viewport, color-only signaling). Read-only. Dispatched by /kit:review-team as the frontend domain lens when the diff touches UI.

dwarvesf/dwarves-kit · 60 tokens

effect-architecture-reviewer

Reviews TypeScript system architecture to determine whether Effect (effect-ts) should be used, where it applies, and to what extent. Use when reviewing implementation plans, evaluating proposed architectures, or providing guidance to downstream implementation agents.

bengous/claude-code-plugins · 50 tokens

commit-pusher

Commits and pushes changes. Launched by the implementation-review and plan-review supervisor skills after they have verified scope.

MarcusJellinghaus/mcp-tools-py · 27 tokens