/engineer:record-automation-metricsfrom engineer
Writes automation coverage metric snapshots (coverage_pct, controls_automated, etc.) into grc-data/metrics for historical reporting. Supports FedRAMP baselines, manual counts, framework metadata, and batch mode.
Ships in engineer. 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.
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. The first three are FedRAMP's Rev5 Class B, C and D
control lists (155, 322 and 409 controls). fedramp-20x-ksi is the 46
FedRAMP 20x Key Security Indicators. Both come from FedRAMP's Consolidated
Rules for 2026 dataset. The total is FedRAMP's count, and the automated count
is the number of those items the toolkit has a cloud check for on the chosen
provider. This is a tooling-capability baseline, not proof that your
program is already running every automation in production. The checks are
the toolkit's own, not FedRAMP's.metadata.framework.framework_controls_mapped, where you provide only the
operator-observed automated count and the command derives the total.--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.
/engineer:record-automation-metrics <framework> [provider] [options]
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--from-framework-metadata - Derive controls_total from the framework
plugin manifest, leaving controls_automated operator-observed--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 "${CLAUDE_PLUGIN_ROOT}/scripts/record-automation-metrics.js" "$ARGUMENTS"
For batch mode, copy the example config into the project and point at the copy. Paths inside a config resolve from the config's own folder, so running the bundled file in place would write snapshots inside the plugin:
cp "${CLAUDE_PLUGIN_ROOT}/examples/automation-metrics.yaml" ./automation-metrics.yaml
node "${CLAUDE_PLUGIN_ROOT}/scripts/record-automation-metrics.js" \
--config=./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 the FedRAMP Rev5 Class C control list (fedramp-moderate) on AWS
/engineer:record-automation-metrics fedramp-moderate aws --window-label=2026-W16
# Derive coverage for the FedRAMP 20x Key Security Indicators on GCP
/engineer:record-automation-metrics fedramp-20x-ksi gcp --window-label=2026-W16
# Record an operator-observed SOC 2 snapshot
/engineer:record-automation-metrics soc2 --controls-total=64 --controls-automated=22 --window-label=2026-W16
# Derive the total from SOC 2 plugin metadata, but keep the automated count observed
/engineer:record-automation-metrics soc2 --controls-automated=22 --from-framework-metadata --window-label=2026-W16
# Add an extra business-unit dimension
/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 in the project
/engineer:record-automation-metrics --config=./automation-metrics.yaml --window-label=current-week
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub grcengclub/claude-grc-engineering --plugin engineer25 skills in this plugin
/access-review-triageHelps you triage a quarterly user access review from an Okta, Entra ID, AWS IAM, GitHub, or generic CSV/JSON export. For each row, recommends certify, revoke, manager confirm, or investigate using rules that catch the usual audit-fail patterns: terminated users still active, dormant admin accounts, separation-of-duty conflicts, service accounts in a human review. Drafts manager confirmation emails and writes an audit evidence packet mapped to SOC 2 CC6.1/CC6.2, PCI 7-8, ISO A.5.15, A.5.16, A.5.18, A.8.2, plus A.5.3 when a separation-of-duty conflict is found, NIST AC-2. Built for small and mid-size orgs running UARs in spreadsheets without an IGA tool. Never auto-revokes. Output is a draft for human review before action./audit-ready-pr-reviewerReviews pull requests for compliance regressions. Scans code diffs for security and compliance violations, flags issues, and suggests fixes aligned with frameworks like SOC 2, ISO 27001, NIST 800-53./code-to-control-mapperMaps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53). Analyzes IaC files and generates compliance evidence mappings showing which controls are satisfied./collect-evidenceGenerate scripts to collect audit evidence/evidence-artifact-collectorGenerates CLI commands and API scripts to collect point-in-time evidence for audit controls. Automates evidence gathering from cloud providers (AWS, Azure, GCP) and outputs formatted reports./find-conflictsIdentify conflicting requirements across frameworksOther plugins' skills for the same job