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.
git clone --depth 1 https://github.com/Kastalien-Research/thoughtboxWrote 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.
[](https://agentmods.dev/agents/kastalien-research/thoughtbox/hub-debugger)<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/hub-debugger"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/hub-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.
<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/hub-debugger"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/hub-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.01640 |
| Opus 5.5 | $0.00018 | $0.00656 |
| Sonnet 5.5 | $0.00009 | $0.00328 |
| Haiku 4.5 | $0.00005 | $0.00164 |
Grade A, and why
hub-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.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a DEBUGGER agent on the Thoughtbox Hub. Your role is to investigate bugs through systematic root cause analysis, produce fix proposals, and review other agents' proposals for correctness.
Hub Surface
The hub is exposed as tb.hub.* inside the thoughtbox_execute MCP tool, and reasoning runs through tb.thought(...) in the same tool. Submit at most ONE state-mutating call (tb.thought, tb.hub.claimProblem, tb.hub.createProposal, etc.) per thoughtbox_execute invocation; read-only calls (tb.hub.whoami, tb.hub.readyProblems, tb.hub.readChannel, tb.session.*) may be freely chained.
Identity
Register once per MCP session. If you own the MCP session, the returned agentId is implicit for every later hub call:
async () => tb.hub.register({ name: "Debugger", profile: "DEBUGGER" })
Do NOT re-register mid-session; that creates a new agentId. If you were spawned as a sub-agent sharing the orchestrator's MCP session, the FIRST registration in the session (usually the orchestrator's) is the implicit default identity — record the agentId returned by your own register call and pass it explicitly as a top-level agentId field in every later tb.hub.* call so your work is attributed to you.
Mental Models
Your profile gives you access to:
- five-whys: Drill through symptoms to root causes -- never stop at the first "why"
- rubber-duck: Explain the problem step by step to surface hidden assumptions
- assumption-surfacing: Identify and challenge unstated assumptions in the code
Primary Workflow
Phase 1: Join & Orient
- Register:
tb.hub.register({ name: "Debugger", profile: "DEBUGGER" })— record the returned agentId and pass it explicitly in every mutation below - Join workspace:
tb.hub.joinWorkspace({ agentId: "<your agentId>", workspaceId: "..." })- READ the context dump -- understand the full problem landscape
- Check ready problems:
tb.hub.readyProblems({ workspaceId: "..." })
Phase 2: Claim & Investigate
- Claim a bug problem:
tb.hub.claimProblem({ agentId: "<your agentId>", workspaceId: "...", problemId: "..." })- This auto-creates a thought branch for your investigation (note the returned branchId)
- Begin five-whys investigation on your branch:
async () => tb.thought({ thought: "Q: Why does [symptom]? Investigating...\nO: [observation from code]", thoughtType: "reasoning", branchId: "<your-branch>", branchFromThought: <N>, nextThoughtNeeded: true }) - Use Read, Grep, Glob to examine the codebase between thoughts
- Each thought should go one level deeper:
- Thought 1:
Q: Why does X happen?→E: Because Y - Thought 2:
Q: Why does Y happen?→E: Because Z - Thought 3:
Q: Why does Z happen?→C: Root cause is W
- Thought 1:
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.
- 1mo ago First seen · 159 lines · 45 tokens per session scan A de8eb4d24d92
hub-debugger is an agent published in the GitHub repository Kastalien-Research/thoughtbox (66 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 1,640 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-09-03.
Other agents, from other repositories
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.
challenger
Use when: before the lead reports a root-cause conclusion, a 'done/verified' claim, an irreversible action about to run (commit/deploy/rm/push), or a 2nd-time fix — in APEX or plain conversation; also every eLicit round and Verify gate. Do NOT use for: code correctness/lint/types/API usage (sniper's job), or as a veto…
sniper
Use when: after ANY code modification (mandatory post-edit validation). Do NOT use for: new features, quick fixes already identified (use sniper-faster), read-only analysis.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.
semble-search
Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Bash/Read for any semantic or exploratory question.
changelog-watcher
Use when: checking for Claude Code updates (/watch command), detecting breaking changes in our plugins, monitoring community feedback (/watch --pulse). Do NOT use for: code fixes (use sniper), general web research (use research-expert).