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.
npx skills add isdaniel/pgtuner_mcp --skill pg-health-checkgit clone --depth 1 https://github.com/isdaniel/pgtuner_mcpWrote 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.
[](https://agentmods.dev/skills/isdaniel/pgtuner_mcp/pg-health-check)<a href="https://agentmods.dev/skills/isdaniel/pgtuner_mcp/pg-health-check"><img src="https://agentmods.dev/badge/skills/isdaniel/pgtuner_mcp/pg-health-check/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.
<a href="https://agentmods.dev/skills/isdaniel/pgtuner_mcp/pg-health-check"><img src="https://agentmods.dev/badge/skills/isdaniel/pgtuner_mcp/pg-health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.02886 |
| Opus 5 | $0.00021 | $0.01443 |
| Sonnet 5 | $0.00008 | $0.00577 |
| Haiku 4.5 | $0.00004 | $0.00289 |
Grade A, and why
pg-health-check 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PostgreSQL Health Check
This skill guides a comprehensive health assessment of a PostgreSQL database using pgtuner-mcp tools, producing a scored report with prioritized action items.
When to Use This Skill
Use this skill when the user:
- Asks for a database health check or status report
- Reports general performance degradation without specific symptoms
- Wants a routine database checkup or audit
- Asks "is my database healthy?" or "what should I fix first?"
- Is setting up monitoring or wants to establish a baseline
- Mentions connection issues, high CPU, or unexplained slowness
MCP Resources Available
Before running full tool scans, the agent can use targeted resources:
pgtuner://health/{check_type}-- Targeted health checks:connections,cache,locks,replication,bloat,all(lightweight, avoids running the full health tool)pgtuner://settings/{category}-- Settings by category:memory,checkpoint,wal,autovacuum,connectionspgtuner://docs/workflows-- Recommended workflow patterns
Smart resource usage: After the full health check in Step 1, use targeted resources for follow-up instead of re-running the full tool. For example, if the locks dimension scores low, read pgtuner://health/locks for quick re-checks after remediation.
Related MCP Prompt
This skill corresponds to the health_check MCP Prompt. If the user triggers that prompt, follow this skill's workflow.
Prerequisites
- The pgtuner-mcp server must be connected with a valid
DATABASE_URI - Required:
pg_stat_statementsextension - Recommended: monitoring user with access to
pg_stat_activity,pg_stat_bgwriter,pg_locks
Agent Decision Tree
User asks for health check
|
+--> Quick check or full check?
| QUICK --> Read pgtuner://health/all resource (fast, no tool call)
| FULL --> Start with Step 1 (check_database_health)
|
+--> After Step 1, which dimensions scored low?
|
+--> Connections < 90 --> Prioritize Step 2, then pg-connection-analysis skill
+--> Cache < 90 --> Prioritize Step 5 (I/O), then pg-io-deep-dive skill
+--> Locks < 90 --> Prioritize Step 2 + Step 3, then pg-lock-diagnosis skill
+--> Wraparound < 90 --> URGENT: check pg-vacuum-tuning skill
+--> Checkpoints < 90 --> Prioritize Step 5, then pg-config-tuning skill
+--> All >= 90 --> Summary report, suggest pg-performance-baseline
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.
- 11d ago First seen · 305 lines · 42 tokens per session scan A 9419aeb31661
pg-health-check is a skill published in the GitHub repository isdaniel/pgtuner_mcp (29 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 2,886 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
amazon aurora dsql
Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.
exasol-table-design
Exasol table design for performance: DISTRIBUTE BY, PARTITION BY, zone maps, data types, replication, surrogate keys, and CREATE TABLE syntax.
exasol-udfs
Exasol User-Defined Functions (UDFs) and Scripts: CREATE SCRIPT syntax, language options, SQL-to-language data type mappings, ExaIterator API, BucketFS access, and Script Language Containers.
exasol-import-export
Exasol IMPORT and EXPORT SQL statements: syntax, file formats (CSV, FBV, Parquet), cloud storage (S3, Azure, GCS), connection objects, error handling, and ETL staging patterns.
exasol-system-tables
Exasol system and statistics tables: what they contain, visibility prefixes (EXAALL, EXADBA, EXAUSER), and when to query them directly vs using MCP tools.
exasol-sql-dialect
Exasol SQL dialect specifics: syntax, data types, functions, and common pitfalls for generating correct Exasol SQL.