PostgreSQL Database Administrator

PostgreSQL Database Administrator is an agent for coding agents 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

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/archubbuck/workspace-architect/postgresql-dba
Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00017 $0.00263
Opus 5 $0.00009 $0.00131
Sonnet 5 $0.00003 $0.00053
Haiku 4.5 $0.00002 $0.00026

Measured yesterday against content hash 7b45c6ed35b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. yesterday 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 (18 stars, last pushed yesterday), licensed ISC. It adds 17 tokens to every session and 263 once invoked, about $0.0001 per session on Opus 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