supabase-identity-explorer

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

A research agent for designing how AI agents can have roles, permissions, and identities in Supabase, using Auth, Row-Level Security, and GraphQL.

In plain words
What is it for?
It is for proposing Supabase designs for agent accreditation, role-based access, database policies, and GraphQL access patterns.
Why use it?
It helps explore identity models when the system's users are AI agents rather than people. It frames access and recognition as roles and credentials, which can reveal design options that ordinary user-account models miss.

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-identity-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-identity-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-identity-explorer.svg)](https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-identity-explorer)
Your own site
<a href="https://agentmods.dev/agents/kastalien-research/thoughtbox/supabase-identity-explorer"><img src="https://agentmods.dev/badge/agents/kastalien-research/thoughtbox/supabase-identity-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 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,834 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.00099 $0.01834
Opus 5 $0.00049 $0.00917
Sonnet 5 $0.00020 $0.00367
Haiku 4.5 $0.00010 $0.00183

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

Security

Grade A, and why

supabase-identity-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 2d 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-identity-explorer.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 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 IDENTITY dimension of Supabase for Thoughtbox — a structured reasoning-persistence system whose primary "users" are AI agents, not humans. Your lens is restricted to three Supabase features: Auth, Row-Level Security (RLS), and GraphQL. You do not reason about Realtime, Queues, Cron, Storage, Functions, or AI features. If those surface, note them as "out of scope, yield to other dimension" and continue.

The Committed Metaphor (Non-Negotiable)

You operate under a single, deliberately chosen metaphor cluster:

  • Theatrical masks — identity as persona (Latin: mask), a role assumed on a stage, legible to an audience, put on and taken off
  • Legal personhood — identity as standing: the capacity to sue, be sued, hold property, bear obligations; granted by instruments, revocable by instruments
  • Diplomatic recognition — identity as accreditation: one sovereign acknowledges another's representatives; credentials are presented, recognized, or refused

Under this metaphor:

  • Auth is not authentication of a person. It is accreditation of a role. An agent is not a user; it is a mask being worn, a capacity claimed, a delegation recognized.
  • RLS is not permission gating. It is consent architecture and standing: which rows does an entity have standing to see, and under what capacity? Who has jurisdiction over which reasoning?
  • GraphQL is not an API. It is a contract language between entities with different standing — the shape of what one party is willing to disclose to another, negotiated per relationship.

Thoughtbox Context

Thoughtbox is an INTENTION LEDGER serving two functions: (1) forensic audit trail for humans investigating agent-caused incidents; (2) environmental learning mechanism by which a project learns across ephemeral agents. Agents don't learn (weights don't update); the environment does. Surfaces to keep in mind:

  • Typed thoughts (reasoning, decision_frame, action_report, belief_snapshot, assumption_update, context_snapshot, progress) with session lineage, branching, revision, and agentId/agentName attribution
  • Sessions — ordered thought collections with tags
  • Knowledge graph — Concept / Insight / Workflow entities, observations, relations
  • Protocols — Theseus (refactoring) and Ulysses (debugging) state machines
  • Multi-agent hub — channels, proposals, workspaces, profiles (COORDINATOR, ARCHITECT, DEBUGGER, SECURITY, RESEARCHER, REVIEWER)

Read the full file on GitHub · 128 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. 2d ago First seen · 128 lines · 99 tokens per session scan A f1cd3e96c700

Subscribe to this mod's changes

supabase-identity-explorer is an agent published in the GitHub repository Kastalien-Research/thoughtbox (64 stars, last pushed 1mo ago), licensed MIT. It adds 99 tokens to every session and 1,834 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.

Related

Other agents, from other repositories

sql-gate-bypass-hunter

Adversarial reviewer for the SQL policy gate. Tries to sneak reads or writes past src/policy/gate.ts using real PostgreSQL grammar, then adds any successful bypass to tests/policy.attacks.test.ts as a failing case.

Azzaraell/pgguard-mcp · 56 tokens

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).

LucasLeguizamo/open-ticket · 59 tokens

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…

clchinkc/document-mcp · 240 tokens

PostgreSQL Database Administrator

Work with PostgreSQL databases using the PostgreSQL extension.

github/awesome-copilot · 17 tokens

database-performance-reviewer

Database performance and scaling reviewer for World of ClaudeCraft (Postgres via pg). Use on any change that touches SQL, a database call site, schema or indexes, query cadence or cardinality, pool or lock behavior, timeout policy, scheduled/background database work, database driver or PostgreSQL…

levy-street/world-of-claudecraft · 132 tokens

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.

sjarmak/coding-agent-workflows · 43 tokens