Skip to content
Back to skills

Detect Route Anomaly

ASecurity

Use this skill when the user wants to detect individual trip or route anomalies, such as unusually long distance, unusually long/short duration, abnormal average speed, detours, or trips that deviate from a user's usual behavior.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill detect-route-anomaly --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Detect Route Anomaly?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Detect Route Anomaly
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-detect-route-anomaly/badge)](https://www.skillsdirectory.com/skills/majiayu000-detect-route-anomaly)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: detect_route_anomaly
description: Use this skill when the user wants to detect individual trip or route anomalies, such as unusually long distance, unusually long/short duration, abnormal average speed, detours, or trips that deviate from a user's usual behavior.
metadata:
  short-description: Detect route-level trip anomalies.
---

# detect_route_anomaly

Use this Skill for micro-level trajectory anomaly detection over trip records.

## Command

```bash
cd /mnt/skills/custom/detect_route_anomaly
python3 scripts/detect_route_anomaly.py \
  --input /path/to/trips.jsonl \
  --output-dir /path/to/output \
  --group-col user_id \
  --threshold 3.5
```

## Outputs

- `route_anomalies.jsonl`
- `summary.json`

## Algorithm

- Per-user or global grouping
- Distance anomaly detection
- Duration anomaly detection
- Average-speed anomaly detection
- Robust MAD/z-score fallback scoring

## Next Skills

Combine with `$search_similar_trajectory` to explain whether an anomalous trip has comparable historical trips.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.