Agent skill

Find Relevant Case

by dandye in dandye/ai-runbooks

Search for existing cases related to specific indicators or entities.

Apache-2.0Auto-check passedSecurity

Install Find Relevant Case

skills CLI
$ npx skills add dandye/ai-runbooks --skill find-relevant-case -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dandye/ai-runbooks find-relevant-case --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dandye/ai-runbooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/find-relevant-case .claude/skills/find-relevant-case && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
find-relevant-case
GitHub stars
127
Token cost
~562 tokens
SKILL.md length
205 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

Search for existing cases related to specific indicators or entities.

  • Works in 4 steps: Construct Search Filter → Execute Search → Process Results → …
  • Find correlation with other investigations before starting new analysis
  • SKILL.md covers Inputs, Workflow, Outputs and Limitations & Workarounds
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Find Relevant Case is an agent skill from dandye/ai-runbooks. Search for existing cases related to specific indicators or entities. Use to find correlation with other investigations before starting new analysis. Takes search terms and returns matching case IDs.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Security operations. The licence is Apache-2.0.

When your agent uses it

  • Find correlation with other investigations before starting new analysis
  • Tasks that involve Security operations

Example prompts

  • “/find-relevant-case”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Construct Search Filter
  2. Execute Search
  3. Process Results
  4. (Optional) Refine Results

What it can do on your machine

Read from SKILL.md and the folder at commit 72a6863. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Find Relevant Case loads about 562 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 205 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~562

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dandye/ai-runbooks at commit 72a6863, republished under its Apache-2.0 licence (© dandye). 205 words, ~562 tokens.

