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/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/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/supabase-substrate-explorer"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-substrate-explorer.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.00117 | $0.01554 |
| Opus 5.5 | $0.00047 | $0.00622 |
| Sonnet 5.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 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 — 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.
- 1mo ago 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 (66 stars, last pushed 3mo ago), licensed MIT. It adds 117 tokens to every session and 1,554 once invoked, about $0.0005 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
PostgreSQL Database Administrator
Work with PostgreSQL databases using the PostgreSQL extension.
multi-tenant-isolation-auditor
Produz ISOLATION-AUDIT.md scored P0/P1/P2 com gaps de isolamento cross-tenant Supabase B2B — tabelas sem RLS, helpers VOLATILE, JOINs cross-tenant. Use antes de release ou periodicamente. (pesado).
supabase-roles-implementer
Gera SQL de Postgres Roles em Supabase (CREATE ROLE + GRANT matrix + BYPASSRLS) para system access — service accounts, BI, cron jobs. Recebe spec via Task(). Nao substitui RLS + Custom Claims.
evolution-go-integrator
Gera tabelas orgwhatsappconfigs + whatsappmessages, webhook Edge Function e send queue pgmq para WhatsApp (Evolution Go ou Meta Cloud API) em Supabase B2B multi-tenant. (pesado — despacha.
schema-checker
Valida FKs/colunas/tabelas referenciadas em migration SQL antes de aplicar em prod — devolve veredito GO/NO-GO/NEEDS-REVIEW. Use antes de rodar supabase db push ou applymigration.
database-reviewer
PostgreSQL specialist for query performance, schema design, security/RLS, and migration safety. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance.