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.
npx skills add pjt222/agent-almanac --skill detect-anomalies-aiopsgit clone --depth 1 https://github.com/pjt222/agent-almanacWrote 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.
[](https://agentmods.dev/skills/pjt222/agent-almanac/detect-anomalies-aiops)<a href="https://agentmods.dev/skills/pjt222/agent-almanac/detect-anomalies-aiops"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/detect-anomalies-aiops/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.
<a href="https://agentmods.dev/skills/pjt222/agent-almanac/detect-anomalies-aiops"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/detect-anomalies-aiops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00093 | $0.01886 |
| Opus 5.5 | $0.00037 | $0.00754 |
| Sonnet 5.5 | $0.00019 | $0.00377 |
| Haiku 4.5 | $0.00009 | $0.00189 |
Grade A, and why
detect-anomalies-aiops scanned grade A with 1 finding 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 3mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**If fail:** Test webhook URLs with curl first, verify severity calculation produces reasonable values (0.5-0.9 range), check rate limiting doesn't suppress all alerts, ensure timezone handling is correct for last_alerts How it starts
The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Detect Anomalies for AIOps
See Extended Examples for complete configuration files and templates.
Apply machine learning to detect anomalies in operational metrics, correlate alerts, and reduce false positives.
When to Use
- Operations team overwhelmed by alert volume (>100 alerts/day)
- Need to detect complex multi-metric anomalies (not threshold breaches)
- Seasonal patterns make static thresholds ineffective
- Want to predict issues before they impact users (proactive detection)
- Need to correlate related alerts to identify root cause
- Monitoring system generates too many false positives
- Want to detect subtle performance degradation trends
Inputs
- Required: Time series metrics from monitoring system (CPU, memory, latency, error rate)
- Required: Historical data (30-90 days minimum)
- Optional: Alert history with labels (true positive / false positive)
- Optional: System topology (service dependencies)
- Optional: Log data for correlation
- Optional: Deployment/change events for context
Procedure
Step 1: Set Up Environment and Load Data
Install dependencies and prepare time series data for analysis.
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install anomaly detection libraries
pip install prophet scikit-learn pandas numpy
pip install tensorflow keras # for LSTM models
pip install pyod # Python Outlier Detection library
pip install statsmodels # for statistical methods
pip install prometheus-api-client # if using Prometheus
# Visualization
pip install plotly matplotlib seaborn
Load and prepare data:
# aiops/data_loader.py
import pandas as pd
import numpy as np
from datetime import datetime, timedelta
from typing import List, Dict
import logging
logging.basicConfig(level=logging.INFO)
# ... (see EXAMPLES.md for complete implementation)
Got: Time series data loaded with regular intervals, missing values handled, features engineered for ML models.
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.
- 3mo ago First seen · 223 lines · 93 tokens per session scan A a1f935059f8f
detect-anomalies-aiops is a skill published in the GitHub repository pjt222/agent-almanac (46 stars, last pushed yesterday), licensed MIT. It adds 93 tokens to every session and 1,886 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
detect-anomalies-aiops compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| detect-anomalies-aiopspjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 93 | Claude Code |
| fold-findingsgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 65 | Claude Code |
| init-workspacegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 54 | Claude Code |
| execute-phasegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 106 | Claude Code |
| unit-lanegtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 53 | Claude Code |
| audit-docsgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 147 | Claude Code |
| product-auditgtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 107 | Claude Code |