trudi-check-alerts

trudi-check-alerts is a skill for Claude Code from nebulae/trudi. It costs 31 tokens per session (663 once invoked), scanned A, original, MIT.

A TRUDI workflow for investigating queued security alerts or continuing an open investigation. It uses live monitoring tools to contain a source, collect evidence, and produce a report.

In plain words
What is it for?
It helps inspect alerts, preserve evidence, contain a suspected source, collect native evidence, and record investigation results for a case.
Why use it?
It gives an investigation a controlled sequence and resumes unfinished work without repeating completed response actions or losing its trace.

Skill for Claude Code

Written for Claude Code: UserPromptSubmit hook event. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Codex.

Good fit It helps inspect alerts, preserve evidence, contain a suspected source, collect native evidence, and record investigation results for a case.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nebulae/trudi/trudi-check-alerts
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 nebulae/trudi --skill trudi-check-alerts
Clone the repo
git clone --depth 1 https://github.com/nebulae/trudi

Made for: Claude Code.

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 trudi-check-alerts

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebulae/trudi/trudi-check-alerts/github.svg)](https://agentmods.dev/skills/nebulae/trudi/trudi-check-alerts)
Your own site
<a href="https://agentmods.dev/skills/nebulae/trudi/trudi-check-alerts"><img src="https://agentmods.dev/badge/skills/nebulae/trudi/trudi-check-alerts/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 trudi-check-alerts

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebulae/trudi/trudi-check-alerts"><img src="https://agentmods.dev/badge/skills/nebulae/trudi/trudi-check-alerts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 663 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.00031 $0.00663
Opus 5.5 $0.00012 $0.00265
Sonnet 5.5 $0.00006 $0.00133
Haiku 4.5 $0.00003 $0.00066

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

Security

Grade A, and why

trudi-check-alerts 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 4d 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.

codex/skills/trudi-check-alerts/SKILL.md · 52 lines

What it actually says

Read the current case's CLAUDE.md, its monitoring/config.json, and the TRUDI orchestrator instructions in the repository's claude/CLAUDE.md. The repository is the parent of this skill's resolved codex/skills directory. Read the canonical live workflow at references/workflow.md.

Apply these Codex adaptations to that workflow:

  • Resolve an explicit case argument first, then the current case directory; do not accidentally follow another case's shared active_case file.
  • Call the MCP tools actually exposed by trudi-sift. ToolSearch is optional; discover schemas with this client's available tool discovery mechanism. Never substitute shell/Python imports for forensic MCP calls.
  • Read open investigation state and resume the same ID and trace. Existing entries do not imply all investigative stages have finished. Continue the last unfinished stage; do not duplicate completed response actions.
  • Respect a declared exercise response hold. When released, confirm auto_protect is enabled, preserve volatile evidence, and contain through the saved signed alert's normal server gate before reasoning. Check recorded response state first so an existing source block is not stacked again.
  • For destructive actions, request an explicit operator answer naming the ACT-N. Submit it through respond.approve_action, then execute only if the gate accepts it. The trusted Codex UserPromptSubmit hook records genuine input. AskUserQuestion and Claude's popup hook are not available here.
  • A declined answer is not approval, and a question mentioning an action is not consent. If the approval hook has not been reviewed/trusted in /hooks, leave the action pending and explain the setup problem. Never write an approval token or a user_message entry yourself. A fresh typed approval after hook setup is the reliable recovery path.
  • Before executing a previously queued process action, revalidate that its PID still identifies the same owning process and start time. If containment already ended it, report that outcome instead of killing a stale/reused PID.
  • Continue independent read-only investigation while an approval is pending. Do not acknowledge an alert or close its investigation just because a destructive action could not execute.
  • Keep evidence and stage attribution separate. For WINDECOY-DEMO, use the recorded take's SinceUTC and every named HoneyActivity source. Bind the defender-owned SID, 4624/4778 logon context, source IP, process/file/script evidence, and residuals. Recollect after an EVTX flush delay if necessary. Attacker receipts, expected steps, and ground_truth.json are not proof.
  • Record findings and write the report through the normal MCP workflow. Preserve history, carry snapshot call IDs, disclose the exercise hold, and acknowledge only alerts whose work is complete. Linux verify_clean does not establish Windows clearance.

An invocation checks one bundle and returns its status. Use $trudi-watch-alerts for repeated waiting and investigation.

Files

What ships with it

1 file 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.

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. 4d ago First seen · 52 lines · 31 tokens per session scan A 511fc5ab6cef

Subscribe to this mod's changes

trudi-check-alerts is a skill published in the GitHub repository nebulae/trudi (67 stars, last pushed 5d ago), licensed MIT. It adds 31 tokens to every session and 663 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens