atai-anomaly-discovery-agent

atai-anomaly-discovery-agent is a skill for Claude Code, Codex from archetypeai/agent-skills. It costs 230 tokens per session (6,369 once invoked), scanned A, original, Apache-2.0.

A managed service that checks sensor-data windows for signs that they differ from normal operation. It learns normal behaviour from healthy data and gives each later window an anomaly score.

In plain words
What is it for?
Use it to upload prepared sensor data, run the predefined AD Quick Start workflow, and retrieve anomaly scores for each time window.
Why use it?
It can identify unusual behaviour when there are no labelled examples of failures, which is common for machines that have not failed before.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Good fit Use it to upload prepared sensor data, run the predefined AD Quick Start workflow, and retrieve anomaly scores for each time window.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/archetypeai/agent-skills/atai-anomaly-discovery-agent
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-anomaly-discovery-agent
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-anomaly-discovery-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent/github.svg)](https://agentmods.dev/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent)
Your own site
<a href="https://agentmods.dev/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent"><img src="https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent/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-anomaly-discovery-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent"><img src="https://agentmods.dev/badge/skills/archetypeai/agent-skills/atai-anomaly-discovery-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00230 $0.06369
Opus 5 $0.00115 $0.03184
Sonnet 5 $0.00046 $0.01274
Haiku 4.5 $0.00023 $0.00637

Measured 11d ago against content hash 6be13d23df72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

atai-anomaly-discovery-agent scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 2 executable files (references/run_ad_agent.py, tests/test_references.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST -H "Authorization: Bearer $ATAI_API_KEY" \
skills/atai-anomaly-discovery-agent/SKILL.md · 496 lines

How it starts

The opening of the file, as written. The whole thing — 496 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AD Agent — Managed Anomaly Discovery via the Agents API

The AD agent answers one question: does this window still look like normal operation? It is fitted on normal data only — a reference period from a healthy asset — and everything it flags afterwards is, by construction, something it was never shown.

That premise is the whole reason the agent exists. Its two siblings both need examples of what you are looking for: OSM needs a labelled library of every state, RED needs a handful of shots of a named fault. Neither is available when a machine has never failed, which is the normal condition of most industrial assets — and the condition under which a monitoring system is most valuable.

The graph is the first canonical blueprint with a forked topology:

source → interpolate → window → windowInterpolate → samplingRate → limitValues
       → tee ─┬→ encoder (omega:1.5) ─────→ fuse.emb ─┐
              └→ features (ChannelFeatures) → fuse.feat ─┴→ detector (LOF) → sink

Both branches see the same window: the Omega encoder produces a 768-dimensional embedding, ChannelFeatures produces a handful of per-channel statistics, and ConcatColumnsNode fuses them before the detector head. That fork has consequences documented under Verified platform behavior — it is why long inputs abort and why only one feature mode is reachable.

When to Apply

  • Flag departures from normal on an asset with no fault history — nothing has broken yet, so no labelled example of the failure can exist
  • Monitor an asset whose failure modes are unknown or unenumerable, where a named catalog would be a guess
  • Get a continuous score rather than a class — "how far from normal", not "which of these six states"
  • Deploy per-asset detectors as repeatable batch jobs with no client-side ML
  • Score a detector honestly when the data has no per-window ground truth, which is the usual case for run-to-failure data

Your own data? The pre-packaged "AD Quick Start" bundles pin a detector fitted on one specific bearing's healthy baseline (the bundled sample slice is from that same bearing). A detector is asset-specific by construction — it encodes one machine's notion of normal — so running your own asset through the quick-start bundle is a transfer test, not a deployment. For your own data, contact [email protected]: Archetype AI will fit a detector with you, and you create a bundle from the canonical ad blueprint around it ("Bring your own detector", below).

Read the full file on GitHub · 496 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. 11d ago First seen · 496 lines · 230 tokens per session scan A 6be13d23df72

Subscribe to this mod's changes

atai-anomaly-discovery-agent is a skill published in the GitHub repository archetypeai/agent-skills (5 stars, last pushed 21d ago), licensed Apache-2.0. It adds 230 tokens to every session and 6,369 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

alert-rule-troubleshoot

This skill should be used when the user reports that an alert rule is "not firing", "no alert was sent", "the rule didn't trigger", "the rule isn't working", "it should have alerted but didn't", "why didn't I get an alert", "alert rule not firing", or wants to diagnose why a specific alert rule failed to produce an…

ccfos/nightingale · 129 tokens

create-alert-rule

Create alert rules. Prefer reusing the validated rules in integrations (standard components like Linux/MySQL/Redis/Kafka/PostgreSQL/Elasticsearch all ship ready-made rule packs); import as many rules as the user needs—one rule, a batch, or a whole pack. Only hand-write a custom rule when integrations has nothing that…

ccfos/nightingale · 197 tokens

modify-task-tpl

Helps users generate, modify, or troubleshoot Nightingale (n9e) alert self-healing scripts (tasktpl / ibex scripts). Use when the user asks to "write a self-healing script for disk cleanup / restarting a service / cleaning logs / dumping a process / reloading nginx", or asks "how does a self-healing script get the…

ccfos/nightingale · 168 tokens

generate-message-template

Generate or modify Nightingale (n9e) alert notification message templates. Use when the user asks to write a notification template, change the message format, add hostname/recovery value/severity, or create DingTalk/Feishu/Lark/email/SMS/voice templates.

ccfos/nightingale · 59 tokens

ops-troubleshooting

This skill should be used when the user asks to "troubleshoot", "diagnose", "debug alert", "investigate incident", "locate a fault", "investigate an alert", "diagnose a problem", "fix an issue", "check alerts", "analyze alerts", "root cause analysis", "check metrics", "check logs", or discusses…

ccfos/nightingale · 99 tokens

doc-qa

This skill should be used when the user asks "how-to" or factual questions about Nightingale (n9e) — UI/where-to-click, business groups/subscription rules/mute rules/edge mode, Token usage, notification pipeline, self-healing trigger conditions; OR about categraf input plugin field meanings, metric names, defaults…

ccfos/nightingale · 178 tokens