supabase-substrate-explorer

supabase-substrate-explorer is an agent for Claude Code from Kastalien-Research/thoughtbox. It costs 117 tokens per session (1,554 once invoked), scanned A, original, MIT.

A research agent focused on using Supabase's database, file storage, and vector search features to extend a reasoning system.

In plain words
What is it for?
Use it to investigate Postgres data models, stored files, vector embeddings, and creative applications of these Supabase building blocks.
Why use it?
It helps explore ways to store, connect, and retrieve persistent reasoning data when ordinary database design is not enough.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to investigate Postgres data models, stored files, vector embeddings, and creative applications of these Supabase building blocks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kastalien-research/thoughtbox/supabase-substrate-explorer
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.

Clone the repo
git clone --depth 1 https://github.com/Kastalien-Research/thoughtbox

Made for: Claude Code.

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 supabase-substrate-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-substrate-explorer/github.svg)](https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-substrate-explorer)
Your own site
<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.

agentmods 80×15 button for supabase-substrate-explorer

Your own site · 80×15
<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>
Per session 117 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00117 $0.01554
Opus 5.5 $0.00047 $0.00622
Sonnet 5.5 $0.00023 $0.00311
Haiku 4.5 $0.00012 $0.00155

Measured 1mo ago against content hash a3e12e1493aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/agents/supabase-substrate-explorer.md · 110 lines

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:

Read the full file on GitHub · 110 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. 1mo ago First seen · 110 lines · 117 tokens per session scan A a3e12e1493aa

Subscribe to this mod's changes

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.