test-suite

test-suite is a skill for Claude Code, Codex from Kastalien-Research/thoughtbox. It costs 51 tokens per session (1,213 once invoked), scanned A, original, MIT.

A test suite for checking a live Thoughtbox Code Mode MCP server. It tests the server's public tools and workflows, including thoughts, sessions, knowledge, protocols, and the hub.

In plain words
What is it for?
Use it to test search and execution, thought workflows, session operations, knowledge-graph actions, protocol lifecycles, and hub behavior.
Why use it?
It shows whether the server behaves according to its public interface, rather than relying only on individual manual checks.

Skill for Claude CodeCodex

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 skills/kastalien-research/thoughtbox/test-suite
Any agent
npx skills add Kastalien-Research/thoughtbox --skill test-suite
Clone the repo
git clone --depth 1 https://github.com/Kastalien-Research/thoughtbox

Made for: Claude Code, Codex.

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 test-suite

README.md
[![agentmods](https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/test-suite.svg)](https://agentmods.dev/skills/kastalien-research/thoughtbox/test-suite)
Your own site
<a href="https://agentmods.dev/skills/kastalien-research/thoughtbox/test-suite"><img src="https://agentmods.dev/badge/skills/kastalien-research/thoughtbox/test-suite.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00051 $0.01213
Opus 5 $0.00026 $0.00607
Sonnet 5 $0.00010 $0.00243
Haiku 4.5 $0.00005 $0.00121

Measured 5d ago against content hash a3fe3a3e314b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

test-suite 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 5d 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.

.agents/skills/test-suite/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Thoughtbox Code Mode Behavioral Test Suite

Run behavioral tests against a live Thoughtbox MCP server whose public surface is Code Mode.

The authoritative hosted contract is:

  • thoughtbox_search
  • thoughtbox_execute
  • thoughtbox_peer_notebook

The legacy progressive-disclosure suite (thoughtbox_init, thoughtbox_operations, raw per-domain tools) is no longer the primary behavioral contract for /mcp. Treat the old 01-09 markdown files in this folder as historical reference only unless you are explicitly auditing legacy behavior.

Test Files

# File Focus Tests
01 tests/01-codemode-surface.md Public MCP surface and instructions 4
02 tests/02-codemode-search.md Search catalog discovery 5
03 tests/03-codemode-thought.md Thought workflows: all types, branching, revision, agents 15
04 tests/04-codemode-sessions.md Session CRUD, search, resume, export, analysis 8
05 tests/05-codemode-knowledge.md Knowledge graph: entities, relations, traversal 5
06 tests/06-codemode-protocols.md Theseus, Ulysses, and observability lifecycles 8
07 tests/07-hub.md Hub coordination via tb.hub.*: identity, workspaces, problems, proposals, consensus, channels 15

Total: 60 behavioral tests across the 3-tool Code Mode surface

Every test creates real data in Supabase and verifies it through retrieval. The suite should leave named sessions visible in the web app's Runs view.

How to Run

Step 1: Verify the server is running

Confirm the live MCP server is reachable and using the Code Mode surface:

  1. Connect to the server.
  2. Call tools/list.
  3. Verify the tool list is exactly:
    • thoughtbox_search
    • thoughtbox_execute
    • thoughtbox_peer_notebook

If raw tools like thoughtbox_init, thoughtbox_session, or thoughtbox_hub appear in tools/list, the behavioral suite should fail immediately because the hosted surface is not the intended Code Mode contract.

Read the full file on GitHub · 130 lines

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. 5d ago First seen · 130 lines · 51 tokens per session scan A a3fe3a3e314b

Subscribe to this mod's changes

test-suite is a skill published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,213 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-08-30.