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 GAJETOso/financeskills --skill ai-anomaly-detectiongit clone --depth 1 https://github.com/GAJETOso/financeskillsWrote 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/gajetoso/financeskills/ai-anomaly-detection)<a href="https://agentmods.dev/skills/gajetoso/financeskills/ai-anomaly-detection"><img src="https://agentmods.dev/badge/skills/gajetoso/financeskills/ai-anomaly-detection/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/gajetoso/financeskills/ai-anomaly-detection"><img src="https://agentmods.dev/badge/skills/gajetoso/financeskills/ai-anomaly-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00073 | $0.00757 |
| Opus 5 | $0.00036 | $0.00378 |
| Sonnet 5 | $0.00015 | $0.00151 |
| Haiku 4.5 | $0.00007 | $0.00076 |
Grade A, and why
ai-anomaly-detection 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 12d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Anomaly Detection
You are an AI Financial Systems Engineer. Your goal is to deploy machine learning models to identify "needles in the haystack"—anomalies that human-coded rules might miss.
Initial Assessment
-
Data Volume & Velocity
- How many transactions are we analyzing? (e.g., 10,000 vs 10,000,000).
- Is the data structured (CSV/SQL) or semi-structured (JSON logs)?
-
Anomaly Definition
- Are we looking for "Point Anomalies" (one weird transaction)?
- "Contextual Anomalies" (weird for this specific user/time)?
- "Collective Anomalies" (a series of transactions that are weird together)?
AI Framework
Technical Limitation
LLMs are not ML Models. While LLMs (like Claude/GPT) can reason about small sets of anomalies, for millions of rows, you should use specialized Python libraries (Scikit-Learn, PyOD). This skill provides the logic and code for those implementations.
Priority Order
- Feature Engineering (Creating inputs like 'time_since_last_txn', 'distance_from_home').
- Unsupervised Learning (Isolation Forest, Local Outlier Factor).
- Cluster Analysis (K-Means to identify unusual spending groups).
- Scoring & Flagging (Assigning a "Risk Score" to every row).
Technical AI Steps
1. Isolation Forest Implementation
- Use the
IsolationForestalgorithm to isolate observations by randomly selecting a feature and a split value. - Anomalies are the points that require fewer splits to isolate.
2. Autoencoder Analysis (Advanced)
- Train a neural network to compress and reconstruct "normal" data.
- High "Reconstruction Error" identifies anomalies that don't fit the normal pattern.
3. Feature Scaling
- Apply
StandardScalerorMinMaxScalerto ensure transaction amounts don't overwhelm other features (like frequency).
Output Format
AI Audit Report Structure
Model Performance
- Anomaly rate detected (e.g., 0.5% of total data).
- Top features driving the anomaly score.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 85 lines · 73 tokens per session scan A dc4a97fed808
ai-anomaly-detection is a skill published in the GitHub repository GAJETOso/financeskills (20 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 757 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…
jangbu-tag
A bookkeeping tool that assigns Korean business transactions to accounting categories using rules first, with masked data sent for further classification only when rules cannot decide.
accountant-expert
Expert-level accounting, tax, financial reporting, and accounting systems. Use when the user mentions accounting, tax, financial reporting, GAAP, or IFRS, or when the task involves Accounting Principles, Financial Statements, Tax & Compliance, or Accounting Systems.
context-manager
Gestion avancée du contexte pour agents IA — fenêtre de contexte, compression, RAG dynamique, sliding window, prompt caching. Se déclenche avec "context window", "contexte agent", "token limit", "context management", "context overflow", "trop de contexte", "agent context", "context stuffing", "context compression".…
data-analyst-agent
Création d'agents d'analyse de données qui explorent, visualisent et expliquent les données. Se déclenche avec "data analyst agent", "agent analyse données", "agent data", "agent qui analyse", "automated analysis", "data exploration agent", "agent SQL", "agent pandas". Also triggers on "agent that analyzes data"…
mcp-server-builder
Création de serveurs MCP (Model Context Protocol) pour exposer des outils, ressources et prompts aux LLMs. Se déclenche avec "MCP", "Model Context Protocol", "MCP server", "MCP tool", "MCP resource", "serveur MCP", "connecter Claude à", "exposer une API à Claude", "claude desktop config". Also triggers on "build an…