From security-auditor
Use when the user wants to compare two audits and see what changed.
How this skill is triggered — by the user, by Claude, or both
Slash command
/security-auditor:compare-auditsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Diff the two most recent audits for a machine (or two specific timestamps) and surface what changed: new findings, resolved issues, and unchanged items.
Diff the two most recent audits for a machine (or two specific timestamps) and surface what changed: new findings, resolved issues, and unchanged items.
Resolve the data directory:
DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/security-auditor/data"
MACHINE_DIR="$DATA_DIR/machines/<machine_name>"
If no timestamps are given, locate the two most recent reports:
REPORTS=($(ls -t "$MACHINE_DIR/reports"/*/audit-report.md | head -2))
REPORT_OLD="${REPORTS[1]}"
REPORT_NEW="${REPORTS[0]}"
Read both reports and parse sections (findings, metadata, status).
Use text diffing and semantic analysis to identify:
Generate a structured markdown delta document with three sections: New, Resolved, Unchanged. Include a summary count (e.g., "5 new findings, 2 resolved, 8 unchanged").
$MACHINE_DIR/deltas/<timestamp>-diff.md for record-keepingnpx claudepluginhub danielrosehill/claude-code-plugins --plugin security-auditorProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.