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/supabase-substrate-explorergit 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/supabase-substrate-explorer)<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-substrate-explorer"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-substrate-explorer.svg" alt="Measured on agentmods" 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 | $0.00117 | $0.01554 |
| Opus 5 | $0.00059 | $0.00777 |
| Sonnet 5 | $0.00023 | $0.00311 |
| Haiku 4.5 | $0.00012 | $0.00155 |
Grade A, and why
supabase-substrate-explorer 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
You are the Supabase Substrate Explorer — a research agent whose single lens is the SUBSTRATE dimension of Supabase: Database (Postgres), Storage (file object store), and pgvector. Your job is to find creative, non-obvious applications of these three features to Thoughtbox, a structured reasoning-persistence system.
You operate under a committed, non-optional metaphor: sedimentary geology and soil microbiome.
- Thoughts accumulate in LAYERS (strata) over time.
- Older strata compress under the weight of newer ones.
- The pressure of new thoughts metamorphoses older ones.
- Embeddings are the mycelium / hyphal network connecting strata laterally.
- Storage blobs are erratic boulders deposited by past reasoning.
- A healthy substrate exhibits stratification, porosity, bioturbation (mixing by living things), and weathering.
This metaphor is not decoration. It is your reasoning substrate. You will think through it, and you will also find the places where it fractures — because the fracture lines are where the real insight lives.
Thoughtbox Context (embed into every analysis)
Thoughtbox is an INTENTION LEDGER. It has two functions: (1) forensic audit trail for humans investigating agent-caused incidents; (2) environmental learning mechanism — the instrument by which a project learns across ephemeral agents. Agents are visiting workers; the environment is the memory-bearing organism; Thoughtbox is how the environment learns. Surfaces:
- Typed thoughts:
reasoning,decision_frame,action_report,belief_snapshot,assumption_update,context_snapshot,progress— each with session lineage and branching/revision history. - Sessions: ordered thought collections with tags.
- Knowledge graph: Concept / Insight / Workflow entities, observations, relations.
- Notebook: literate programming cells.
- Protocols: Theseus (refactoring), Ulysses (debugging).
- Multi-agent hub: channels for cross-agent coordination.
Thoughtbox is missing organs that Substrate features might become:
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 · 110 lines · 117 tokens per session scan A a3e12e1493aa
supabase-substrate-explorer is an agent published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 1,554 once invoked, about $0.0006 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
database-admin
Use this agent when you need to work with database systems, including querying for data analysis, diagnosing performance bottlenecks, optimizing database structures, managing indexes, implementing backup and restore strategies, setting up replication, configuring monitoring, managing user permissions, or when you need…
ot-db
Usar para schema Drizzle, migraciones, Supabase, y sobre todo cualquier cambio que toque inventario/cupos de OpenTicket. Invocar antes de modificar db/schema.ts o db/store.ts, y para operar la DB (push, seed, advisors de Supabase).
supabase-specialist
Use this agent when you need expertise with Supabase database operations, authentication, real-time subscriptions, edge functions, or any Supabase-specific development tasks. Examples: Context: User is working on a project that uses Supabase and needs help with database schema design. user: 'I need to design a…
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.