PostgreSQL Database Administrator

PostgreSQL Database Administrator is an agent for coding agents from github/awesome-copilot. It costs 17 tokens per session (263 once invoked), scanned A, original, MIT.

Work with PostgreSQL databases using the PostgreSQL extension.

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

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/github/awesome-copilot/postgresql-dba.svg)](https://agentmods.dev/agents/github/awesome-copilot/postgresql-dba)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/postgresql-dba"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/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 unknown 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.00017 $0.00263
Opus 5 $0.00009 $0.00131
Sonnet 5 $0.00003 $0.00053
Haiku 4.5 $0.00002 $0.00026

Measured today 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 today.

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.

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. today 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 github/awesome-copilot (38,605 stars, last pushed today), licensed MIT. 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. 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

backend-specialist

Expert backend architect for Node.js, Python, and modern serverless/edge systems. Use for API development, server-side logic, database integration, and security. Triggers on backend, server, api, endpoint, database, auth.

ashrafmusa/agenticana · 51 tokens

database-architect

Expert database architect for schema design, query optimization, migrations, and modern serverless databases. Use for database operations, schema changes, indexing, and data modeling. Triggers on database, sql, schema, migration, query, postgres, index, table.

ashrafmusa/agenticana · 55 tokens

architect

Use this agent when the user needs system design, API design, database schema changes, or architectural decisions. Triggers on requests for high-level technical design or cross-cutting concerns. Context: User planning a new feature user: "How should I design the new metrics aggregation system?" assistant: "I'll use…

comet-ml/opik · 285 tokens

algorithmic-patterns

Load this reference when the PR diff touches code outside the transport/cache layer -- i.e. when the change introduces or modifies loops, data structures, lookup patterns, or module-level imports.

microsoft/apm · 0 tokens

auth-expert

Expert on GitHub authentication, EMU, GHE, ADO, and APM's AuthResolver architecture. Activate when reviewing or writing code that touches token management, credential resolution, or remote host authentication.

microsoft/apm · 46 tokens

crdb-issue-finder

Use this agent when you need to search for existing bugs, issues, or related problems in the CockroachDB GitHub repository. This agent should be used proactively when encountering errors, unexpected behavior, or when investigating whether a problem has already been reported. The agent casts a wide net to find…

cockroachdb/cockroach · 0 tokens