tencent-pg-ops-troubleshooter

tencent-pg-ops-troubleshooter is a skill for Claude Code, Codex from TencentCloudCommunity/mcp-server. It costs 72 tokens per session (984 once invoked), scanned A, original, Apache-2.0.

A troubleshooting skill for Tencent Cloud PostgreSQL, a managed relational database service. It uses Tencent's documented cloud API to investigate connection, backup, account, network, SSL, replication, configuration, and general instance problems.

In plain words
What is it for?
Use it to investigate PostgreSQL incidents, collect diagnostic evidence, and guide approved fixes for access, backups, accounts, networking, SSL, read-only replicas, replication, or parameters.
Why use it?
It enforces an evidence-first investigation so the problem is narrowed to the correct region, database instance, or affected area before changes are considered. Actions that could modify settings or incur fees require confirmation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate PostgreSQL incidents, collect diagnostic evidence, and guide approved fixes for access, backups, accounts, networking, SSL, read-only replicas, replication, or parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter
Install

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.

Any agent
npx skills add TencentCloudCommunity/mcp-server --skill tencent-pg-ops-troubleshooter
Clone the repo
git clone --depth 1 https://github.com/TencentCloudCommunity/mcp-server

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for tencent-pg-ops-troubleshooter

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter/github.svg)](https://agentmods.dev/skills/tencentcloudcommunity/mcp-server/tencent-pg-ops-troubleshooter)
Your own site
<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.

agentmods 80×15 button for tencent-pg-ops-troubleshooter

Your own site · 80×15
<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>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 984 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00984
Opus 5 $0.00036 $0.00492
Sonnet 5 $0.00014 $0.00197
Haiku 4.5 $0.00007 $0.00098

Measured 11d ago against content hash 1d3f5863d380, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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 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.

src/postgres/skills/tencent-pg-ops-troubleshooter/SKILL.md · 46 lines

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

  1. 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
  2. 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.
  3. Normalize region input before any OpenAPI call by following @references/common/region_normalization.md. Accept standard region codes such as ap-guangzhou and common aliases such as 广州, 上海, 成都, 北京, then convert them to the canonical region code like ap-guangzhou, ap-shanghai, ap-chengdu, ap-beijing. If the input cannot be normalized safely, stop and use the invalid-region template in @references/common/error_handling.md, including the official region links.
  4. Check runtime prerequisites using a foolproof order. Prefer TENCENTCLOUD_SECRET_ID, TENCENTCLOUD_SECRET_KEY, TENCENTCLOUD_REGION, and optional TENCENTCLOUD_SESSION_TOKEN; also accept compatible names such as MCP_REQUEST_SECRET_ID, MCP_REQUEST_SECRET_KEY, MCP_REQUEST_SESSION_TOKEN, MCP_SECRET_ID, and MCP_SECRET_KEY. If required values are missing, stop and use the missing-credentials template in @references/common/error_handling.md, including one copyable example plus the official API key and region links.
  5. 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.
  6. 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-sdk template in @references/common/error_handling.md, offer the install command, and ask whether to execute it.
  7. 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.
  8. 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.
  9. Summarize in runbook format: incident summary, findings, blockers, immediate next steps, and actions that require explicit approval.

Read the full file on GitHub · 46 lines

Files

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.

Changes

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.

  1. 11d ago First seen · 46 lines · 72 tokens per session scan A 1d3f5863d380

Subscribe to this mod's changes

tencent-pg-ops-troubleshooter is a skill published in the GitHub repository TencentCloudCommunity/mcp-server (29 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 984 once invoked, about $0.0004 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.

Related

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…

google/skills · 108 tokens

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.

awslabs/mcp · 46 tokens

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.

modu-ai/moai-adk · 51 tokens

aws-rds

Manage Amazon RDS for fully managed relational databases. Provision MySQL, PostgreSQL, and Aurora instances with automated backups and patching. Configure read replicas for scaling, snapshots for recovery, and Aurora Serverless for variable workloads.

TerminalSkills/skills · 52 tokens

huawei-cloud-rds-smart-service

Huawei Cloud RDS (Relational Database Service) full-scenario intelligent service covering all database engines (MySQL, PostgreSQL, SQL Server, MariaDB, GaussDB for MySQL, TaurusDB). Provides six capability domains: (1) Basic intelligent Q&A for RDS product features, best practices, and specifications; (2) SQL…

huaweicloud/huaweicloud-skills · 330 tokens

add-backup-db

Add automated Neon database backups to the current project. Registers the project as a snapshot target of the unified shared Cloudflare Worker "hypervibe-jobs" (one Worker per account for ALL background jobs, reused across projects) that creates point-in-time Neon branch snapshots every 2 weeks. Retention - rolling (2…

flavien-ia/hypervibe-harness · 129 tokens