Works with the AI Agents you already use
Business Metrics Anomaly Detection and Alerts
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$8
Business Metrics Anomaly Detection and Alerts
Example session with this skill installed
Run the Business Metrics Anomaly Detection and Alerts skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the business metrics anomaly
Here is what the Business Metrics Anomaly Detection and Alerts skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
# Anomaly check: revenue, sessions (2026-10-01 to 2026-11-04)
Baseline: median of previous 14 days (MAD z >= 3.5, change >= 20%).
| Date | Metric | Value | Expected | Change | Robust z | Type |
| --- | --- | ---: | ---: | ---: | ---: | --- |
| 2026-10-20 | revenue | 25,000 | 10,000 | +150% | +25.3 | spike |
| 2026-10-28 | revenue | 3,000 | 10,150 | -70% | -12.1 | drop |
| 2026-10-31 | revenue | - | - | - | - | missing day |
| 2026-10-31 | sessions | - | - | - | - | missing day |
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Detect unusual days in daily metric CSVs (revenue, orders, sessions, signups, sign-ins, ad spend) with a robust rolling median and MAD z-score, optional same-weekday baseline for weekly seasonality, minimum relative and absolute change filters, missing-day detection, spike/drop direction filter, and a --last N mode with exit code 1 for cron or CI alerts and one-line alert messages for Slack, email or WhatsApp.
Who it's for
Use when the user asks whether a drop or spike is unusual, wants to find anomalies or outliers in a time series, set up daily metric alerts or monitoring without a BI tool, or investigate "sales suddenly fell yesterday".
What's inside
- Tested, offline Python script(s): detect_anomalies.py (deterministic results, standard library only unless noted)
- Reference guides: tuning-and-alerting.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/data-analytics-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+