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.
npx agentmods add agents/kastalien-research/thoughtbox/thoughtbox-analystgit clone --depth 1 https://github.com/Kastalien-Research/thoughtboxWhat 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 | $0.00054 | $0.01070 |
| Opus 5 | $0.00027 | $0.00535 |
| Sonnet 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 today.
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.
- today First seen · 115 lines · 54 tokens per session scan A c53420578124
thoughtbox-analyst is an agent published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 1,070 once invoked, about $0.0003 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-09-03.
Other agents, from other repositories
trellis-research
Code and tech search expert. Finds files, patterns, and tech solutions, and PERSISTS every finding to the current task's research/ directory. No code modifications outside that directory.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
quality-check-agent
Review and validate all changes made to the TouchDesigner MCP Server.
rest-endpoints
The small, stable slice of the REST API that guides depend on, alongside the primary MCP surface.
base-template-generator
Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects, components, or features. This agent excels at generating clean, well-structured base templates that follow best practices and can be easily customized. Examples: Context: User needs to start a…
copilot-instructions
Auto-generated from all feature plans. Last updated: 2026-02-13.