/grimoire:findingfrom grimoire
Guides format, best practices, and conventions for writing structured security findings with YAML frontmatter, severity, and context references.
Ships in grimoire. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Security findings are the core deliverable of security research — structured markdown files that prove a vulnerability exists and tell the recipient what to fix.
A finding is not a code review comment or a chat message. It is a standalone document that must be understandable by someone who has never seen the codebase. Every finding must be self-contained, fact-checked, and verifiable.
A finding should never suggest non-trivial code changes. Security researchers are external, unbiased reviewers. By suggesting complex implementations we become biased. If the fix requires architectural redesign, say so and move on. The recommendation states what to fix, not how to rewrite the code.
You are responsible for your findings. Agents make mistakes. Always perform thorough review of references, proof of concepts, and claims before submitting.
Every finding is a markdown file with YAML frontmatter:
---
title: Theft of deposited funds via reentrancy in Vault.withdraw()
severity: High
type: reentrancy
context:
- src/Vault.sol:142-158
- src/interfaces/IVault.sol:23
---
| Field | Required | Description |
|---|---|---|
title | yes | Concise title following the where/how/what rule |
severity | yes | Critical, High, Medium, Low, or Informational |
type | yes | Flaw classification (reentrancy, access-control, dos, etc.) |
context | yes | YAML list of affected files with optional line numbers/ranges |
| Section | Required | Purpose |
|---|---|---|
## Description | yes | Explains the vulnerability and its impact |
## Details | no | Technical deep dive for complex mechanisms |
## Proof of Concept | no | References the PoC artifact via @path/to/poc |
## Recommendation | yes | Concise, objective fix direction |
## References | no | Numbered citations to standards, prior art, docs |
For complete format specification see references/finding-format.md.
The title must convey where (component), how (mechanism), and what (impact):
Good: "Theft of deposited funds via reentrancy in Vault.withdraw() due to state update after external call"
Bad: "Missing check", "Reentrancy", "Incorrect implementation"
For detailed guidelines with more examples see references/finding-best-practices.md.
grimoire/findings/<slug>.mdgrimoire/sigil-findings/<slug>.md.md extension, max 60 characters-2, -3)For directory layout details see references/finding-structure.md.
| Level | Criteria |
|---|---|
| Critical | Direct path to fund loss, RCE, or full compromise. Minimal preconditions. |
| High | Significant impact, exploitable with moderate effort or conditions. |
| Medium | Real but conditional impact. Requires chaining or elevated privileges. |
| Low | Minor or theoretical impact. Worth documenting for defense in depth. |
| Informational | Best-practice deviation with no direct exploitable impact. |
Severity is always an estimate, not a formal CVSS score. Justify with one sentence.
alert(1), sleep(), id — never destructive.@path for PoC references. Never inline large code blocks. Reference the file.scripts/validate-finding.sh on every new or modified finding.examples/reentrancy-finding.md — complete finding with all sections (smart contract)examples/access-control-finding.md — minimal valid finding (web app, no Details section)examples/dedup-scenario.md — duplicate vs similar classification walkthroughUse the specific workflow skills for finding operations:
/finding-draft — create a new finding from a vulnerability observation/finding-review — review an existing finding against best practices/finding-dedup — identify and resolve duplicate or overlapping findingsexamples/access-control-finding.md (opens in a new tab)examples/dedup-scenario.md (opens in a new tab)examples/reentrancy-finding.md (opens in a new tab)references/finding-best-practices.md (opens in a new tab)references/finding-format.md (opens in a new tab)references/finding-structure.md (opens in a new tab)scripts/index-findings.sh (opens in a new tab)scripts/validate-finding.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub joranhonig/grimoire --plugin grimoire24 skills in this plugin
/annotationThis skill should be used when the user says "find annotations", "list audit tags", "show @audit comments", "compile annotations", "/annotation", "find todos", "find audit comments", "what did I annotate", "annotation summary", "list audit findings", "what's annotated", or wants to discover, list, or filter @audit-* comment annotations scattered throughout a codebase. This skill is for annotation discovery only — how annotations are used downstream (spawning subagents, cross-referencing findings, etc.) is out of scope./cartographyThis skill should be used when the user says "build context on a flow", "trace a flow", "map how X works", "cartography", "/cartography", "document a flow", "create a flow map", "trace how authentication works", "map the data flow", or wants to explore and document how a specific code flow works so that context can be quickly rebuilt on future visits. This is the primary skill for creating cartography files in grimoire/cartography/./checksThis skill should be used when the user says "create a check", "write a check", "add a check", "apply checks", "run checks", "/checks", "vulnerability pattern", "detection check", "check for common bugs", "scan with checks", or wants to create, apply, or manage simple vulnerability pattern files that agents use to find flaws. Checks are the simplest unit of agentic vulnerability detection — markdown files describing what to look for and how to assess matches. This skill is NOT for general code review or ad-hoc vulnerability analysis./delveThis skill should be used when the user says "delve", "/delve", "review the research", "what was interesting", "surface odd behavior", "what did the agents find odd", "show me the leads", or wants to see what autonomous security research turned up that deserves a human look. Delve is a report for the operator. It surfaces substantiated oddities, near-misses, unresolved mechanisms, and suspicious patterns so the operator can decide what to explore. It does not pick research directions, and it is not for agents to choose their next task./dig-modeThis skill should be used when the user says "dig mode", "/dig-mode", "dig", "let's dig into", "I'm going to ask you a series of short questions", "help me build context", "walk me through this one step at a time", or wants a question-and-answer session to quickly understand a system, a code path, or the research done so far. Dig mode is a conversational mode: short questions, short answers, low cognitive load, Simplified Technical English./divineThis skill should be used when the user says "divine", "/divine", "why", "/why", "why does this exist", "why does this work this way", "why was this chosen", "what motivated this code", "explain the rationale", "trace this decision", "reason about intent", or wants to understand the forces that shaped a security-relevant design choice, defensive check, threshold, invariant, trust boundary, or regression. Produces a confidence-calibrated, source-backed read on rationale, tradeoffs, gaps, and follow-up hypotheses.Other plugins' skills for the same job