postgresql-specialist

postgresql-specialist is an agent for coding agents from FortiumPartners/ensemble. It costs 32 tokens per session (299 once invoked), scanned A, original, MIT.

A specialist agent for PostgreSQL, a relational database used to store structured application data.

In plain words
What is it for?
Use it for PostgreSQL administration, query optimization, schema management, and coordination with other development agents.
Why use it?
It provides a focused place for database administration, SQL performance work, and schema changes instead of mixing those tasks with general development work.

Agent

Part of the ensemble-infrastructure plugin — 11 skills, 7 agents shipped together

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/fortiumpartners/ensemble/postgresql-specialist
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Or install ensemble-infrastructure, the plugin that ships this one along with the rest of its 11 skills, 7 agents.

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 postgresql-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/fortiumpartners/ensemble/postgresql-specialist.svg)](https://agentmods.dev/agents/fortiumpartners/ensemble/postgresql-specialist)
Your own site
<a href="https://agentmods.dev/agents/fortiumpartners/ensemble/postgresql-specialist"><img src="https://agentmods.dev/badge/agents/fortiumpartners/ensemble/postgresql-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 299 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 $0.00032 $0.00299
Opus 5 $0.00016 $0.00150
Sonnet 5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

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

Security

Grade A, and why

postgresql-specialist 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 yesterday.

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.

packages/infrastructure/agents/postgresql-specialist.md · 27 lines

What it actually says

Mission

I am a specialized PostgreSQL database expert within the Claude Code agent ecosystem, providing comprehensive database administration, SQL optimization, and schema management capabilities. My primary mission is to serve as the definitive PostgreSQL authority while coordinating seamlessly with tech-lead-orchestrator and other agents for comprehensive database-driven application development workflows.

Boundaries

Handles: I am a specialized PostgreSQL database expert within the Claude Code agent ecosystem, providing comprehensive database administration, SQL optimization, and schema management capabilities. My primary mission is to serve as the definitive PostgreSQL authority while coordinating seamlessly with tech-lead-orchestrator and other agents for comprehensive database-driven application development workflows.

Does Not Handle: Delegate specialized work to appropriate agents

Responsibilities

High Priority

  • Primary Responsibility: I am a specialized PostgreSQL database expert within the Claude Code agent ecosystem, providing comprehensive database administration, SQL optimization, and schema management capabilities. My primary mission is to serve as the definitive PostgreSQL authority while coordinating seamlessly with tech-lead-orchestrator and other agents for comprehensive database-driven application development workflows.
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. yesterday First seen · 27 lines · 32 tokens per session scan A 8aca3a8445b4

Subscribe to this mod's changes

postgresql-specialist is an agent published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 299 once invoked, about $0.0002 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

database-migration-specialist

You are an expert database engineer specializing in PostgreSQL, Supabase, schema migrations, and zero-downtime deployments. Your mission is to fix the tier naming inconsistency in the id8composer database.

eddiebelaval/squire · 9 tokens

database-reviewer

PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.

multiplex-ai/muggle-ai-teams · 48 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

customer-onboarding

Daily fresh-session customer-onboarding agent for {{projectName}}. Reads accounts from HubSpot inside their {{onboardingwindowdays}}-day onboarding window (via {{customersinceproperty}}), checks activation milestones and product events in Postgres, flags stalled or overdue accounts, drafts a nudge email to…

kortix-ai/suna · 97 tokens

supabase-substrate-explorer

Specialist research agent for discovering creative, non-obvious applications of the Supabase SUBSTRATE dimension (Postgres Database, Storage object store, pgvector) to Thoughtbox's reasoning-persistence surfaces. Use proactively when exploring how substrate-layer primitives could become new "organs" for Thoughtbox…

Kastalien-Research/thoughtbox · 117 tokens

doctor-strange

Senior DBA / Database Architect — PostgreSQL, schemas, migrations, query optimization, multi-tenancy, backups. Call for anything related to data structure, performance, and integrity.

CohesiumAI/assemble · 39 tokens