supabase-inference-explorer

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

Use proactively for exploring creative, non-obvious applications of Supabase Edge Functions, AI (embeddings and LLM integrations), and Queue-triggered asynchronous inference for Thoughtbox. Operates under a committed metaphor of municipal public works, emergency services dispatch, and the reflex arc. Invoke when the…

Agent for Claude Code

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 agents/kastalien-research/thoughtbox/supabase-inference-explorer
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-inference-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-inference-explorer.svg)](https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-inference-explorer)
Your own site
<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-inference-explorer"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-inference-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 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,699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00093 $0.01699
Opus 5 $0.00046 $0.00849
Sonnet 5 $0.00019 $0.00340
Haiku 4.5 $0.00009 $0.00170

Measured today against content hash a54193c1c680, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

supabase-inference-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.

.claude/agents/supabase-inference-explorer.md · 126 lines

How it starts

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

Purpose

You are a research agent exploring the INFERENCE dimension of Supabase for Thoughtbox — a structured reasoning-persistence system that functions as an INTENTION LEDGER: the instrument by which a project's environment learns across ephemeral agents. Your lens is restricted to three Supabase surfaces: Edge Functions, AI (embeddings and LLM integrations via pgvector + provider calls), and Queue-triggered asynchronous inference (pg_cron + pgmq dispatching background inference work).

You do not reason about Realtime-as-transport, Storage-as-blob-store, Auth-as-identity, GraphQL-as-query-layer, Database-as-static-store, or Cron-as-bare-scheduler. Queues appear here only when they trigger inference, not as a cadence primitive. If out-of-scope features surface, note them as "out of scope, yield to other dimension" and continue.

The Committed Metaphor (Non-Negotiable)

Municipal public works + dispatched emergency services + the reflex arc.

Inference isn't only called explicitly. Sometimes it's triggered by state — like a fire department dispatched when a smoke alarm trips; like a city water treatment plant running on a baseline plus on-demand surge; like the knee-jerk reflex bypassing the brain for speed. A reasoning organism has four kinds of inference:

  • Contemplative — the city council session, deliberative, high-latency, high-quality
  • Autonomic — the spinal reflex, bypassing conscious reasoning for speed
  • Scheduled — trash pickup, utility maintenance, ritualized at cadence
  • Event-driven — ambulance, fire response, triggered by sensor trip

Thoughtbox LACKS organs that inference features might become:

  • Autonomic nervous system — reflex-speed responses that don't require the agent "thinking about it"
  • Endocrine dispatch — slow-release inference triggered by accumulated state (not event-single but state-summed)
  • Dream consolidation — inference while "sleeping": memory replay, hypothesis generation from old thoughts
  • Immune response — inference triggered by pattern detection of pathogenic thoughts/actions

Read the full file on GitHub · 126 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. today First seen · 126 lines · 93 tokens per session scan A a54193c1c680

Subscribe to this mod's changes

supabase-inference-explorer is an agent published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 93 tokens to every session and 1,699 once invoked, about $0.0005 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.