tencent-pg-inspection

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

A routine inspection workflow for Tencent Cloud PostgreSQL databases. PostgreSQL is a database system, and the workflow gathers evidence about the database before any changes are considered.

In plain words
What is it for?
It helps inspect instance status, backups, network and SSL exposure, read-only replicas, settings, and recent anomalies using Tencent Cloud's API.
Why use it?
It provides a structured health review while requiring confirmation before actions that change settings, incur fees, or otherwise modify the database.

Skill for Claude CodeCodex

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

Good fit It helps inspect instance status, backups, network and SSL exposure, read-only replicas, settings, and recent anomalies using Tencent Cloud's API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection
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-inspection
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-inspection

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection/github.svg)](https://agentmods.dev/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection"><img src="https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection/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-inspection

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection"><img src="https://agentmods.dev/badge/skills/tencentcloudcommunity/mcp-server/tencent-pg-inspection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 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.00068 $0.00965
Opus 5 $0.00034 $0.00483
Sonnet 5 $0.00014 $0.00193
Haiku 4.5 $0.00007 $0.00097

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

Security

Grade A, and why

tencent-pg-inspection 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.

src/postgres/skills/tencent-pg-inspection/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

tencent-pg-inspection

When to use

  • Need a routine PostgreSQL health check or inspection report.
  • Need to review instance lifecycle, backup posture, network / SSL exposure, readonly topology, parameter posture, or recent anomalies.
  • Need a reusable workflow that starts with evidence collection and can continue into aligned follow-up actions without depending on a deployed MCP server.

Steps

  1. Confirm the target scope first: region, instance ID or instance name, and optional time window. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Gather evidence in a fixed order:
    • instance basics, lifecycle status, spec, and exposure context
    • backup health and recovery readiness
    • parameter, security-group, SSL, and readonly topology evidence when relevant
    • optional slow-query or error-log evidence when the inspection request mentions latency or anomalies
  7. Use @references/api_reference.md as the inspection checklist and aligned action catalog.
  8. If an anomaly is found and the user asks for remediation, choose the smallest aligned action that can address the issue and explain prerequisites, impact, and confirmation requirement first.
  9. Summarize in four blocks: overall status, evidence snapshot, risk items, and next actions.

Read the full file on GitHub · 43 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. 9d ago First seen · 43 lines · 68 tokens per session scan A 268847422498

Subscribe to this mod's changes

tencent-pg-inspection is a skill published in the GitHub repository TencentCloudCommunity/mcp-server (29 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 965 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.

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