AI Agent Hub
Back to skills
🔒

Log Anomaly Detection

IT Ops & Security Updated 2026.08.29

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 GET to retrieve all worker status data, with Authorization: Bearer {TOKEN} for authentication.
  • Apply rules: evaluates each worker against thresholds such as pending>10 and done=0 for severe backlog or pending>5 for 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