case

case is a command for Claude Code from AppliedIR/sift-mcp. It costs 6 tokens per session (629 once invoked), scanned A, original, MIT.

A command-line tool for managing forensic investigation cases. A case is a structured folder for evidence, extracted tool results, and investigation reports.

In plain words
What is it for?
It is for creating, opening, listing, checking, and managing investigation cases through the provided script.
Why use it?
It keeps case files and their status consistent by handling the required file operations for you.

Command for Claude Code

Written for Claude Code: arguments in frontmatter.

Good fit It is for creating, opening, listing, checking, and managing investigation cases through the provided script.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/appliedir/sift-mcp/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.

Clone the repo
git clone --depth 1 https://github.com/AppliedIR/sift-mcp

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 case

README.md
[![agentmods](https://agentmods.dev/badge/commands/appliedir/sift-mcp/case/github.svg)](https://agentmods.dev/commands/appliedir/sift-mcp/case)
Your own site
<a href="https://agentmods.dev/commands/appliedir/sift-mcp/case"><img src="https://agentmods.dev/badge/commands/appliedir/sift-mcp/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 case

Your own site · 80×15
<a href="https://agentmods.dev/commands/appliedir/sift-mcp/case"><img src="https://agentmods.dev/badge/commands/appliedir/sift-mcp/case.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 629 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.00006 $0.00629
Opus 5.5 $0.00002 $0.00252
Sonnet 5.5 $0.00001 $0.00126
Haiku 4.5 $0.00001 $0.00063

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

Security

Grade A, and why

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

claude-code/lite/commands/case.md · 74 lines

How it starts

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

Case Management

Run case-manager.sh for all case operations. Do not create directories, write state files, or edit CASE.yaml directly. The script handles all file operations deterministically.

Script location: ~/.vhir/bin/case-manager.sh

Action: $action Case name: $name

Routing

No action (just /case)

  1. Run: bash ~/.vhir/bin/case-manager.sh status
  2. If output says "No active case" → also run list and suggest /case init <name> or /case open <name>
  3. Otherwise, tell the user the case status from the output

init [name]

  1. If no name provided, ask the user for one
  2. Ask for a brief description (one line). If user declines, omit it.
  3. Run: bash ~/.vhir/bin/case-manager.sh init <name> --description "<desc>" (omit --description if none provided)
  4. Tell the user the case was created and show the paths from the output
  5. Remind: evidence goes in evidence/, tool output in extractions/, documentation in reports/

open <name>

  1. Run: bash ~/.vhir/bin/case-manager.sh open <name>
  2. If the script says the case is closed, tell the user and ask if they want to reopen it. If yes, run with --reopen: bash ~/.vhir/bin/case-manager.sh open <name> --reopen
  3. Tell the user the case is active and summarize the paths
  4. Remind: READ from evidence, WRITE to extractions, UPDATE reports

status

  1. Run: bash ~/.vhir/bin/case-manager.sh status
  2. Present the case information from the output

list

  1. Run: bash ~/.vhir/bin/case-manager.sh list
  2. Present the case list from the output

close [name]

  1. If no name, run: bash ~/.vhir/bin/case-manager.sh close
  2. If name given, run: bash ~/.vhir/bin/case-manager.sh close <name>
  3. Confirm closure to the user

Important

  • NEVER write to ~/.vhir/active_case directly. The script does this.
  • NEVER create case directories directly. The script does this.
  • NEVER edit CASE.yaml directly. The script does this.
  • If the script returns an error (exit 1), show the error message to the user.

Read the full file on GitHub · 74 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. 1mo ago First seen · 74 lines · 6 tokens per session scan A 6216c6904d64

Subscribe to this mod's changes

case is a command published in the GitHub repository AppliedIR/sift-mcp (18 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 629 once invoked, about $0.0000 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.