/grimoire:annotationfrom grimoire
Discovers and lists @audit annotations in a codebase, returning structured JSON with file, line, tag, content, and enclosing scope context.
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.
Find @audit annotations in a codebase and return them as structured JSON.
src/ subdirectory, or whatever the user specified.uv run skills/annotation/scripts/find-annotations.py <directory> [--tag TAG] [--format json|table]
directory — path to scan (usually the project root or src/)--tag — filter to a specific tag, exact match (e.g., audit-high, audit-todo)--format — json (default) or table for human-readable outputEach annotation is returned with six fields:
| Field | Description |
|---|---|
file | Relative path from the scanned directory |
line | Line number (1-indexed) |
tag | Tag name — audit, audit-ok, audit-high, audit-todo, etc. |
content | Text after the tag on the same line |
context_type | Enclosing scope type (function, contract, trait, etc.) or unknown |
context_name | Name of the enclosing scope or unknown |
The script has two tiers of support:
unknown.context_type and context_name to the enclosing function, contract, trait, impl, or module. Falls back to grep if tree-sitter dependencies are not installed.Refer to references/annotation-format.md for the full taxonomy of supported @audit tag types.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub joranhonig/grimoire --plugin grimoire24 skills in this plugin
/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./findingThis skill should be used when the user asks about findings, finding structure, finding format, finding best practices, "how should a finding look", "what goes in a finding", "/finding", or wants to understand how security findings are structured and written. Teaches the format, best practices, and conventions for security findings. For specific workflows use /finding-draft, /finding-review, or /finding-dedup.Other plugins' skills for the same job