Skip to content
Skills Library
DevOps & cloud · Review & audit

audit

/audit

Capacity and health audit of a Postgres or Redshift source. Four sections (Postgres - workload, tables, locks and connections, settings versus size; Redshift - config and infrastructure, workload attribution, pressure signals, inventory and hygiene), a verdict that finds the bottleneck layer first and hardware last, and a written audits/<source>-<date>.md with a then-versus-now table against the previous audit. Use for "why is the DB slow", "do we need a bigger instance or another node", or a periodic health check.

Repository
de-agent ↗
Licence
Apache-2.0
Last repository change
03.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Capacity and health audit of a Postgres or Redshift source. Four sections (Postgres - workload, tables, locks and connections, settings versus size; Redshift - config and infrastructure, workload attribution, pressure signals, inventory and hygiene), a verdict that finds the bottleneck layer first and hardware last, and a written audits/<source>-<date>.md with a then-versus-now table against the previous audit. Use for "why is the DB slow", "do we need a bigger instance or another node", or a periodic health check.

Triggers from the description

why is the DB slowdo we need a bigger instance or another node
Original author description

Capacity and health audit of a Postgres or Redshift source. Four sections (Postgres - workload, tables, locks and connections, settings versus size; Redshift - config and infrastructure, workload attribution, pressure signals, inventory and hygiene), a verdict that finds the bottleneck layer first and hardware last, and a written audits/<source>-<date>.md with a then-versus-now table against the previous audit. Use for "why is the DB slow", "do we need a bigger instance or another node", or a periodic health check.

How it works

  1. When to use
  2. Inputs
  3. Steps
  4. Output
  5. Never
Original SKILL.md headings · 41 lines, 376 words
SKILL.md preview
---
name: audit
description: Capacity and health audit of a Postgres or Redshift source. Four sections (Postgres - workload, tables, locks and connections, settings versus size; Redshift - config and infrastructure, workload attribution, pressure signals, inventory and hygiene), a verdict that finds the bottleneck layer first and hardware last, and a written audits/<source>-<date>.md with a then-versus-now table against the previous audit. Use for "why is the DB slow", "do we need a bigger instance or another node", or a periodic health check.
---

# audit

## When to use
A database feels slow or is growing, a sizing or resize question, or a scheduled health check. Two packs:
`references/postgres.md` (a `type: postgres` source) and `references/redshift.md` (a `type: redshift` source).

## Inputs
- The source name (a read-only Postgres or Redshift source from `de-agent.yaml`). For Redshift also the AWS source
  name when one is configured: its page shows DMS, Glue, Firehose and alarm state around the warehouse.
- Optional: the symptom or the question (for example "should we add CPU").

## Steps
1. Read the pack for the source type (`references/postgres.md` or `references/redshift.md`): the queries and the
   verdict rules.
2. Spawn up to four `de-agent:runner` agents IN PARALLEL, one per section R1 to R4, each told the source and
   the section's queries from the pack. Each returns the numbers and the exact commands.
3. Apply the pack's verdict rules yourself (the main session decides): bottleneck layer first, hardware last.
   Postgres: workload and queries, then tables and indexes, then locks and connections, then settings.
   Redshift: orchestration, fixable waste, CPU, memory, I/O, connections, storage; a sizing claim needs at least 7 days
   of data with weekday and weekend reported separately; never attribute load by user name alone.
4. Find the previous audit `audits/<source>-*.md` (latest date). Build a then-vs-now table for the headline metrics.
5. Write `audits/<source>-<YYYY-MM-DD>.md`: verdict first, evidence per section tagged V or I, the then-vs-now
   table, recommended changes ranked by effort and risk. Any change is a plan (`plan` skill), never an inline fix.

## Output
```
Verdict: <one line: bottleneck layer and the action, or "no change needed">
R1..R4 (Postgres: workload / tables / locks+connections / settings; Redshift: config+infra / workload attribution /
pressure / inventory+hygiene): <2 lines each, numbers quoted>
Then vs now: <table>
Recommendations: <ranked, each a candidate plan>
File: audits/<source>-<date>.md
```

## Never
- Never recommend hardware before the pack's earlier layers are ruled out with numbers.
- Never run writes (VACUUM, ANALYZE, REINDEX, killing sessions, WLM or resize changes). Those go through a plan.
- Never claim a number you did not get from a query. If an extension or view is missing, say so.
- Redshift: never size from fewer than 7 days of data, never blame a user name you have not identified.
Files in this package (3)
  • SKILL.md 3 KB
  • references/postgres.md 5 KB
  • references/redshift.md 12 KB

Versions

RepositoryScoreLicence
This page · Rafid-Bin-Sadeque/de-agent100Apache-2.0
marcel-bich/marcel-bich-claude-marketplace100MIT
jeremylongshore/tons-of-skills-marketplace100MIT
friendlyinternet/nuxt-crouton100MIT
userKael/rastro100MIT
Archont561/qgis-agent-harness100MIT
lilly-logic-labs/lll-skills100MIT
Come-In-Labs/agent-skills100MIT
minanyang/10x-agent100MIT

Database snapshot: 13.11.2026 · package version 09f60e2a9133 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100exploring-data-catalog
    Full inventory and audit of AWS Glue Data Catalog assets across S3 Tables, Redshift-federated, and remote Iceberg catalogs. Triggers on: inventory the catalog, audit databases, list all tables, catalog overview, data landscape, enumerate catalogs, data inventory, search the…
  • 100finding-data-lake-assets
    Resolve data lake and lakehouse asset references across Glue Data Catalog, S3, S3 Tables, and Redshift. Triggers on: find the table, where is our data, which table has, locate dataset, find data for, search catalog, what tables match, Redshift table, lakehouse table, data lake…
  • 100redshift-api
    Run SQL against Amazon Redshift — submit statements, poll status, page through results, and browse databases/schemas/tables. Use this whenever the user wants to query Redshift (provisioned cluster or Serverless), ask "what tables are in this schema", check a query's status, or…
  • 95setup-warehouse-redshift
    Set up Redshift as a data warehouse for Confidence. Use when the user chose Redshift for warehouse setup.
  • 100materialize-redshift-create
    Create a Redshift materialization to stream Estuary collections into Amazon Redshift tables. Use when setting up Redshift as a destination for captured data. Use when user says "send to Redshift", "materialize to Redshift", "Redshift destination", or "load into Redshift".
  • 100cloud-data-warehouse-operations-snowflake-bigquery-redshift
    Comparative operations guide for the three dominant managed cloud data warehouses: Snowflake virtual warehouse sizing and multi-cluster scaling, BigQuery slot allocation and on-demand vs. capacity pricing, and Redshift cluster/RA3 node sizing and workload management (WLM) — plus…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.