/grc-engineer:record-automation-metricsfrom grc-engineer
Write automation coverage metric snapshots into grc-data/metrics
Ships in grc-engineer. Installing the plugin adds it to Claude Code.
Writes reporting-friendly automation metric rows into ./grc-data/metrics/ so
/report:automation-coverage has real historical snapshots to compare.
The command always writes these metric IDs:
automation.coverage_pctautomation.controls_automatedautomation.controls_manualautomation.controls_totalUse it in one of three modes:
fedramp-low, fedramp-moderate, fedramp-high, or
fedramp-20x-ksi, where the toolkit can count automated controls from the
evidence collector config. This is a tooling-capability baseline, not
proof that your program is already running every automation in production.--config=<path>, where a scheduler can write multiple
framework snapshots in one run.Metric rows follow docs/GRC-DATA.md and
schemas/metric.schema.json.
/grc-engineer:record-automation-metrics <framework> [provider] [options]
$1 - Framework alias or FedRAMP scope$2 - Provider in derived mode (optional, defaults to aws)--controls-total=<n> - Required for manual mode unless paired with
--controls-manual--controls-automated=<n> - Required for manual mode--controls-manual=<n> - Optional manual count override--recorded-at=<iso8601> - Observation timestamp (defaults to now)--window-start=<iso8601> - Optional reporting window start--window-end=<iso8601> - Optional reporting window end--window-label=<label> - Optional period label like 2026-W16 or
current-week--dimension=<key=value> - Extra dimensions; may be repeated--source=<string> - Optional provenance override--out-dir=<path> - Override ./grc-data/metrics/--config=<path> - YAML or JSON config for batch mode--dry-run - Print rows instead of writing filesRun the writer directly:
node plugins/grc-engineer/scripts/record-automation-metrics.js "$ARGUMENTS"
For batch mode, point it at the example config:
node plugins/grc-engineer/scripts/record-automation-metrics.js \
--config=plugins/grc-engineer/examples/automation-metrics.yaml \
--window-label=current-week
Commit the generated files under ./grc-data/metrics/, or let your CI job
publish them into the repo on a schedule.
Rerun /report:automation-coverage after you have at least two snapshots
seven or more days apart.
# Derive coverage for FedRAMP Moderate on AWS
/grc-engineer:record-automation-metrics fedramp-moderate aws --window-label=2026-W16
# Derive coverage for FedRAMP 20x on GCP
/grc-engineer:record-automation-metrics fedramp-20x-ksi gcp --window-label=2026-W16
# Record an operator-observed SOC 2 snapshot
/grc-engineer:record-automation-metrics soc2 --controls-total=64 --controls-automated=22 --window-label=2026-W16
# Add an extra business-unit dimension
/grc-engineer:record-automation-metrics iso27001 --controls-total=93 --controls-automated=40 --dimension=business_unit=platform --window-label=2026-W16
# Write multiple snapshots from a config file
/grc-engineer:record-automation-metrics --config=plugins/grc-engineer/examples/automation-metrics.yaml --window-label=current-week
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub abnejllc/grc --plugin grc-engineer17 commands in this plugin
/collect-evidenceCollect EvidenceGenerate scripts to collect audit evidence/find-conflictsFind ConflictsIdentify conflicting requirements across frameworks/frameworksFrameworks DiscoveryList every SCF-mapped framework (249) and show which have a dedicated plugin/gap-assessmentGap AssessmentAggregate connector findings, map to requested frameworks via SCF crosswalk, and produce a prioritized gap report with remediation links./generate-implementationGenerate ImplementationGenerate implementation code for a security control/generate-policyGenerate PolicyGenerate policy-as-code from natural language requirements2 plugins ship this exact command · first indexed Apr 26, 2026