Log Anomaly Detection
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_f12a44b7/cnbll-log-anomaly-detect.
About this skill
Problem: worker anomalies often show up first as backlog signals
During continuous operations reviews, engineers need a quick way to tell which workers require manual attention. Common symptoms include growing pending counts, done=0, stale lastActive values, repeated failures, or no output. Manually checking a dashboard can miss edge cases and makes it hard to keep a consistent audit trail.
How it works: rule-based status inspection
The skill performs lightweight anomaly detection around the Dashboard API:
- Fetch data: uses
GETto retrieve all worker status data, withAuthorization: Bearer {TOKEN}for authentication. - Apply rules: evaluates each worker against thresholds such as
pending>10 and done=0for severe backlog orpending>5for task accumulation. - Summarize output: aggregates an anomaly list, flags possible offline or zero-output states, and optionally sends alerts to a group chat.
Boundaries
It is suitable for periodic health snapshots and anomaly reporting, not real-time stream diagnostics. Detection depends on the completeness of API fields; the semantics of lastActive, todayDone, and pending must match the business workflow. The thresholds are operational alerting rules that can be tuned per environment, but they do not replace root-cause analysis.
Use Cases
- Identify stale or backlog workers during routine checks
- Locate severe backlog when pending>10 and done=0
- Summarize anomalous workers into an alert-ready report
- Flag offline and zero-output states from status fields
Best For
- SREs who need periodic worker health checks
- Ops engineers who need to isolate pending backlogs
- Platform engineers who need anomaly reports from APIs
- On-call leads who need to alert groups about worker issues
Related Skills
Detects child climbing, leaning out, or gripping window/balcony edges from surveillance video and outputs tiered alerts with historical reports.
A pre-release security auditor for Skills that statically checks injection, credentials, SSRF, CVEs, and permissions, with scored reports.
For independent developers, automates Git weekly reports, prioritized bug tickets, and project health checks into shareable Markdown.
Scan Windows caches, temporary files, and junk files, show space usage and risk levels, and clean selected items to free disk space.