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.5 | $0.00029 | $0.00303 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (52 stars, last pushed 3d ago), licensed MIT. It adds 73 tokens to every session and 757 once invoked, about $0.0003 per session on Opus 5.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.
ai-anomaly-detection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-anomaly-detectionGAJETOso/financeskills | Skill | 52 | 3d ago | MIT | A | 73 | Claude Code |
| accountant-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 56 | Claude Code |
| sap-rpt1secondsky/sap-skills | Skill | 514 | 21d ago | GPL-3.0 | A | 51 | Claude Code, Codex |
| jangbu-tagkimlawtech/korean-jangbu-for | Skill | 90 | 3mo ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| data-value-monetization-teamaiskillstore/marketplace | Skill | 510 | today | none | A | 56 | Claude Code, Codex |
| context-managerkhalilbenaz/claude-skills-collection | Skill | 27 | 3mo ago | MIT | A | 84 | Claude Code, Codex |
| data-analyst-agentkhalilbenaz/claude-skills-collection | Skill | 27 | 3mo ago | MIT | A | 81 | Claude Code, Codex |