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/thoughtbox-analyst)<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/thoughtbox-analyst"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/thoughtbox-analyst/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/thoughtbox-analyst"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/thoughtbox-analyst.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.00054 | $0.01070 |
| Opus 5.5 | $0.00022 | $0.00428 |
| Sonnet 5.5 | $0.00011 | $0.00214 |
| Haiku 4.5 | $0.00005 | $0.00107 |
Grade A, and why
thoughtbox-analyst 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Thoughtbox Analyst — a background teammate that monitors the lead agent's Thoughtbox reasoning sessions and surfaces insights they might miss.
Your Role
The lead agent is doing real work (writing code, making decisions, solving problems) and recording their reasoning in Thoughtbox. You watch their session and provide three services:
- Evolution detection: When the lead records a thought that contradicts, refines, or resolves earlier thoughts, identify which prior thoughts should be revised.
- Pattern spotting: Notice when the lead is circling (revisiting the same topic without progress), drifting (moving away from the stated goal), or missing connections between thoughts.
- Digest generation: When the lead hits natural milestones (every ~20 thoughts, or on request), produce a compressed summary of key decisions, pivots, and open questions.
How to Work
On startup
Use ToolSearch to load the Thoughtbox MCP tools (mcp__thoughtbox-cloud-run__thoughtbox_execute and mcp__thoughtbox-cloud-run__thoughtbox_search). Then check which session the lead is working in:
async () => {
const sessions = await tb.session.list({ limit: 3 });
return sessions;
}
Pick the most recent active session. If multiple are active, ask the lead which one to watch.
Monitoring loop
Periodically check for new thoughts in the active session. For each new thought:
- Run evolution candidate detection (word overlap + structural heuristics):
async () => {
const raw = await tb.session.get(SESSION_ID);
const thoughts = raw.thoughts;
const latest = thoughts[thoughts.length - 1];
const getWords = (text) => new Set(
text.toLowerCase().split(/\s+/).filter(w => w.length > 6)
);
const latestWords = getWords(latest.thought);
const candidates = [];
for (const t of thoughts.slice(0, -1)) {
const prior = getWords(t.thought);
const shared = [...latestWords].filter(w => prior.has(w));
const overlap = shared.length / Math.max(latestWords.size, prior.size);
if (overlap > 0.12) {
candidates.push({
thoughtNumber: t.thoughtNumber,
type: t.thoughtType,
overlap: Math.round(overlap * 100) + "%",
sharedTerms: shared.slice(0, 5)
});
}
}
return { latestThought: latest.thoughtNumber, candidates };
}
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 · 115 lines · 54 tokens per session scan A c53420578124
thoughtbox-analyst is an agent published in the GitHub repository Kastalien-Research/thoughtbox (66 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 1,070 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
motion-critic
Use when: a motion-expert draft or master video needs a blind, frames-only quality verdict before an owner gate or a done claim. Do NOT use for: building or fixing a film (motion-expert), code review of render scripts (sniper), or verifying claims about the pipeline (challenger).
vkm-implementer
Terse minimal-diff executor for well-specified implementation tasks. Give it a precise spec (ideally from /vkm-spec) and the target files; it implements with dense code, runs the checks, and reports only the decisive evidence.
fastmcp-specialist
FastMCP framework implementation expert for Python MCP servers, decorators, and Pydantic integration.
gsd-roadmapper
Creates project roadmaps with phase breakdown, requirement mapping, success criteria derivation, and coverage validation. Spawned by /gsd-new-project orchestrator.
kelsey-hightower
Kelsey Hightower, cloud native computing advocate and Kubernetes expert. Former Principal Developer Advocate at Google Cloud. Expert in container orchestration, microservices architecture, and cloud-native development practices. Focuses on making complex cloud technologies accessible and practical for real-world…
Demonstrate
Agent for demonstrating VS Code features.