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 TencentCloudCommunity/mcp-server --skill tencent-pg-ops-troubleshootergit clone --depth 1 https://github.com/TencentCloudCommunity/mcp-serverWrote 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/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter)<a href="https://agentmods.dev/skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter"><img src="https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter/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/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter"><img src="https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter.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.00072 | $0.00984 |
| Opus 5.5 | $0.00029 | $0.00394 |
| Sonnet 5.5 | $0.00014 | $0.00197 |
| Haiku 4.5 | $0.00007 | $0.00098 |
Grade A, and why
tencent-pg-ops-troubleshooter 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 1mo 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tencent-pg-ops-troubleshooter
When to use
- Need to troubleshoot an operational PostgreSQL issue rather than run a routine inspection.
- Need guided incident triage for connectivity, backup, account, network, SSL, readonly replica, parameter-related, or general instance problems.
- Need an evidence-first workflow that can continue into aligned remediation actions without depending on a deployed MCP server.
Steps
- Classify the incident first using the user's symptom:
- connection or access failure
- backup or restore concern
- account or permission issue
- network or SSL issue
- readonly replica or replication issue
- parameter or configuration concern
- general instance abnormality
- Confirm the scope: region, instance, and the narrowest affected surface such as database, account, replica, or backup task. If the region, instance ID, or both are missing from the user's request, immediately reply with a direct message (no interactive prompt or choice menu) that includes: (a) the console link https://console.cloud.tencent.com/postgres where the user can find their instance ID and region, and (b) a concrete example reply format like "ap-guangzhou postgres-abc12345". Do not proceed with any API call until the target scope is confirmed.
- Normalize region input before any OpenAPI call by following
@references/common/region_normalization.md. Accept standard region codes such asap-guangzhouand common aliases such as广州,上海,成都,北京, then convert them to the canonical region code likeap-guangzhou,ap-shanghai,ap-chengdu,ap-beijing. If the input cannot be normalized safely, stop and use theinvalid-regiontemplate in@references/common/error_handling.md, including the official region links. - Check runtime prerequisites using a foolproof order. Prefer
TENCENTCLOUD_SECRET_ID,TENCENTCLOUD_SECRET_KEY,TENCENTCLOUD_REGION, and optionalTENCENTCLOUD_SESSION_TOKEN; also accept compatible names such asMCP_REQUEST_SECRET_ID,MCP_REQUEST_SECRET_KEY,MCP_REQUEST_SESSION_TOKEN,MCP_SECRET_ID, andMCP_SECRET_KEY. If required values are missing, stop and use themissing-credentialstemplate in@references/common/error_handling.md, including one copyable example plus the official API key and region links. - Call Tencent Cloud PostgreSQL OpenAPI directly. Any aligned Action listed in @references/api_reference.md may be used. Start with read-only evidence collection first. For audit, business, fee-impacting, or critical write actions, explain impact clearly and require explicit confirmation before execution.
- Prefer the official Tencent Cloud SDK. If the SDK is unavailable, do not block on that alone; generate properly TC3-signed HTTPS requests locally instead. Read credentials only from environment variables or other secure runtime context; never hardcode or persist them in code, skill files, or query parameters. If the user still wants the SDK path, follow the
missing-sdktemplate in@references/common/error_handling.md, offer the install command, and ask whether to execute it. - Use @references/api_reference.md to map the incident type to the OpenAPI modules that should be checked first, then expand only when the first-pass evidence is insufficient.
- If the user asks for remediation or the incident cannot be resolved without action, choose the smallest aligned action that addresses the problem and explain prerequisites, impact, and confirmation requirement first.
- Summarize in runbook format: incident summary, findings, blockers, immediate next steps, and actions that require explicit approval.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 46 lines · 72 tokens per session scan A 1d3f5863d380
tencent-pg-ops-troubleshooter is a skill published in the GitHub repository TencentCloudCommunity/mcp-server (31 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 984 once invoked, about $0.0003 per session on Opus 5.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
cloud-sql-basics
This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server. Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source…
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.
moai-platform-database-cloud
Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.
aws-rds
Amazon RDS is AWS's managed relational database service: it provisions MySQL, PostgreSQL, MariaDB, Oracle, SQL Server and Aurora databases and handles backups, patching and failover. Use this skill with the AWS CLI to create a Multi-AZ instance, an Aurora Serverless v2 cluster, read replicas, snapshots and…
backup-recovery
Design and verify backups and restoration for owned databases, files and application state. Use when preparing recovery, migrating data or testing backups; protect the source and prove restore into an isolated destination before calling recovery ready.
blueprint-from-collection-import
Move the copied collection's records into Postgres and the files they point at into Storage, proven on a freshly reset local database.