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 archetypeai/agent-skills --skill atai-rare-event-detection-agent-data-prepgit clone --depth 1 https://github.com/archetypeai/agent-skillsWrote 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/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep)<a href="https://agentmods.dev/skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep"><img src="https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep/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/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep"><img src="https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep.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.00290 | $0.04105 |
| Opus 5.5 | $0.00116 | $0.01642 |
| Sonnet 5.5 | $0.00058 | $0.00821 |
| Haiku 4.5 | $0.00029 | $0.00411 |
Grade A, and why
atai-rare-event-detection-agent-data-prep 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 18d 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RED Data Prep — a labelled recording → role files
The RED agent learns one prototype per class from a handful of labelled incidents and normal operation, and flags windows that sit closer to an event's prototype than to normal. With so few examples, a few prep decisions carry the whole result, and the ways to get them wrong rarely error: a channel that goes dark because the pump failed becomes a perfect but meaningless signature; an incident shorter than half a window is all but undetectable at that window; two incidents close together share their normal context between validation and test; channels chosen on held-out incidents score optimistically. This skill makes each decision visible and checks every rule before you upload.
one recording (any rate, jitter, gaps, missing readings)
+ a per-row label column prepare.py → check_events.py → build_roles.py → preflight_roles.py → RED agent skill, Path 2
Everything here is local and needs no API key. The contract is
references/role-files.md. It is the layout of the
RED pump quickstart,
generalised; the platform rules in it were measured on the dev deployment on 2026-10-13.
When to Apply
- You have a long recording of an asset or process with a label per row, and the label marks a few incidents of a named event (a breakdown, a trip, a slip) against normal operation
- You want a RED agent that recognises the same event when it recurs, fitted on the first incidents and tested on later ones
- A RED optimization or eval scored oddly (an event class at 0, every window invalid, a suspicious false-alarm rate) and you want to check the role files
Do not use this skill when:
- You only want to run the platform's RED demo blueprint on one CSV — that's
atai-rare-event-detection-agent, Path 1 - You have no labelled incidents, only normal operation — that's anomaly discovery:
atai-anomaly-discovery-agent-data-prep - Your labels are operating states that cover the whole recording (fill / wash / spin)
— use
atai-operational-state-monitoring-agent-data-prep
What ships with it
11 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.
- references/.gitignore 53 B
- references/build_roles.py 10 KB runs code
- references/check_events.py 6.6 KB runs code
- references/preflight_roles.py 5.6 KB runs code
- references/prepare.py 7.2 KB runs code
- references/red_common.py 7.0 KB runs code
- references/requirements.txt 35 B
- references/role-files.md 4.9 KB
- references/sample_data/pump_sample.parquet 4431 KB
- references/sample_data/README.md 2.4 KB
- tests/test_red_prep.py 10.0 KB runs code
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.
- 18d ago Changed c81b4206b540
- 29d ago Changed · +28 lines 945ab43ed67e
- 1mo ago First seen · 269 lines · 290 tokens per session scan A 8708c70e6b3f
atai-rare-event-detection-agent-data-prep is a skill published in the GitHub repository archetypeai/agent-skills (8 stars, last pushed 5d ago), licensed Apache-2.0. It adds 290 tokens to every session and 4,105 once invoked, about $0.0012 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-10-29.
atai-rare-event-detection-agent-data-prep compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| atai-rare-event-detection-agent-data-preparchetypeai/agent-skills | Skill | 8 | 5d ago | Apache-2.0 | A | 290 | Claude Code, Codex |
| statsmodelssynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 65 | Claude Code, Codex |
| exoplanet-detection-periodEtaYang10th/spark-skills | Skill | 110 | 5mo ago | none | A | 0 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 71 | Claude Code, Codex |