Download SKILL.mdSave it as .claude/skills/find-relevant-case/SKILL.md (or your agent's skills folder).
name
find-relevant-case
description
Search for existing cases related to specific indicators or entities. Use to find correlation with other investigations before starting new analysis. Takes search terms and returns matching case IDs.
type
Skill
required_roles.soar
roles/chronicle.editor
personas
tier1-analyst, tier2-analyst, tier3-analyst, incident-responder
generated.by
human:dandye
generated.at
2026-02-04T06:10:49-05:00

Find Relevant Case Skill

Identify existing cases that may be related to the current investigation based on IOCs, hostnames, usernames, or other entities.

Inputs

  • SEARCH_TERMS - List of values to search for (e.g., ["198.51.100.10", "mikeross-pc", "jsmith"])
  • (Optional) CASE_STATUS_FILTER - Filter by status: "Opened", "Closed" (default: "Opened")
  • (Optional) TIME_FRAME_HOURS - Lookback period for case creation/update
  • (Optional) MAX_RESULTS - Maximum cases to return

Workflow

Step 1: Construct Search Filter

Build a filter for list_cases based on search terms and filters.

Note: The list_cases tool may have limited ability to search within case entities. If direct entity search isn't supported, use broader filters and refine results.

secops-soar.list_cases(
    filter=constructed_filter,
    limit=MAX_RESULTS
)
Step 3: Process Results

Extract case IDs and basic details (DisplayName, Priority) from results.

Step 4: (Optional) Refine Results

If too many results, use get_case_full_details on a subset to verify entity presence:

secops-soar.get_case_full_details(case_id=candidate_case_id)

Outputs

OutputDescription
RELEVANT_CASE_IDSList of case IDs that match the search
RELEVANT_CASE_SUMMARIESBrief summaries (ID, name, priority)
FIND_CASE_STATUSSuccess/failure status of the search

Limitations & Workarounds

The list_cases tool may not support direct entity searching. Alternatives:

  1. Broader filters - Use time range, alert type, then manually review
  2. SIEM correlation - Search SIEM for entity, check if events belong to a case
  3. Multiple searches - Search each term separately, combine results

© dandye, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/find-relevant-case of dandye/ai-runbooks.

Open the folder on GitHubat commit 72a6863

Compare with similar skills

Find Relevant Case next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Find Relevant Case compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Find Relevant Case this skilldandye/ai-runbooks127—~562Automated safety check: PassApache-2.0
Kubernetes Network Security Auditkubeshark/kubeshark12k—~7.3kAutomated safety check: NotesApache-2.0
DefectDojo Vulnerability ManagementAgentSecOps/SecOpsAgentKit220—~2.3kAutomated safety check: PassCustom licence
Ecs Operation Reviewaws/tools-for-devops-agent102—~4.8kAutomated safety check: PassApache-2.0
Deploying Osquery For Endpoint Monitoringmukul975/Anthropic-Cybersecurity-Skills34k—~1.8kAutomated safety check: PassApache-2.0
Hunting For Webshell Activitymukul975/Anthropic-Cybersecurity-Skills34k—~904Automated safety check: PassApache-2.0

Similar skills

  • Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.

    12k GitHub stars~7.3k tokensUpdated 2 days ago
    SecurityAuto-check: notes
  • DefectDojo Vulnerability Management

    AgentSecOps/SecOpsAgentKit

    Aggregates scanner results into DefectDojo, deduplicates findings, tracks remediation SLAs and prepares compliance reports across products and pipelines.

    220 GitHub stars~2.3k tokensUpdated 5 mo ago
    SecurityAuto-check passed
  • Ecs Operation Review

    aws/tools-for-devops-agent

    Official

    Performs a comprehensive Amazon ECS operations review across the 6 review pillars (Resiliency & HA, Observability, Security, Operations, Performance, Additional Analysis) using read-only AWS APIs…

    102 GitHub stars~4.8k tokensUpdated yesterday
    SecurityAuto-check passed
  • Deploying Osquery For Endpoint Monitoring

    mukul975/Anthropic-Cybersecurity-Skills

    Deploys and configures osquery for real-time endpoint monitoring using SQL-based queries to inspect running processes, open ports, installed software, and system configuration.

    34k GitHub stars~1.8k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Hunting For Webshell Activity

    mukul975/Anthropic-Cybersecurity-Skills

    Runs a hypothesis-driven threat hunt for web shell deployment (T1505.003) on internet-facing servers by analyzing file creation in web directories, suspicious child-process spawning from web server…

    34k GitHub stars~904 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Detecting Network Anomalies With Zeek

    mukul975/Anthropic-Cybersecurity-Skills

    Deploy and configure Zeek (formerly Bro) to passively analyze network traffic, generate structured connection/DNS/HTTP/SSL/file logs, detect anomalous behavior, and write custom scripts for…

    34k GitHub stars~3.6k tokensUpdated 1 mo ago
    SecurityAuto-check: notes

More from dandye/ai-runbooks

All 27 skills in this repo
  • Close Case Artifact

    dandye/ai-runbooks

    Close a case or alert with proper reason and documentation. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~615 tokensUpdated 1 mo ago
    Auto-check passed
  • Correlate Ioc

    dandye/ai-runbooks

    Check for existing SIEM alerts and case management entries related to IOCs.

    127 GitHub stars~624 tokensUpdated 1 mo ago
    Auto-check passed
  • Deep Dive Ioc

    dandye/ai-runbooks

    Perform exhaustive analysis of a critical IOC. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Enrich Ioc

    dandye/ai-runbooks

    Enrich an IOC (IP, domain, hash, URL) with threat intelligence.

    127 GitHub stars~702 tokensUpdated 1 mo ago
    Auto-check passed
  • Full Alert Triage

    dandye/ai-runbooks

    Complete Tier 1 triage workflow. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Hunt Apt

    dandye/ai-runbooks

    Hunt for a specific APT/threat actor in your environment. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Find Relevant Case

What does Find Relevant Case do?

Search for existing cases related to specific indicators or entities. Find Relevant Case is an agent skill from dandye/ai-runbooks. Search for existing cases related to specific indicators or entities.

When should I use Find Relevant Case?

Find Relevant Case fits situations like: find correlation with other investigations before starting new analysis; tasks that involve Security operations.

How do I install Find Relevant Case in Claude Code?

Run `npx skills add dandye/ai-runbooks --skill find-relevant-case -a claude-code`. Or copy the skill folder (skills/find-relevant-case in dandye/ai-runbooks) into .claude/skills/find-relevant-case in your project. Claude Code loads it when a task matches its description.

How do I install Find Relevant Case in Codex?

Run `npx skills add dandye/ai-runbooks --skill find-relevant-case -a codex`. Or copy the skill folder (skills/find-relevant-case in dandye/ai-runbooks) into .agents/skills/find-relevant-case in your project. Codex loads it when a task matches its description.

Can I use Find Relevant Case in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dandye/ai-runbooks --skill find-relevant-case -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/find-relevant-case, .gemini/skills/find-relevant-case, .github/skills/find-relevant-case and .opencode/skills/find-relevant-case in your project.

What does Find Relevant Case need to run?

SKILL.md names no scripts, command-line tools or credentials: Find Relevant Case is instructions for the agent only.

Does Find Relevant Case access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Find Relevant Case safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Find Relevant Case use?

Find Relevant Case is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Find Relevant Case use?

About 562 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Find Relevant Case?

Skills that share tags, products or a category with Find Relevant Case: Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), DefectDojo Vulnerability Management (AgentSecOps/SecOpsAgentKit, 220 stars), Ecs Operation Review (aws/tools-for-devops-agent, 102 stars) and Deploying Osquery For Endpoint Monitoring (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Find Relevant Case?

dandye (a GitHub user) maintains it in dandye/ai-runbooks, which has 127 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on August 14, 2026.

Source: dandye/ai-runbooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.