/marq:security-metricsfrom marq
Designs security metrics that drive decisions: KPI vs KRI, leading vs lagging, starter metrics with action triggers, and how to eliminate vanity metrics.
Ships in marq. 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.
None: SKILL.md is the whole skill.
This is the design side: what to measure and how to make a number actionable. For
how to present these to a board/exec, load_skill board-metrics-reporting (don't
duplicate framing here). Standards anchor: ISO/IEC 27004:2016 (ISMS measurement model:
measure → analyze → evaluate; 2016 is still the live edition, a revision is under way; verify: https://www.iso.org/standard/85920.html)
and NIST CSF 2.0 GV.OV (oversight uses metrics to adjust strategy).
A measure earns its place only if a defined threshold triggers a named action. Write the trigger before you collect data: "if X crosses Y, then Z (who does what)." No trigger = vanity. If you can't name what changes when it moves, delete it.
| Term | Question it answers | Looks at | Owner |
|---|---|---|---|
| Metric | A raw measurement | Now | Whoever emits |
| KPI | Is the program performing? | Past/now (lagging) | Process owner |
| KRI | Is risk rising toward a limit? | Forward (leading) | Risk owner |
A KPI grades you; a KRI warns you. You need both. Each KRI needs a threshold tied to risk appetite (green/amber/red), not an arbitrary round number.
| Metric | Type | What it measures | Triggers |
|---|---|---|---|
| MTTD (mean time to detect) | KPI/lag | Hours from compromise to detection | Rising → invest in logging/EDR coverage, tune detections |
| MTTR (mean time to remediate) | KPI/lag | Detect→contain/fix, by severity | Above target → IR resourcing / runbook gaps |
| Patch-SLA adherence | KRI/lead | % criticals patched within tier SLA (e.g. crit 7d, high 30d) | Falling → patch-pipeline blocker; below floor → escalate to risk owner |
| KEV exposure window | KRI/lead | Days a CISA-KEV item stays open / oldest open KEV | > remediation deadline → emergency change; growing backlog = red |
| Control coverage | KRI/lead | % crown-jewel assets with MFA / EDR / logging / tested backup | Any gap on a critical asset = a funded ask with a date |
| Phishing-fail / report rate | KPI/lead | % who click vs % who report a sim | Click trend up or report rate low → targeted training, not blanket |
| Vuln backlog aging | KRI/lead | Age of oldest open critical; backlog trend | Backlog growing faster than burn-down → capacity problem |
Set MFA/EDR/patch SLAs to your appetite, then benchmark against current authority, don't hard-code memory. KEV deadlines: US federal BOD 22-01's flat 14/21-day KEV clock was revoked by BOD 26-04 (issued 10 Jun 2026): an SSVC-informed remediation table keyed to KEV status, public exposure and technical impact, shortest tier 3 days + forensic triage, not one clock. So a single "days open" KEV KRI now under-reports: split it by exposure tier, or you will report green while a publicly-exposed KEV sits past its 3-day window. Verify the live directive + catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog . Industry phishing/MTTR benchmarks drift yearly; cite the current Verizon DBIR / vendor report, don't assert a stale %.
Smells of a vanity metric; cut or reframe:
Rule: replace each vanity metric with the outcome it was pretending to measure
(see the reframe column in board-metrics-reporting).
For each metric, write one line: name | type (KPI/KRI) | formula & source | target |
threshold→action | owner | cadence. That spec is the whole design. Store it once
(write_file /work/metrics-catalog.md); regenerate the report from it each cycle.
read_file /work/findings.md / findings.jsonl: confirmed findings feed the vuln-backlog
and coverage metrics with real evidence, not guesses.load_skill vulnerability-prioritization.report_finding so they land
in render_report alongside technical findings.load_skill board-metrics-reporting.load_skill risk-assessment.load_skill security-governance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
security-metrics, kpi, kri, risk-measurement, security-program
npx claudepluginhub rhaist/marq --plugin marq86 skills in this plugin
/actor-ttp-attributionGuides going from observed behavior or IOCs to a candidate threat actor and concrete MITRE ATT&CK technique IDs with calibrated confidence, starting from ORKL report search. Use when the user asks who is behind an attack, which APT or group matches observed TTPs, to map behavior to ATT&CK, or how confident an attribution is./ai-governanceGuides running an AI management system, covering ISO/IEC 42001 (with 42005/42006), NIST AI RMF and its profiles, the AI inventory and risk register, acceptable-use policy, model-vendor assessment, and how it evidences EU AI Act and AI-security duties. Use when the user asks about ISO 42001, NIST AI RMF, an AI policy or inventory, assessing an AI vendor, or AI governance for EU AI Act compliance./Other plugins' skills for the same job