obto-database

obto-database is a skill for Claude Code, Codex from obto-inc/platform. It costs 176 tokens per session (3,349 once invoked), scanned B, original, Apache-2.0.

A set of tools for reading and changing an application's PostgreSQL database. PostgreSQL is a database system that stores structured application data in tables.

In plain words
What is it for?
Use it to inspect tables and columns, propose or track schema changes, review database drift and apply approved changes.
Why use it?
It provides checks, rehearsals and status tracking before a schema change reaches production. It can also compare the live database with its recorded change history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to inspect tables and columns, propose or track schema changes, review database drift and apply approved changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obto-inc/platform/obto-database
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.

Any agent
npx skills add obto-inc/platform --skill obto-database
Clone the repo
git clone --depth 1 https://github.com/obto-inc/platform

Made for: Claude Code, Codex.

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 obto-database

README.md
[![agentmods](https://agentmods.dev/badge/skills/obto-inc/platform/obto-database/github.svg)](https://agentmods.dev/skills/obto-inc/platform/obto-database)
Your own site
<a href="https://agentmods.dev/skills/obto-inc/platform/obto-database"><img src="https://agentmods.dev/badge/skills/obto-inc/platform/obto-database/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 obto-database

Your own site · 80×15
<a href="https://agentmods.dev/skills/obto-inc/platform/obto-database"><img src="https://agentmods.dev/badge/skills/obto-inc/platform/obto-database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00176 $0.03349
Opus 5.5 $0.00070 $0.01340
Sonnet 5.5 $0.00035 $0.00670
Haiku 4.5 $0.00018 $0.00335

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

Security

Grade B, and why

obto-database scanned grade B with 1 finding 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 12d 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

6. **Follow it to the end** with `obto_pg_status` (state, per-unit `run`, `ledgerSeq`). Done means: state `applied`, a `ledgerSeq`, each unit's `expect` true when you run it through `obto_pg_query`, and `obto_pg_drift` o
plugins/obto-codex/skills/obto-database/SKILL.md · 125 lines

How it starts

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

OBTO App Database (Postgres)

Some OBTO apps own a Postgres database. The platform holds the connection; you reach the database only through the obto_pg_* tools, and every call carries appName (the app that owns the database) and your domain (from obto_whoami). config.unknown_app means the app has no database registered on OBTO — ask the OBTO operator; do not look for another way in.

Tool Use it to Who
obto_pg_query read data and the catalog (one read-only statement) you
obto_pg_check lint a schema change against the live catalog; stores nothing you
obto_pg_propose prepare: lint + rehearse on the real database inside BEGIN … ROLLBACK, then store the change app owner, OBTO
obto_pg_status / obto_pg_list follow one change / list changes, newest first you
obto_pg_retry / obto_pg_cancel re-lint and re-rehearse a blocked change / stop one that has not run app owner, OBTO
obto_pg_drift / obto_pg_ledger compare the live schema with the ledger / read the change history you
obto_pg_apply run a prepared change on production, after the owner's yes in chat app owner, OBTO

Only the app's owner and OBTO can change the app's database. The owner is a user whose home domain is the app's domain and who has the super role there; a user who reaches the domain through a cross-tenant switch never is. The owner's AI checks a change, prepares it (obto_pg_propose) and applies it (obto_pg_apply) after the owner says yes in chat. Anyone else reads and checks only: every write answers auth.owner_only ("Only the app's owner can change this database. Ask them."). auth.owner_changes_off means OBTO has paused owner changes: ask OBTO. Always OBTO: a baseline and a change that carries prismaRefreshImage (OBTO builds and rolls that image). These are expected answers, not bugs.

If these tools are missing from your tool list, the connection predates the release that added them — see "After an OBTO update" in obto-troubleshooting.

Read the full file on GitHub · 125 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. 12d ago Changed · -6 lines · -5 tokens per session d6ce71dcba3f
  2. 16d ago Changed · +7 lines · +14 tokens per session cc3763c4fbb5
  3. 17d ago First seen · 124 lines · 167 tokens per session scan B 567cb200986a

Subscribe to this mod's changes

obto-database is a skill published in the GitHub repository obto-inc/platform (1 stars, last pushed 12d ago), licensed Apache-2.0. It adds 176 tokens to every session and 3,349 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

obto-database compared with skills from other repositories

obto-database next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obto-databaseobto-inc/platformSkill112d agoApache-2.0B176Claude Code, Codex
amazon aurora dsqlawslabs/mcpSkill9.9kyesterdayApache-2.0A46Claude Code
temps-add-migration-and-entitygotempsh/tempsSkill903yesterdayApache-2.0A84Claude Code, Codex
db-sculptorEliasOulkadi/shokuninSkill1121mo agoMITA123Claude Code
neon-postgresEliasOulkadi/shokuninSkill1121mo agoMITA76Claude Code, Codex
db-adminEliasOulkadi/shokuninSkill1121mo agoMITA122Claude Code
vector-backend-operationsKnuckles-Team/vector-mcpSkill16yesterdayMITA113Claude Code, Codex