document-in-case

document-in-case is a skill for Claude Code, Codex from dandye/ai-runbooks. It costs 34 tokens per session (467 once invoked), scanned A, original, Apache-2.0.

A tool for adding findings, actions, or recommendations as comments to a security operations case. A case is a tracked investigation containing related alerts and evidence.

In plain words
What is it for?
Use it to document alert classifications, indicator-enrichment results, risk assessments, recommendations, and actions such as closing or escalating a case.
Why use it?
It keeps decisions and investigation steps in the case's audit trail, so others can review what happened and why.

Skill for Claude CodeCodex

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

Good fit Use it to document alert classifications, indicator-enrichment results, risk assessments, recommendations, and actions such as closing or escalating a case.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dandye/ai-runbooks/document-in-case
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 dandye/ai-runbooks --skill document-in-case
Clone the repo
git clone --depth 1 https://github.com/dandye/ai-runbooks

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 document-in-case

README.md
[![agentmods](https://agentmods.dev/badge/skills/dandye/ai-runbooks/document-in-case/github.svg)](https://agentmods.dev/skills/dandye/ai-runbooks/document-in-case)
Your own site
<a href="https://agentmods.dev/skills/dandye/ai-runbooks/document-in-case"><img src="https://agentmods.dev/badge/skills/dandye/ai-runbooks/document-in-case/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 document-in-case

Your own site · 80×15
<a href="https://agentmods.dev/skills/dandye/ai-runbooks/document-in-case"><img src="https://agentmods.dev/badge/skills/dandye/ai-runbooks/document-in-case.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 467 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00034 $0.00467
Opus 5.5 $0.00014 $0.00187
Sonnet 5.5 $0.00007 $0.00093
Haiku 4.5 $0.00003 $0.00047

Measured 2mo ago against content hash 99276d62f754, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

document-in-case 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 2mo 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.

skills/document-in-case/SKILL.md · 73 lines

What it actually says

Document in Case Skill

Add a standardized comment to a case to document findings, actions taken, or recommendations.

Inputs

  • CASE_ID - The SOAR case ID to add the comment to
  • COMMENT_TEXT - The full text of the comment to be added
  • (Optional) ALERT_GROUP_IDENTIFIERS - Alert group identifiers if required

Workflow

Step 1: Post Comment

secops-soar.post_case_comment(
    case_id=CASE_ID,
    comment=COMMENT_TEXT,
    alert_group_identifiers=ALERT_GROUP_IDENTIFIERS  // if provided
)

Step 2: Verify Status

Check the API response to confirm the comment was posted successfully.

Outputs

Output Description
COMMENT_POST_STATUS Success/failure status of the comment posting

Comment Templates

Enrichment Summary:

IOC Enrichment for [IOC_VALUE] ([IOC_TYPE]):
- GTI Reputation: [score/classification]
- SIEM Activity: [first/last seen, alert count]
- IOC Match: [Yes/No]
- Assessment: [Low/Medium/High risk]
- Recommendation: [next steps]

Triage Decision:

Alert Triage Complete:
- Classification: [FP/BTP/TP/Suspicious]
- Key Findings: [summary]
- Rationale: [why this classification]
- Action Taken: [closed/escalated]

Investigation Update:

Investigation Update [timestamp]:
- Actions Completed: [list]
- Findings: [summary]
- Next Steps: [planned actions]
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. 2mo ago First seen · 73 lines · 34 tokens per session scan A 99276d62f754

Subscribe to this mod's changes

document-in-case is a skill published in the GitHub repository dandye/ai-runbooks (132 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 467 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-08-30.

Related

document-in-case compared with skills from other repositories

document-in-case next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
document-in-casedandye/ai-runbooksSkill1322mo agoApache-2.0A34Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill315k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code