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 khalilbenaz/claude-skills-collection --skill anomaly-detection-buildergit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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/khalilbenaz/claude-skills-collection/anomaly-detection-builder)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/anomaly-detection-builder"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/anomaly-detection-builder/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/khalilbenaz/claude-skills-collection/anomaly-detection-builder"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/anomaly-detection-builder.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.00088 | $0.02534 |
| Opus 5 | $0.00044 | $0.01267 |
| Sonnet 5 | $0.00018 | $0.00507 |
| Haiku 4.5 | $0.00009 | $0.00253 |
Grade A, and why
anomaly-detection-builder scanned grade A with 0 findings 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 11d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Anomaly Detection Builder
1. Caractériser le problème
Questions clés avant de coder quoi que ce soit :
| Dimension | Options | Impact sur le choix technique |
|---|---|---|
| Type d'anomalie | Ponctuelle / Contextuelle / Collective | Contextuelle → features temporelles obligatoires |
| Disponibilité des labels | Supervisé / Semi-supervisé / Non-supervisé | Labels → classifier classique suffit souvent |
| Ratio d'anomalies | < 0.1 % / 0.1–5 % / > 5 % | < 0.1 % → isolation/reconstruction ; > 5 % → SMOTE + classifier |
| Contrainte de latence | Temps réel (< 100 ms) / Batch (minutes) | Temps réel → éviter DBSCAN, LOF sur grands datasets |
| Coût faux négatif vs faux positif | Fraude / Qualité / Infra | Calibre le seuil, pas le modèle |
2. Arbre de décision : choisir la méthode
Données labellisées suffisantes ?
├─ OUI → XGBoost / LightGBM avec class_weight + seuil F1-optimal
│ (baseline solide, explicable, rapide)
└─ NON
├─ Données tabulaires basses dimensions (< 50 features) ?
│ └─ Isolation Forest (2–5 M lignes sans GPU)
│ si résultats insuffisants → One-Class SVM (kernel RBF)
├─ Séries temporelles ?
│ ├─ Courte fenêtre (< 1 h) → SARIMA residuals ou STL decomposition
│ └─ Longue séquence → LSTM Autoencoder ou Transformer (TadGAN, Anomaly Transformer)
├─ Images / texte ?
│ └─ Autoencoder convolutif ou VAE + seuil sur reconstruction error
└─ Logs / événements discrets ?
└─ Drain3 (log parsing) → Isolation Forest sur vecteurs TF-IDF
3. Préparer les données
import pandas as pd
from sklearn.preprocessing import RobustScaler
df = pd.read_parquet("data/raw.parquet")
# 1. Statistiques glissantes (features temporelles)
for w in [5, 30, 60]: # minutes
df[f"mean_{w}m"] = df["value"].rolling(w).mean()
df[f"std_{w}m"] = df["value"].rolling(w).std()
# 2. Ratios / deltas — souvent plus discriminants que la valeur brute
df["pct_change"] = df["value"].pct_change()
df["z_score"] = (df["value"] - df["value"].rolling(60).mean()) / df["value"].rolling(60).std()
# 3. Normalisation robuste (insensible aux outliers existants)
scaler = RobustScaler()
X = scaler.fit_transform(df[features].dropna())
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.
- 11d ago First seen · 260 lines · 88 tokens per session scan A c08a04a49c35
anomaly-detection-builder is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 17d ago), licensed MIT. It adds 88 tokens to every session and 2,534 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
edgartools
Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional holdings (13F), company financials, annual/quarterly reports (10-K…
model-routing-patterns
Multi-model pipelines (Haiku/Sonnet/Opus): cost routing, escalation, fallback chains. Triggers: model routing, Haiku, Sonnet, Opus, escalation, fallback chain.
rag-patterns
RAG: embeddings, chunking, hybrid search (BM25+vector), reranking, CRAG, multi-hop. Triggers: RAG, embedding, pgvector, Qdrant, Pinecone, Weaviate, reranker, semantic search.
evaluate
Evaluates RAG retrieval and LLM-as-judge metrics (faithfulness, relevancy, context precision). Triggers: measure RAG quality, knowledge gap, RAG eval, golden dataset.
explain
Explains code/architecture with Mermaid diagrams and sequence flows. Triggers: what does X do, how does Y work, explain code, sequence diagram.
json-mode-patterns
Structured JSON output from Claude: tool-use-as-JSON, schema, parsing, partial recovery. Triggers: JSON mode, structured output, schema validation, JSON parsing.