Agent skill

Close Case Artifact

by dandye in dandye/ai-runbooks

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

Apache-2.0Auto-check passedDevelopment

Install Close Case Artifact

skills CLI
$ npx skills add dandye/ai-runbooks --skill close-case-artifact -a claude-code

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

GitHub CLI
$ gh skill install dandye/ai-runbooks close-case-artifact --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/close-case-artifact .claude/skills/close-case-artifact && 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
close-case-artifact
GitHub stars
127
Token cost
~615 tokens
SKILL.md length
166 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Triage determines an alert is FP/BTP
  • SKILL.md covers Inputs, Workflow, Outputs and Common Closure Patterns, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Investigation is complete

What it does

Close Case Artifact is an agent skill from dandye/ai-runbooks. Close a case or alert with proper reason and documentation. Use when triage determines an alert is FP/BTP or investigation is complete. Requires artifact ID, type, closure reason, and root cause.

Its SKILL.md is about 620 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 Development, covering Root cause analysis. The licence is Apache-2.0.

When your agent uses it

  • Triage determines an alert is FP/BTP
  • Investigation is complete

Example prompts

  • “/close-case-artifact”

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

Close Case Artifact loads about 615 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 166 words of instructions outside code blocks.

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

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). 166 words, ~615 tokens.

Download SKILL.mdSave it as .claude/skills/close-case-artifact/SKILL.md (or your agent's skills folder).
name
close-case-artifact
description
Close a case or alert with proper reason and documentation. Use when triage determines an alert is FP/BTP or investigation is complete. Requires artifact ID, type, closure reason, and root cause.
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

Close Case Artifact Skill

Close a case or alert with the required reason, root cause, and justification comment.

Inputs

  • ARTIFACT_ID - The ID of the case or alert to close
  • ARTIFACT_TYPE - Either "Case" or "Alert"
  • CLOSURE_REASON - Must be one of:
    • MALICIOUS - Confirmed threat
    • NOT_MALICIOUS - False positive or benign
    • MAINTENANCE - System/maintenance activity
    • INCONCLUSIVE - Unable to determine
    • UNKNOWN - Unknown/other
  • ROOT_CAUSE - Must match a predefined root cause (use get_case_settings_root_causes to list options)
  • CLOSURE_COMMENT - Detailed justification for closure
  • (Optional) ALERT_GROUP_IDENTIFIERS - Alert group identifiers
  • (Optional, for alerts) ASSIGN_TO_USER - User to assign closed alert to
  • (Optional, for alerts) TAGS - Comma-separated tags

Workflow

Step 1: Execute Closure

For Cases:

secops-soar.siemplify_close_case(
    case_id=ARTIFACT_ID,
    reason=CLOSURE_REASON,
    root_cause=ROOT_CAUSE,
    comment=CLOSURE_COMMENT,
    alert_group_identifiers=ALERT_GROUP_IDENTIFIERS
)

For Alerts:

secops-soar.siemplify_close_alert(
    alert_id=ARTIFACT_ID,
    reason=CLOSURE_REASON,
    root_cause=ROOT_CAUSE,
    comment=CLOSURE_COMMENT,
    assign_to_user=ASSIGN_TO_USER,
    tags=TAGS
)

Outputs

OutputDescription
CLOSURE_STATUSSuccess/failure status of the closure

Common Closure Patterns

ScenarioReasonTypical Root Cause
False PositiveNOT_MALICIOUS"Legit action", "Normal behavior"
DuplicateNOT_MALICIOUS"Similar case is already under investigation"
Benign True PositiveNOT_MALICIOUS"Legit action"
Confirmed Threat (remediated)MALICIOUSVaries by threat type
Unable to determineINCONCLUSIVE"Insufficient data"

Get Valid Root Causes

If unsure of valid root cause values:

secops-soar.get_case_settings_root_causes()

© 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/close-case-artifact of dandye/ai-runbooks.

Open the folder on GitHubat commit 72a6863

Compare with similar skills

Close Case Artifact 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.

Close Case Artifact compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Close Case Artifact this skilldandye/ai-runbooks127—~615Automated safety check: PassApache-2.0
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Codexqa Rootcause Analyzeropenqa-cn/codexqa152—~2.6kAutomated safety check: PassApache-2.0
AWS Health Eventsaws/tools-for-devops-agent102—~4.6kAutomated safety check: PassApache-2.0
Dt AlertingDynatrace/dynatrace-for-ai162—~3.3kAutomated safety check: PassApache-2.0
CI Fixwarpdotdev/oz-skills825—~790Automated safety check: PassMIT

Similar skills

  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Diagnoses exception root causes from stack traces, logs, call-chain dumps, and debug output using the CodexQA CLI for structured repo analysis.

    152 GitHub stars~2.6k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • AWS Health Events

    aws/tools-for-devops-agent

    Official

    ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting.

    102 GitHub stars~4.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Dt Alerting

    Dynatrace/dynatrace-for-ai

    End-to-end Dynatrace alerting lifecycle — anomaly detector setup and model selection (static threshold, adaptive baseline, seasonal baseline), alert event storage in Grail, problem grouping and…

    162 GitHub stars~3.3k tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • CI Fix

    warpdotdev/oz-skills

    Diagnose and fix GitHub Actions CI failures. An agent skill from warpdotdev/oz-skills.

    825 GitHub stars~790 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Maiden Skill

    Xircth/VibeX

    Project-wide engineering principles for VibeX. An agent skill from Xircth/VibeX.

    136 GitHub stars~597 tokensUpdated 10 days ago
    DevelopmentAuto-check passed

More from dandye/ai-runbooks

All 27 skills in this repo
  • 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
  • Find Relevant Case

    dandye/ai-runbooks

    Search for existing cases related to specific indicators or entities.

    127 GitHub stars~562 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 Close Case Artifact

What does Close Case Artifact do?

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

When should I use Close Case Artifact?

Close Case Artifact fits situations like: triage determines an alert is FP/BTP; investigation is complete.

How do I install Close Case Artifact in Claude Code?

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

How do I install Close Case Artifact in Codex?

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

Can I use Close Case Artifact 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 close-case-artifact -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/close-case-artifact, .gemini/skills/close-case-artifact, .github/skills/close-case-artifact and .opencode/skills/close-case-artifact in your project.

What does Close Case Artifact need to run?

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

Does Close Case Artifact 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 Close Case Artifact 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 Close Case Artifact use?

Close Case Artifact 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 Close Case Artifact use?

About 615 tokens (SKILL.md is roughly 2.5k 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 Close Case Artifact?

Skills that share tags, products or a category with Close Case Artifact: Code Design Rationale Investigator (cursor/plugins, 10k stars), Codexqa Rootcause Analyzer (openqa-cn/codexqa, 152 stars), AWS Health Events (aws/tools-for-devops-agent, 102 stars) and Dt Alerting (Dynatrace/dynatrace-for-ai, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Close Case Artifact?

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.