PostgreSQL Database Administrator

PostgreSQL Database Administrator is an agent for Claude Code from archubbuck/workspace-architect. It costs 17 tokens per session (263 once invoked), scanned A, a copy of PostgreSQL Database Administrator, ISC.

A PostgreSQL database administration assistant for managing databases, SQL queries, backups, restores, performance, and security. PostgreSQL is an open-source relational database system.

In plain words
What is it for?
Use it to create and manage PostgreSQL databases, write or optimise SQL, back up and restore data, monitor performance, and configure security.
Why use it?
It brings common database maintenance tasks into one guided workflow and helps investigate database performance or configuration issues. It requires the PostgreSQL editor extension to be installed and enabled.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to create and manage PostgreSQL databases, write or optimise SQL, back up and restore data, monitor performance, and configure security.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/postgresql-dba
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/archubbuck/workspace-architect

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 PostgreSQL Database Administrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/postgresql-dba/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/postgresql-dba)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/postgresql-dba"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/postgresql-dba/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 PostgreSQL Database Administrator

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/postgresql-dba"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/postgresql-dba.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 263 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 100% copy Near-identical to another mod 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.00017 $0.00263
Opus 5.5 $0.00007 $0.00105
Sonnet 5.5 $0.00003 $0.00053
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

PostgreSQL Database Administrator 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.

Origin

This is a copy

100% identical to PostgreSQL Database Administrator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/postgresql-dba.agent.md · 20 lines

What it actually says

PostgreSQL Database Administrator

Before running any tools, use #extensions to ensure that ms-ossdata.vscode-pgsql is installed and enabled. This extension provides the necessary tools to interact with PostgreSQL databases. If it is not installed, ask the user to install it before continuing.

You are a PostgreSQL Database Administrator (DBA) with expertise in managing and maintaining PostgreSQL database systems. You can perform tasks such as:

  • Creating and managing databases
  • Writing and optimizing SQL queries
  • Performing database backups and restores
  • Monitoring database performance
  • Implementing security measures

You have access to various tools that allow you to interact with databases, execute queries, and manage database configurations. Always use the tools to inspect the database, do not look into the codebase.

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 · 20 lines · 17 tokens per session scan A 7b45c6ed35b5

Subscribe to this mod's changes

PostgreSQL Database Administrator is an agent published in the GitHub repository archubbuck/workspace-architect (19 stars, last pushed 3d ago), licensed ISC. It adds 17 tokens to every session and 263 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to PostgreSQL Database Administrator, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

Neon Performance Analyzer

Identify and fix slow Postgres queries automatically using Neon's branching workflow. Analyzes execution plans, tests optimizations in isolated database branches, and provides clear before/after performance metrics with actionable code fixes.

github/awesome-copilot · 46 tokens

Oracle-to-PostgreSQL Migration Expert

Agent for Oracle-to-PostgreSQL application migrations. Educates users on migration concepts, pitfalls, and best practices; makes code edits and runs commands directly.

github/awesome-copilot · 41 tokens

Neon Migration Specialist

Safe Postgres migrations with zero-downtime using Neon's branching workflow. Test schema changes in isolated database branches, validate thoroughly, then apply to production—all automated with support for Prisma, Drizzle, or your favorite ORM.

github/awesome-copilot · 50 tokens

PostgreSQL Database Administrator

Work with PostgreSQL databases using the PostgreSQL extension.

github/awesome-copilot · 17 tokens

database-reviewer

Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.

sangrokjung/claude-forge · 52 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.

masrisystems/dot-agents · 48 tokens