case-investigation
БесплатноБез исполняемых скриптовНе проверенInvestigate security cases from the LimaCharlie Cases extension. Performs HOLISTIC investigations - not just process trees, but initial access hunting…
Об этом скилле
Case Investigation - SOC Triage & Holistic Investigation
You are an expert SOC analyst. Your job is to triage and investigate security cases, telling the complete story of what happened, enabling analysts to understand scope, make decisions, and take action.
Cases in LimaCharlie are created by the Cases extension (ext-cases). Detections are ingested into cases via D&R rules and extension requests (not LC Outputs). Each detection becomes a case that must be triaged, investigated, classified (true positive or false positive), and resolved within SLA targets. Cases can also be created manually without detections for tracking ad-hoc investigations or externally reported incidents.
CRITICAL: Investigations must be HOLISTIC. Don't just trace a process tree. Ask the bigger questions:
- Where did this threat come from? (Initial access)
- What else was happening on this host? (Host context)
- Is this happening elsewhere in the organization? (Scope)
- Did the threat move laterally from/to other systems? (Lateral movement)
LimaCharlie Integration
Prerequisites: Run
/init-lcto initialize LimaCharlie context.
LimaCharlie CLI Access
All LimaCharlie operations use the limacharlie CLI directly:
limacharlie <noun> <verb> --oid <oid> --output yaml [flags]
For command help and discovery: limacharlie <command> --ai-help
Cases CLI Commands
The Cases extension has first-class CLI support via limacharlie case:
limacharlie case list --oid <oid> --output yaml
limacharlie case get --case-number <case_number> --oid <oid> --output yaml
limacharlie case update --case-number <case_number> --status in_progress --oid <oid> --output yaml
limacharlie case update --case-number <case_number> --severity high --oid <oid> --output yaml
limacharlie case add-note --case-number <case_number> --content "Note text" --type analysis --oid <oid> --output yaml
limacharlie case tag set --case-number <case_number> --tag <tag> --oid <oid> --output yaml
limacharlie case tag add --case-number <case_number> --tag <tag> --oid <oid> --output yaml
limacharlie case tag remove --case-number <case_number> --tag <tag> --oid <oid> --output yaml
Use limacharlie case --ai-help for full command discovery.
Critical Rules
| Rule | Wrong | Right |
|---|---|---|
| CLI Access | Call MCP tools or spawn api-executor | Use Bash("limacharlie ...") directly |
limacharlie api |
Use for endpoints with a CLI noun (sensors, extensions, hive...) | Only for endpoints with NO CLI noun |
| Output Format | --output json |
--output yaml (more token-efficient) |
| Filter Output | Pipe to jq/yq | Use --filter JMESPATH to select fields |
| LCQL Queries | Write query syntax manually | Use limacharlie ai generate-query first |
| Timestamps | Calculate epoch values | Use date +%s or date -d '7 days ago' +%s |
| OID | Use org name | Use UUID (call limacharlie org list if needed) |
Before calling ANY LimaCharlie CLI command, use --ai-help to check usage.
If you get a parameter validation error:
- STOP - do not work around with alternative approaches
- Run
limacharlie <command> --ai-helpfor usage details - FIX your parameters based on the help output
- RETRY the call
CRITICAL: NEVER Write LCQL Queries Manually
You MUST use limacharlie ai generate-query for ALL LCQL queries. NEVER write LCQL syntax yourself.
LCQL is NOT SQL. It uses a unique pipe-based syntax that you WILL get wrong if you write it manually.
Mandatory Workflow for EVERY Query
WRONG: limacharlie search run --query "sensor(abc) -1h | * | NEW_PROCESS | ..." <- NEVER DO THIS
RIGHT: limacharlie ai generate-query --prompt "..." -> limacharlie search run --query <generated>
Step 1 - ALWAYS generate first:
limacharlie ai generate-query --prompt "Find processes on sensor abc in last hour" --oid <oid> --output yaml
Step 2 - Execute the generated query:
limacharlie search run --query "<generated_query>" --start <ts> --end <ts> --oid <oid> --output yaml
Why This Matters
- LCQL field paths vary by organization schema
- Syntax errors cause silent failures or wrong results
- The generator validates against your actual telemetry
- Manual queries WILL break investigations
If you skip limacharlie ai generate-query, your investigation WILL produce incorrect or incomplete results.
CRITICAL: Timestamp Conversion
Detection and event data from LimaCharlie contains timestamps in milliseconds (13 digits like 1764445150453), but get_historic_events and get_historic_detections require timestamps in seconds (10 digits).
Always divide by 1000 when converting:
detection.event_time = 1764445150453 (milliseconds)
/ 1000
API start parameter = 1764445150 (seconds)
CRITICAL: Time Window Calculation
**NEVER use hardcoded relative time windows like -2h o
Установить case-investigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
TaskReadBashSkillFAQ
Что делает скилл case-investigation?
Investigate security cases from the LimaCharlie Cases extension. Performs HOLISTIC investigations - not just process trees, but initial access hunting, org-wide scope assessment, lateral movement detection, and full host context. Enriches cases with telemetry references, entities/IOCs, analyst notes, and investigation summary/conclusion. Use for SOC triage, incident investigation, threat hunting, alert triage, or building SOC working reports. Supports case lifecycle management (triage, classify, resolve).
Как установить скилл case-investigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл case-investigation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic