stata-debugger

stata-debugger is an agent for coding agents 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

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

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.

agentmods
npx agentmods add agents/tmonk/mcp-stata/stata-debugger
Clone the repo
git clone --depth 1 https://github.com/tmonk/mcp-stata

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00038 $0.01039
Opus 5 $0.00019 $0.00519
Sonnet 5 $0.00008 $0.00208
Haiku 4.5 $0.00004 $0.00104

Measured 4d ago against content hash 839cb6917db0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (81 stars, last pushed 3mo 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. 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

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

sim-reviewer

Monte Carlo simulation reviewer. Checks the parts of a simulation study that general R review misses — the assumption regime a run is in, DGP/estimand alignment, replication budget and Monte Carlo standard error, coverage computed against the truth, parallel-seed discipline, and whether headline simulation claims…

pedrohcgs/claude-code-my-workflow · 95 tokens

humanize-auditor

Read-only auditor for AI-voice tells in academic prose. Reviews .tex, .qmd, .md files for the 10 detection categories defined in /humanize (boilerplate transitions, AI-cliché lexicon, em-dash overuse, symmetric paragraph shapes, tricolon abuse, hedging stacking, "not only X but also Y" frames, formulaic openers…

pedrohcgs/claude-code-my-workflow · 117 tokens

beamer-translator

Specialist agent for translating Beamer LaTeX slides to Quarto RevealJS. Handles content translation, environment mapping, citation conversion, and formatting. Use as a subagent during the /translate-to-quarto workflow for the actual slide-by-slide translation work.

pedrohcgs/claude-code-my-workflow · 57 tokens

promote-memory-council

Five-critic council that votes YES/NO on whether candidate [LEARN] entries should be promoted from /.claude/projects/ /memory/ (gitignored) to MEMORY.md (committed). Each critic reviews one dimension — generality, staleness, redundancy, evidence, format — in an isolated forked context. Invoked by /promote-memory.

pedrohcgs/claude-code-my-workflow · 86 tokens

work-verifier

Validates completed work. Use after tasks are marked done to confirm implementations are functional.

DataCovey/nornweave · 21 tokens