Tencent Cloud Price Query
Paste the following prompt into your AI chat to install this skill:
Please install @user_2211ee67/tencent-cloud-product using https://skillhub.cn/install/skillhub.md.
About this skill
Problem Solved
When querying prices for various Tencent Cloud services (CVM, MySQL, Redis, Lighthouse, etc.), developers often need to assemble complex API parameters (region, instance type, disk type, billing mode) and navigate varying availability zone constraints. This skill accepts natural language or structured input, parses the configuration, and invokes local scripts/ to query prices, reducing the overhead of manually checking API documentation.
How It Works
- Multi-product Routing & Querying: Automatically matches input keywords to corresponding scripts (e.g.,
scripts/parse_input.pytoscripts/query_trtc_price.py). Supports parsing quantities (e.g., "3 instances") and returning total prices. - Spec & Billing Constraint Handling:
- CVM: Strictly follows instance type mapping (e.g.,
SA5.2XLARGE8) and validates zone availability in real-time via API to avoid hardcoding region limits. - CDB MySQL: Identifies single-node, dual-node universal/economical, and three-node architectures. The economical type strictly enforces fixed
CPU:Memory:Diskbindings. - Redis: Supports standard/cluster architectures, parsing shard counts and replicas.
- Lighthouse: Calls
DescribeBundlesto fetch available packages, matches the closestBundleId, and then queries the price. - Quote Generation: After querying, it can invoke
scripts/generate_quote.pyto generate an Excel quote, auto-filling actual specs, quantities, and durations, with optional fields for client and manager names.
Boundaries & Considerations
- Data Source Priority:
TRTC,IM,Push,CDN, andCOSdefault to localoutputs/JSON price files, falling back to online queries only if files are missing or corrupted; other products rely on real-time Tencent Cloud API calls. - Account & Permissions: Querying APIs like
CVMrequires an activated service, real-name verification, and validSecretId/SecretKeywith appropriate API permissions. - Spec Limitations:
CDBmemory must be a multiple of1000, andRedissingle-shard capacity must be a multiple of1024. Some instance types may be sold out in specific regions, subject to real-time API validation.
Use Cases
- Before quoting a server, input Nanjing 4 vCPU 8 GB, 50 GB disk, 1 Mbps, and 1 year to get a CVM total.
- Compare Guangzhou CDB MySQL single-node, dual-node universal, and economical prices while checking fixed configuration rules.
- Price a Redis cluster by entering region, shard count, shard capacity, replicas, and one-year duration.
- After querying several products, generate an Excel quote and fill in the client name and account manager.
Best For
- Pre-sales engineers who need to check CVM, MySQL, and Redis prices quickly against customer configurations.
- Sales reps who prepare prepaid or hourly quotes and add client and account-manager details.
- Ops engineers evaluating Lighthouse bundles by region, vCPU/RAM, bandwidth, and disk.
- Tech leads who prefer natural-language input over manually assembling cloud API parameters.
Related Skills
Guides verification, evidence preservation, platform and consumer complaints, damages calculation, and litigation options for suspected counterfeit purchases.
Refines product requirements through slot checks and targeted questions, producing a scoped PRD with testable acceptance criteria and metrics.
Manage Trello boards, lists, and cards via the Trello REST API, including creating, moving, commenting, and archiving cards.
AI ecom workflow for selection, pricing, content, launch, service, reviews.