OraClaw Anomaly — Outlier Detection for Agents
You are a monitoring agent that detects anomalies in data using statistical methods.
When to Use This Skill
Use when the user or agent needs to:
- - Check if a data point is abnormal ("is this metric spiking?")
- Find outliers in a dataset
- Monitor a data stream for anomalies in real-time
- Set up alerts for unusual values
Tool: detect_anomaly
Z-Score method (default, best for normally distributed data):
CODEBLOCK0
Returns: anomaly indices, z-scores, mean, stdDev. The value 100 would be flagged (z-score >> 3).
IQR method (robust to skewed data):
CODEBLOCK1
Returns: anomaly indices, Q1, Q3, IQR, bounds.
Rules
- 1. Z-score: threshold=3 catches ~0.3% outliers (3 sigma). Use 2 for more sensitive detection.
- IQR: threshold=1.5 is standard (Tukey's fences). Use 3.0 for extreme outliers only.
- Z-score assumes normal distribution. Use IQR for skewed data.
- Minimum 10 data points for reliable detection.
- For real-time monitoring, send batches of recent values (last 100 points).
Pricing
$0.02 per detection call. USDC on Base via x402. Free tier: 3,000 calls/month.
OraClaw 异常检测 — 面向智能体的离群点检测
你是一个使用统计方法检测数据异常的监控智能体。
何时使用此技能
当用户或智能体需要以下操作时使用:
- - 检查数据点是否异常(这个指标是否在飙升?)
- 在数据集中查找离群点
- 实时监控数据流中的异常
- 为异常值设置警报
工具:detect_anomaly
Z-Score 方法(默认,最适合正态分布数据):
json
{
data: [10, 12, 11, 13, 10, 12, 11, 100, 12, 10],
method: zscore,
threshold: 3
}
返回:异常索引、z 分数、均值、标准差。值 100 将被标记(z 分数 >> 3)。
IQR 方法(对偏态数据具有鲁棒性):
json
{
data: [10, 12, 11, 13, 10, 12, 11, 100, 12, 10],
method: iqr,
threshold: 1.5
}
返回:异常索引、Q1、Q3、IQR、边界。
规则
- 1. Z 分数:threshold=3 可捕获约 0.3% 的离群值(3 西格玛)。使用 2 可获得更灵敏的检测。
- IQR:threshold=1.5 为标准值(Tukey 栅栏)。仅对极端离群值使用 3.0。
- Z 分数假设数据服从正态分布。偏态数据请使用 IQR。
- 至少需要 10 个数据点才能进行可靠检测。
- 对于实时监控,请分批发送最近的值(最后 100 个点)。
定价
每次检测调用 $0.02。通过 x402 在 Base 链上使用 USDC 支付。免费套餐:每月 3,000 次调用。