cls-query-skill

Community

CLS log search: name resolution & auto-pagination

Authorslowman2084
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables reliable, production-grade searches and statistical analysis over Tencent Cloud CLS logs while removing friction of topic lookup, field discovery, and multi-page retrieval so engineers can diagnose issues faster.

Core Features & Use Cases

  • Topic name → TopicId resolution: accept human-friendly topic names and resolve them to TopicId via a local mapping or fuzzy match.
  • Automatic pagination and merging: when SearchLog returns partial pages (ListOver == false) the Skill uses Context to continue fetching until completion or configured limits.
  • Robust query workflow: validates field names with small-sample probes, applies downgrade strategies (approximate functions, windowing, sampling) on timeouts, and signs API calls using TC3-HMAC-SHA256.
  • Use cases: on-call error investigation (non-2xx analysis), distinct-entity counts with APPROX_DISTINCT, hourly request volume histograms, and statistical anomaly detection.

Quick Start

Ask the skill: Find omp-trace-log error logs for the last 24 hours and return the Top 5 interfaces by error count.

Dependency Matrix

Required Modules

requestspython-dotenv

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cls-query-skill
Download link: https://github.com/slowman2084/meta-agent/archive/main.zip#cls-query-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.