Generated banner for Postgresql Dba
Generated logo for Postgresql Dba

Postgresql Dba

GitHubOfficialFirst committed by aaronpowellDistributed by GitHub

  • Custom agent
  • Role or persona
  • Data and AI
  • MIT
  • No issues found

From the author

Work with PostgreSQL databases using the PostgreSQL extension.
— the description by aaronpowell

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The PostgreSQL Database Administrator skill equips an AI agent with the expertise and tools required to manage PostgreSQL database environments. By leveraging the PostgreSQL extension, the agent can perform administrative tasks, execute complex SQL queries, and maintain database health. The agent is designed to interact directly with database instances to inspect schemas, manage configurations, and perform data operations, ensuring that database management is handled through verified database tools rather than manual code inspection.

What it does

  • Connects to and manages PostgreSQL database servers and instances
  • Executes and optimizes SQL queries for data retrieval and manipulation
  • Visualizes database schemas to understand structure and relationships
  • Performs bulk data loading from CSV files
  • Manages database configurations and administrative tasks
  • Verifies the presence of the required PostgreSQL extension before operation

When to use it

  • When you need to perform administrative tasks on a PostgreSQL database
  • When you need to run complex queries or analyze database performance
  • When you need to visualize the schema of an existing database
  • When you need to import data from CSV files into PostgreSQL tables

Advantages

  • Provides direct, tool-based interaction with database systems
  • Ensures database operations are performed using specialized database tools
  • Automates routine administrative and data management tasks
  • Reduces manual effort in schema analysis and query execution

Usage examples

“List all databases on the current server and visualize the schema for the 'users' database.”
The agent connects to the server, lists the available databases, and generates a visual representation of the 'users' database schema.
“Load the data from customer_data.csv into the 'customers' table.”
The agent uses the bulk load tool to import the specified CSV file into the target PostgreSQL table.

Install

  1. Download the custom agent as a ZIP:

    https://autogineer.com/agent-skills/github/postgresql-dba/download
  2. Extract the agent file into .github/agents, then commit it:

    mkdir -p .github/agents && unzip -j postgresql-dba.zip 'postgresql-dba/postgresql-dba.agent.md' -d .github/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by aaronpowell

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.

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "postgresql-dba", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE

Requirements and compatibility

Written for: GitHub Copilot

Works with: GitHub Copilot

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of aaronpowellaaronpowell
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · agents/postgresql-dba.agent.md · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
aaronpowell

AutoGineer is not affiliated with or endorsed by aaronpowell or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download postgresql-dba.zip