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-config-tuninggit 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-config-tuning)<a href="https://agentmods.dev/skills/isdaniel/pgtuner_mcp/pg-config-tuning"><img src="https://agentmods.dev/badge/skills/isdaniel/pgtuner_mcp/pg-config-tuning/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-config-tuning"><img src="https://agentmods.dev/badge/skills/isdaniel/pgtuner_mcp/pg-config-tuning.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.00063 | $0.02534 |
| Opus 5 | $0.00032 | $0.01267 |
| Sonnet 5 | $0.00013 | $0.00507 |
| Haiku 4.5 | $0.00006 | $0.00253 |
Grade A, and why
pg-config-tuning 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 9d 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 — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PostgreSQL Configuration Tuning
This skill guides systematic PostgreSQL configuration tuning using pgtuner-mcp tools, producing hardware-aware ALTER SYSTEM recommendations.
When to Use This Skill
Use this skill when the user:
- Asks to tune or optimize
postgresql.confsettings - Reports running on default PostgreSQL configuration
- Asks "what settings should I change?" or "how should I configure shared_buffers?"
- Is deploying a new database and wants optimal initial configuration
- Asks about specific settings (work_mem, shared_buffers, effective_cache_size, etc.)
- Reports frequent checkpoints, high I/O, or memory pressure
MCP Resources Available
Before calling tools, the agent can read lightweight resources for context:
pgtuner://settings/{category}-- Retrieve settings by category:memory,checkpoint,wal,autovacuum,connectionspgtuner://docs/tools-- Reference for all available tool parameterspgtuner://docs/workflows-- Recommended workflow patterns
Related MCP Prompt
This skill corresponds to the health_check MCP Prompt (which includes settings review as Step 4). For a settings-focused session, this skill provides deeper guidance.
Prerequisites
- The pgtuner-mcp server must be connected with a valid
DATABASE_URI - For best results, the agent should know the server's hardware profile (RAM, CPU cores, storage type)
Agent Decision Logic: Gathering Context
Before recommending settings, the agent MUST understand the environment. Follow this decision tree:
1. Do I know the server's total RAM?
YES -> proceed
NO -> ASK the user: "How much total RAM does the database server have?"
2. Do I know the storage type?
YES -> proceed
NO -> ASK the user: "Is the database on SSD or spinning disk (HDD)?"
3. Do I know the workload type?
YES -> proceed
NO -> ASK the user: "Is this primarily OLTP (many short transactions),
OLAP (few complex analytical queries), or mixed?"
4. Do I know max_connections requirement?
YES -> proceed
NO -> ASK the user: "How many concurrent connections do you expect?
Are you using a connection pooler like PgBouncer?"
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.
- 9d ago First seen · 279 lines · 63 tokens per session scan A df5af57a8da5
pg-config-tuning is a skill published in the GitHub repository isdaniel/pgtuner_mcp (29 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 2,534 once invoked, about $0.0003 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.