atai-rare-event-detection-agent-data-prep

atai-rare-event-detection-agent-data-prep is a skill for Claude Code, Codex from archetypeai/agent-skills. It costs 290 tokens per session (4,105 once invoked), scanned A, original, Apache-2.0.

A local preparation workflow for labelled sensor recordings used by a rare-event detection agent. It puts irregular readings on a common sample grid, maps labels to normal and event classes, numbers incidents, and checks whether the data is suitable.

In plain words
What is it for?
Use it to prepare sensor recordings with labels, gaps, or varying sample rates before building a rare-event detection agent.
Why use it?
It exposes data-preparation problems that could make an event detector learn equipment failure, missing data, or validation leakage instead of the intended events.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare sensor recordings with labels, gaps, or varying sample rates before building a rare-event detection agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep
Install

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.

Any agent
npx skills add archetypeai/agent-skills --skill atai-rare-event-detection-agent-data-prep
Clone the repo
git clone --depth 1 https://github.com/archetypeai/agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for atai-rare-event-detection-agent-data-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep/github.svg)](https://agentmods.dev/skills/archetypeai/agent-skills/atai-rare-event-detection-agent-data-prep)
Your own site
<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.

agentmods 80×15 button for atai-rare-event-detection-agent-data-prep

Your own site · 80×15
<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>
Per session 290 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 18d ago against content hash c81b4206b540, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 6 executable files (references/build_roles.py, references/check_events.py, references/preflight_roles.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/atai-rare-event-detection-agent-data-prep/SKILL.md · 297 lines

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:

Read the full file on GitHub · 297 lines

Changes

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.

  1. 18d ago Changed c81b4206b540
  2. 29d ago Changed · +28 lines 945ab43ed67e
  3. 1mo ago First seen · 269 lines · 290 tokens per session scan A 8708c70e6b3f

Subscribe to this mod's changes

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.

Related

atai-rare-event-detection-agent-data-prep compared with skills from other repositories

atai-rare-event-detection-agent-data-prep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
atai-rare-event-detection-agent-data-preparchetypeai/agent-skillsSkill85d agoApache-2.0A290Claude Code, Codex
statsmodelssynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A65Claude Code, Codex
exoplanet-detection-periodEtaYang10th/spark-skillsSkill1105mo agononeA0Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA71Claude Code, Codex