stata-debugger

stata-debugger is an agent for Claude Code from tmonk/mcp-stata. It costs 38 tokens per session (1,039 once invoked), scanned A, original, AGPL-3.0.

An assistant for diagnosing and fixing Stata problems. Stata is software commonly used for statistics and data analysis; the assistant is meant for errors, unexpected results, error codes, or do-files that do not work as expected.

In plain words
What is it for?
Use it when reporting a Stata error, an unexpected result, an rc error code, or a broken do-file.
Why use it?
It helps identify why a Stata command or do-file failed instead of leaving you to interpret the error alone.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mcp-stata plugin — 20 skills, 4 agents, 1 hook shipped together

Good fit Use it when reporting a Stata error, an unexpected result, an rc error code, or a broken do-file.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tmonk/mcp-stata/stata-debugger
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/tmonk/mcp-stata

Made for: Claude Code.

Or install mcp-stata, the plugin that ships this one along with the rest of its 20 skills, 4 agents, 1 hook.

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 stata-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/tmonk/mcp-stata/stata-debugger/github.svg)](https://agentmods.dev/agents/tmonk/mcp-stata/stata-debugger)
Your own site
<a href="https://agentmods.dev/agents/tmonk/mcp-stata/stata-debugger"><img src="https://agentmods.dev/badge/agents/tmonk/mcp-stata/stata-debugger/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 stata-debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/tmonk/mcp-stata/stata-debugger"><img src="https://agentmods.dev/badge/agents/tmonk/mcp-stata/stata-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,039 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 unknown 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.00038 $0.01039
Opus 5.5 $0.00015 $0.00416
Sonnet 5.5 $0.00008 $0.00208
Haiku 4.5 $0.00004 $0.00104

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

Security

Grade A, and why

stata-debugger 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 1mo 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.

plugin/agents/stata-debugger.md · 95 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 1mo ago First seen · 95 lines · 38 tokens per session scan A 839cb6917db0

Subscribe to this mod's changes

stata-debugger is an agent published in the GitHub repository tmonk/mcp-stata (87 stars, last pushed 5mo ago), licensed AGPL-3.0. It adds 38 tokens to every session and 1,039 once invoked, about $0.0002 per session on Opus 5.5. 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

timps_context_briefing

Get a 3-sentence resumption briefing from the Context Keeper: what you were working on, current state (uncommitted changes, broken tests), and recommended next step. Use when the user says 'what was I doing' or 'catch me up'. Use the timpscontextbriefing MCP tool to perform this task. Do not answer directly — delegate…

Sandeeprdy1729/timps-swarm · 88 tokens

timps_environment_doctor

Diagnose broken development environments. Checks Python, Node.js, Docker, Git, PATH integrity, shell config conflicts. Returns exact terminal commands to fix each issue. Use the timpsenvironmentdoctor MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 65 tokens

timps_incident_responder

Multi-source log correlation for production incidents. Gathers Docker + app logs, builds a timeline, and generates a triage report. Use the timpsincidentresponder MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 61 tokens

timps_incident_response_coordinator

Turn an active incident (SIEM alert, customer report, CVE disclosure) into a play-by-play response with comms, containment, and a postmortem stub. Use the timpsincidentresponsecoordinator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 72 tokens

timps_issue_triager

Triage a bug report or GitHub issue: detect duplicates, assign severity (critical/high/medium/low), suggest labels and owner. Pass the raw issue title and body text. Use the timpsissuetriager MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 70 tokens

timps_kubernetes_navigator

Diagnose Kubernetes workloads: pods, services, ingress, RBAC, resources, network policies. Outputs fix YAML and Helm/Kustomize patches. Use the timpskubernetesnavigator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 64 tokens