AGENT SKILL

case-notes

Keep a persistent investigation journal - mlab.sh bookmarks hold the case's indicator set (IPs, domains, hashes), a local case file holds the narrative. Use when the user opens/resumes an investigation, says "bookmark this", "add to the case", asks what is in the current case, or wants a case summary.

License 许可
MIT
最近更新
2026-10-22
Stars
★ 1
Forks
0

01 前言 Front Matter

name
case-notes
description
Keep a persistent investigation journal - mlab.sh bookmarks hold the case's indicator set (IPs, domains, hashes), a local case file holds the narrative. Use when the user opens/resumes an investigation, says "bookmark this", "add to the case", asks what is in the current case, or wants a case summary.

03 SKILL.md 正文

Investigation Case Notes

Before interpreting any tool result, read ${CLAUDE_PLUGIN_ROOT}/docs/tool-reference.md: verified output shapes and gotchas that override intuition.

Two stores, one case:

  • mlab bookmarks (add_bookmark / get_bookmarks / remove_bookmark): the indicator set. Shared with the whole org and visible in the mlab UI, but flat - only IPs, domains and file hashes, no notes attached.
  • Local case file .mlab/cases/<case-slug>.md: the narrative - timeline, hypotheses, verdicts, and the indicators that bookmarks cannot hold (URLs, emails, wallets, phone numbers).

Workflow

Opening / resuming

On "open a case" create the case file with a header (name, date, one-line scope). On "resume", read the case file, then get_bookmarks and get_scan_history to see what happened platform-side since - other analysts' scans show up there. Summarize the delta in two lines.

During the investigation

When a finding is worth keeping ("bookmark this", or a confirmed-bad indicator during any other skill's run):

  • IP, domain or hash → add_bookmark AND a line in the case file.
  • Any other type → case file only, note that mlab cannot bookmark it.

Case file lines are append-only and dated:

- 2026-09-20 14:32 [ioc] 185.220.101.1 - TOR exit, C2 for sample X (scan: <link>)
- 2026-09-20 14:40 [hypothesis] initial access via the npm package, not phishing

Closing / summarizing

On "summarize the case" or "close it", produce the summary from the case file plus a fresh get_bookmarks, then offer two cleanups: hand the summary to intel-report for a shareable document, and remove_bookmark on indicators that turned out benign (bookmarks are org-shared; a stale benign bookmark pollutes everyone's view).

Rules

  • Bookmarks are org-wide state, not your scratchpad: never bulk-remove bookmarks you did not add in this case without asking.
  • Every bookmark added must exist in the case file too - the file is the source of truth for WHY something is bookmarked.
  • One case file per case; parallel investigations never share a file.

04 同仓库更多 Skills

mlab-sh
mlab-sh/mlab-claude

threat-watch

Generate a threat landscape digest from mlab.sh - recent critical/KEV CVEs filtered to a declared technology stack, with actor attribution. Use when the user asks what is new in vulnerabilities, wants a daily/weekly threat brief, asks about recent CVEs for a product, or sets up a recurring watch on their stack.

★ 1
mlab-sh
mlab-sh/mlab-claude

supply-chain-audit

Full supply-chain audit of a project - postmortem detects malicious code, install hooks and risky dependencies locally, then mlab.sh enriches what it finds (hashes, endpoints, actors, CVEs). Use when the user asks to audit a project's dependencies or supply chain, check a repo for malicious packages, or vet a codebase before adoption or deployment.

★ 1
mlab-sh
mlab-sh/mlab-claude

smishing-campaign

Analyze a batch of reported SMS/text messages through mlab.sh - score each for smishing, cluster them into campaigns, and extract the shared infrastructure (URLs, callback numbers, sender patterns). Use when the user has multiple reported SMS from users/employees, or investigates an SMS phishing wave. For a single message, phishing-triage does the job.

★ 1
mlab-sh
mlab-sh/mlab-claude

script-triage

Statically analyze a suspicious shell script through mlab.sh - install.sh, cron payloads, CI steps, curl-pipe-sh one-liners. Flags dangerous constructs (download-piped-to-shell, base64 decoding, reverse shells, persistence, anti-forensics, destructive deletes), extracts every IOC and enriches them. Use when the user pastes shell code and asks if it is safe/malicious, or provides a .sh file to vet before running it.

★ 1
mlab-sh
mlab-sh/mlab-claude

sbom-export

Generate a CycloneDX SBOM locally with postmortem and push it through mlab.sh vulnerability scanning - for projects or container images where no single lockfile can be pasted. Use when the user asks for an SBOM, needs vuln scanning of a container image or a multi-ecosystem repo, or when sbom-audit lacks a usable lockfile.

★ 1
mlab-sh
mlab-sh/mlab-claude

sbom-audit

Audit a dependency lockfile or SBOM for known vulnerabilities via mlab.sh, prioritize findings by KEV status and EPSS, and attribute actively exploited CVEs to threat actors. Use when the user provides a lockfile (package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.sum, composer.lock, Gemfile.lock, pom.xml, gradle.lockfile, packages.lock.json, pubspec.lock, mix.lock) or a CycloneDX / SPDX SBOM, or asks to check dependencies for vulnerabilities.

★ 1