usap-skills / governance
CLAUDE.md4 starsChanged 3 months agoApache-2.0View on GitHub
The Governance domain contains skills for managing the security program across its strategic, operational, and reporting dimensions. Skills in this domain span the full governance lifecycle: from enterprise architecture review and policy adequacy analysis through security awareness program management, findings and vulnerability lifecycle tracking, KPI and metrics production, knowledge capture, cross-domain posture scoring, and executive brief generation. Governance skills are advisory by design. They produce structured payloads — scored risk summaries, policy gap reports, board metrics, and posture narratives —…
In this repository100 other files it gives its agents.
- agents/CLAUDE.mdCLAUDE.md
- appsec-devsecops/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- cloud-infra/CLAUDE.mdCLAUDE.md
- detection/CLAUDE.mdCLAUDE.md
- identity-access/CLAUDE.mdCLAUDE.md
- pentest/CLAUDE.mdCLAUDE.md
- platform-ai/CLAUDE.mdCLAUDE.md
- red-team/CLAUDE.mdCLAUDE.md
- response/CLAUDE.mdCLAUDE.md
- risk-compliance/CLAUDE.mdCLAUDE.md
- system-security/CLAUDE.mdCLAUDE.md
- webapp-security/CLAUDE.mdCLAUDE.md
- agent-integrity-monitorSkill
- ai-agent-securitySkill
- ai-ethics-governanceSkill
- ai-red-teamingSkill
- api-security-postureSkill
- appsec-code-reviewSkill
- appsec-customizeSkill
- attack-path-analysisSkill
- attack-surface-managementSkill
- behavioral-analyticsSkill
- build-integritySkill
- ciso-brief-generatorSkill
- cloud-security-postureSkill
- cloud-workload-protectionSkill
- compliance-mappingSkill
- container-image-scanSkill
- containment-advisorSkill
- continuous-pentestingSkill
- credential-attacksSkill
- cryptography-key-managementSkill
- cyber-insuranceSkill
- data-security-classificationSkill
- deception-honeypotSkill
- detection-engineeringSkill
- devsecops-pipelineSkill
- endpoint-os-securitySkill
- enterprise-risk-assessmentSkill
- findings-trackerSkill
- finding-triageSkill
- forensicsSkill
- guardrailSkill
- iac-securitySkill
- identity-access-riskSkill
- incident-classificationSkill
- incident-commanderSkill
- insider-physical-riskSkill
- internal-audit-assuranceSkill
- knowledge-managementSkill
- metrics-reportingSkill
- network-exposureSkill
- orchestratorSkill
- os-hardeningSkill
- ot-iot-device-securitySkill
- owasp-top10-classifierSkill
- patch-candidateSkill
- pentest-reportingSkill
- persona-coverage-auditSkill
- The first 60 shown.
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
All skill paths are relative from the repository root as governance/<slug>/.
- Distinctive: line 148
Knowledge management is a post-incident obligation: Every incident that escalates past Severity 3 must produce an updated or validated …
- Distinctive: line 160
Every runbook registered in the knowledge base must meet the following criteria:
- Very specific: line 295
All skill paths in this domain are relative from the repository root using the convention governance/<slug>/.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Governance Domain — CLAUDE.md
Purpose
The Governance domain contains skills for managing the security program across its strategic, operational, and reporting dimensions. Skills in this domain span the full governance lifecycle: from enterprise architecture review and policy adequacy analysis through security awareness program management, findings and vulnerability lifecycle tracking, KPI and metrics production, knowledge capture, cross-domain posture scoring, and executive brief generation.
Governance skills are advisory by design. They produce structured payloads — scored risk summaries, policy gap reports, board metrics, and posture narratives — that are consumed by executive stakeholders, downstream risk and compliance workflows, and detection response teams. Mutating actions (policy enforcement, patch deployment, access revocation) require explicit human approval gates and are carried out in their respective operational domains.
Subdomains covered by this domain:
- Enterprise security architecture review (zero trust, control coverage gaps, TOGAF alignment)
- Security policy lifecycle and control mapping
- Security awareness, training effectiveness, and phishing simulation analysis
- Findings lifecycle management and SLA enforcement
- Vulnerability management with CVSS v3.1 and EPSS-based prioritization
- Security KPIs, MTTD/MTTR, and board-level metrics reporting
- Knowledge management, runbooks, and lessons-learned capture
- Cross-domain security posture scoring and trending
- CISO-level executive brief and board narrative generation
Skills Catalog
| Skill | Slug | Primary Tool | Coverage |
| security-architecture | governance/security-architecture | security-architecture_tool.py | Enterprise architecture, TOGAF |
| security-policy-control | governance/security-policy-control | security-policy-control_tool.py | Policy lifecycle, control mapping |
| security-awareness | governance/security-awareness | security-awareness_tool.py | Training programs, phishing simulations |
| findings-tracker | governance/findings-tracker | findings-tracker_tool.py | Finding lifecycle, SLA management |
| vulnerability-management | governance/vulnerability-management | vulnerability-management_tool.py | CVSS, patch prioritization |
| metrics-reporting | governance/metrics-reporting | metrics-reporting_tool.py | KPIs, MTTD/MTTR, board metrics |
| knowledge-management | governance/knowledge-management | knowledge-management_tool.py | Runbooks, lessons learned |
| security-posture-score | governance/security-posture-score | security-posture-score_tool.py | Cross-domain scoring |
| ciso-brief-generator | governance/ciso-brief-generator | ciso-brief-generator_tool.py | Executive briefs |
| security-roadmap-planner | governance/security-roadmap-planner | security-roadmap-planner_tool.py | 12-month investment-prioritized program roadmap |
| security-debt-tracker | governance/security-debt-tracker | security-debt-tracker_tool.py | Aging debt analysis, SLA breach detection, accumulation rate |
| persona-coverage-audit | governance/persona-coverage-audit | persona-coverage-audit_tool.py | Weekly coverage of USAP persona passes over gated sessions; reads the gate audit log and transcripts (keys only) |
All skill paths are relative from the repository root as governance/<slug>/. For example, the vulnerability-management skill lives at governance/vulnerability-management/.
Python Tools Reference
| Tool | Path | Purpose | Key Args |
| security-architecture_tool.py | governance/security-architecture/scripts/security-architecture_tool.py | Reviews enterprise architecture against zero trust principles, TOGAF phases, and control coverage baselines | --architecture, --framework, --output |
| security-policy-control_tool.py | governance/security-policy-control/scripts/security-policy-control_tool.py | Assesses policy lifecycle status, control mapping completeness, and gap analysis against target frameworks | --policy-set, --framework, --output |
| security-awareness_tool.py | governance/security-awareness/scripts/security-awareness_tool.py | Analyzes phishing simulation results, training completion rates, and program effectiveness trends | --program, --period, --output |
| findings-tracker_tool.py | governance/findings-tracker/scripts/findings-tracker_tool.py | Tracks finding lifecycle from discovery through closure, enforces SLA bands, deduplicates across sources | --source, --sla-band, --output |
| vulnerability-management_tool.py | governance/vulnerability-management/scripts/vulnerability-management_tool.py | Full vulnerability lifecycle: CVSS v3.1 + EPSS scoring, SLA-based patch prioritization, remediation tracking | --scope, --cvss-floor, --epss-threshold, --output |
| metrics-reporting_tool.py | governance/metrics-reporting/scripts/metrics-reporting_tool.py | Generates KPI dashboards: MTTD, MTTR, patch coverage, SLA compliance, false-positive rates | --period, --metrics, --audience, --output |
| knowledge-management_tool.py | governance/knowledge-management/scripts/knowledge-management_tool.py | Maintains runbook currency, captures lessons learned, and surfaces knowledge gaps from recent incidents | --runbook, --incident-id, --output |
| security-posture-score_tool.py | governance/security-posture-score/scripts/security-posture-score_tool.py | Aggregates findings, metrics, and control coverage from all domains into a 0–100 executive scorecard | --domains, --period, --output |
| ciso-brief-generator_tool.py | governance/ciso-brief-generator/scripts/ciso-brief-generator_tool.py | Synthesizes posture score, vulnerability trends, and metrics into board-ready narrative briefs | --audience, --period, --format, --output |
| security-roadmap-planner_tool.py | governance/security-roadmap-planner/scripts/security-roadmap-planner_tool.py | Builds investment-prioritized 12-month security program roadmap from posture, risk, and compliance inputs | --input, --risk-input, --compliance-input, --output |
| security-debt-tracker_tool.py | governance/security-debt-tracker/scripts/security-debt-tracker_tool.py | Analyzes findings aging, SLA breach counts, debt accumulation rate; exits 0/1/2 for stable/accumulating/critical | --input, --output |
| persona-coverage-audit_tool.py | governance/persona-coverage-audit/scripts/persona-coverage-audit_tool.py | Pairs gated sessions with persona_pass audit entries by session id; exits 0/1/2 for covered/partly covered/zero passes | --input, --audit-dir, --transcripts-dir, --since-days, --output |
Security Metrics Framework
The following KPIs are the primary measurements tracked across the governance domain. All metrics are computed by metrics-reporting and consumed by security-posture-score and ciso-brief-generator.
| Metric | Formula | Target | Tool |
| Mean Time to Detect (MTTD) | Avg(detection_timestamp - compromise_timestamp) | < 24 hours for Critical | metrics-reporting |
| Mean Time to Respond (MTTR) | Avg(resolution_timestamp - detection_timestamp) | < 4 hours for Critical | metrics-reporting |
| Mean Time to Remediate (MTTRem) | Avg(patch_timestamp - discovery_timestamp) | < 15 days for Critical | vulnerability-management |
| Patch Coverage | (patched_critical_vulns / total_critical_vulns) × 100 | > 95% for Critical CVEs | vulnerability-management |
| SLA Compliance Rate | (findings_closed_on_time / total_findings) × 100 | > 90% overall | findings-tracker |
| False Positive Rate | (fp_findings / total_findings) × 100 | < 10% | findings-tracker |
| Phishing Click Rate | (users_clicked / users_tested) × 100 | < 5% | security-awareness |
| Training Completion Rate | (trained_users / total_users) × 100 | > 95% quarterly | security-awareness |
| Security Posture Score | Weighted composite of domain sub-scores | > 75 / 100 | security-posture-score |
| Architecture Control Coverage | (implemented_controls / required_controls) × 100 | > 85% | security-architecture |
Vulnerability Management SLA
Patch prioritization uses CVSS v3.1 base scores combined with EPSS exploitation probability to assign SLA bands. The vulnerability-management tool enforces these bands and escalates breaches to findings-tracker.
| CVSS Range | EPSS Modifier | Patch SLA | Escalation Path |
| 9.0–10.0 (Critical) | Any | 15 days | CISO + System Owner + Vulnerability Team |
| 9.0–10.0 (Critical) | EPSS > 0.5 | 7 days | CISO + System Owner + Incident Commander |
| 7.0–8.9 (High) | Any | 30 days | Vulnerability Team + System Owner |
| 7.0–8.9 (High) | EPSS > 0.5 | 15 days | CISO + Vulnerability Team |
| 4.0–6.9 (Medium) | Any | 60 days | System Owner |
| 0.1–3.9 (Low) | Any | 90 days | System Owner |
| Any | EPSS > 0.7 | Escalate to next higher band | Vulnerability Team |
EPSS threshold of 0.5 indicates a 50% or greater probability of exploitation in the wild within 30 days. Findings in this category automatically inherit the next-higher SLA band regardless of CVSS score.
Security Architecture Framework Alignment
The security-architecture skill evaluates enterprise architecture against the following frameworks and principles. When invoking the skill, specify the target framework to constrain the analysis scope.
| Framework | Focus Area | Primary Assessment Criteria | Governance Output |
| Zero Trust | Network and identity segmentation | Verify-explicitly, least-privilege, assume-breach coverage | Architecture gap register |
| TOGAF | Enterprise architecture lifecycle | ADM phase adherence, architecture board alignment | Architecture risk report |
| SABSA | Security architecture methodology | Business attribute profile, security domain coverage | Control mapping matrix |
| CIS Controls v8 | Implementation group coverage | IG1/IG2/IG3 control implementation status | Control coverage dashboard |
| NIST SP 800-207 | Zero trust architecture | Seven tenets assessment, PEP/PDP deployment model | Zero trust maturity score |
Architecture reviews are scoped to a triggering change event: a new system deployment, a network segment modification, a cloud service adoption, or a merger/acquisition integration. Open-ended architecture reviews without a defined scope boundary produce low-signal outputs and should not be used for audit evidence purposes.
Security Posture Score Composition
The security-posture-score skill computes a 0–100 composite score from weighted sub-scores across all active security domains. The following table defines the default weight allocation. Weights are configurable through the tool's --weight-profile argument.
| Domain | Sub-Score Dimension | Default Weight | Source Skills |
| Vulnerability Management | Patch coverage, SLA compliance, EPSS-weighted open vuln count | 25% | vulnerability-management, findings-tracker |
| Detection Coverage | ATT&CK technique coverage, telemetry health, alert fidelity | 20% | detection/detection-engineering, detection/telemetry-signal-quality |
| Policy and Control | Policy lifecycle completeness, control mapping coverage | 15% | security-policy-control, security-architecture |
| Awareness and Culture | Phishing click rate, training completion, repeat offender rate | 10% | security-awareness |
| Incident Response | MTTD, MTTR, playbook coverage, post-incident review completion | 15% | metrics-reporting, knowledge-management |
| Risk and Compliance | Framework gap count, regulatory obligation SLA compliance | 10% | risk-compliance/compliance-mapping |
| Knowledge Currency | Runbook staleness, lessons-learned capture rate | 5% | knowledge-management |
A composite score below 60 triggers an automatic CISO brief within five business days. A score below 50 triggers board notification. Score deltas greater than 10 points in either direction within a single reporting period are flagged as anomalous and require a root-cause explanation appended to the brief.
Domain Best Practices
- Posture scores must be accompanied by trend data. A point-in-time score is insufficient for executive decision-making. Every
security-posture-scoreoutput must include a 90-day trend line and a period-over-period delta. A score of 74 that is rising from 60 conveys a different risk story than a score of 74 that is falling from 85. - Metrics must be tied to source data. Board-level metrics reported without a data provenance statement are not auditable. Every metric produced by
metrics-reportingmust cite the data sources, collection period, and any known gaps or exclusions. Undisclosed gaps in coverage are a material misrepresentation of the security posture. - CISO briefs must distinguish signal from noise. Executive audiences do not process raw finding counts. The
ciso-brief-generatorshould surface trend changes, SLA breach rates, and new risk themes — not enumerate individual findings. Narrative quality is the primary quality measure for brief outputs. - Policy gaps require an owner and a remediation date. A gap identified by
security-policy-controlthat has no assigned owner is an unactioned risk. Every identified gap must be translated into a tracked finding with a named owner and an SLA-compliant remediation date before the policy review cycle closes. - Architecture reviews must be scoped to a change event. A security architecture review is most valuable when anchored to a specific change: a new system, a network segment expansion, a cloud migration. Open-ended reviews produce low-signal outputs. Define the architecture boundary, the triggering change, and the target frameworks (TOGAF, SABSA, zero trust) before invoking
security-architecture. - Awareness metrics require a control-group baseline. Phishing simulation click rates are only meaningful relative to a pre-program baseline and a peer benchmark.
security-awarenessoutputs must include both to support program effectiveness claims. A 5% click rate is excellent if the starting rate was 30%; it is poor if the industry benchmark is 2%. - Knowledge management is a post-incident obligation. Every incident that escalates past Severity 3 must produce an updated or validated runbook within 14 days of closure. The
knowledge-managementtool should be invoked as a mandatory step in the post-incident review process, not as an optional enhancement. - Vulnerability SLA breaches must trigger board visibility. Any Critical or High vulnerability that breaches its SLA band must be surfaced in the next CISO brief, regardless of compensating controls in place. The existence of a compensating control should be documented alongside the breach, not used to suppress it from executive reporting.
Knowledge Management and Runbook Standards
The knowledge-management skill enforces a set of content standards for all runbooks and lessons-learned artifacts stored in the governance knowledge base. These standards exist to ensure that knowledge artifacts are actionable during high-stress incident scenarios and auditable during post-incident reviews.
Runbook Quality Requirements
Every runbook registered in the knowledge base must meet the following criteria:
| Criterion | Requirement | Enforcement |
| Trigger definition | Explicit conditions that prompt runbook activation (alert name, severity level, indicator type) | knowledge-management validation check |
| Owner | Named role and backup role; not a team name or alias | knowledge-management validation check |
| Last validated date | Within 90 days; runbooks older than 90 days are flagged as stale | knowledge-management staleness report |
| Step atomicity | Each step is a single executable action; compound steps are split | Manual review at authoring |
| Rollback section | Explicit rollback procedures for every destructive action in the runbook | knowledge-management validation check |
| Approval gates | Steps requiring human approval are explicitly marked | knowledge-management validation check |
| Test evidence | At least one tabletop or live-fire test result with date and participants | knowledge-management validation check |
Lessons-Learned Capture Requirements
Every post-incident review for incidents at Severity 3 or higher must produce a lessons-learned artifact with the following mandatory fields: incident ID, incident timeline (detection, escalation, containment, resolution), root cause statement, contributing factors, actions taken, effectiveness assessment, and improvement actions with named owners and 30-day deadlines. The knowledge-management tool generates a structured template for each required field and validates completeness before archiving.
Workflow Patterns
Monthly Security Governance Cycle
A structured monthly cadence that produces the full governance reporting stack. This workflow is the primary input to the quarterly board security report.
vulnerability-management (score and prioritize all open vulnerabilities; identify SLA breaches)
|
v
findings-tracker (reconcile finding lifecycle; flag overdue items; dedup across sources)
|
v
security-awareness (pull training completion and phishing simulation results for the period)
|
v
metrics-reporting (compile MTTD, MTTR, patch coverage, SLA compliance, FP rate)
|
v
security-posture-score (aggregate cross-domain sub-scores; compute composite posture score)
|
v
ciso-brief-generator (synthesize all inputs into board-ready narrative with trend analysis)Each skill passes its structured JSON output as context to the next. The final CISO brief includes an appendix with the raw metric inputs and their source provenance statements.
Vulnerability SLA Tracking
An event-driven workflow triggered whenever a new vulnerability scan batch is ingested, or when the daily SLA timer job identifies approaching or breached deadlines.
vulnerability-management (ingest new scan batch; assign CVSS + EPSS scores; set SLA deadlines)
|
v
findings-tracker (register findings; check for existing duplicates; age existing items)
|
+--> [SLA on track] --> update tracking record; no escalation
|
+--> [SLA at 75% elapsed] --> notify system owner; auto-draft remediation reminder
|
+--> [SLA breached] --> escalate per CVSS/EPSS band; flag for ciso-brief-generator
|
v
metrics-reporting (update SLA compliance rate; flag breach in period metrics)SLA breach notifications include: vulnerability ID, CVSS score, EPSS score, assigned SLA band, discovery date, deadline date, and system owner contact. The breach record is included in the next posture score computation as a weighted negative input.
Cascade Intelligence — Cross-Skill Routing
New skills security-roadmap-planner and security-debt-tracker introduce passive lifecycle routing into the governance domain. The following routing rules apply:
security-debt-tracker Cascade
| Exit Code | Condition | Routes To |
| 2 | critical/high in critical_debt | cs-security-analyst (AT) + ciso-brief-generator |
| 1 | overdue items OR growing accumulation | vulnerability-management |
| 0 | debt stable | no routing; persist clean digest |
security-roadmap-planner Cascade
| Condition | Routes To |
| Always | ciso-brief-generator (board formatting) |
| Always | metrics-reporting (track execution) |
| L-band initiative | cs-ciso-advisor (budget approval framing) |
| Compliance gap with deadline | compliance-mapping (gap detail) |
Passive Scan Integration Pattern
cs-security-program-manager (SC workflow)
└─ Step 1: security-debt-tracker → exit 0/1/2
└─ Step 2: attack-surface-management → drift signals
└─ Step 3: vulnerability-management → SLA status
└─ Step 4: behavioral-analytics → drift detection
└─ Step 5: compile digest + routeRelated Domains
risk-compliance/
The risk-compliance/ domain is the primary upstream source of risk context for governance outputs. Governance skills consume enterprise risk assessment heat maps, regulatory compliance gap reports, and DPIA findings as inputs to posture scoring and CISO brief generation.
Key integration points:
risk-compliance/enterprise-risk-assessmentrisk heat maps inform the threat-landscape section ofgovernance/ciso-brief-generatorbriefsrisk-compliance/compliance-mappingframework gap reports feedgovernance/security-policy-controlpolicy adequacy reviewsrisk-compliance/regulatory-horizonemerging requirement alerts triggergovernance/security-architecturearchitecture reviews for impacted control domainsrisk-compliance/quantum-security-readinessreadiness scores are included as a forward-looking risk section in quarterly posture reports
Full domain reference: risk-compliance/CLAUDE.md
detection/
The detection/ domain is the primary source of operational finding data for governance metrics. Vulnerability findings, behavioral anomalies, and threat hunt verdicts flow from detection into governance for lifecycle management and reporting.
Key integration points:
detection/threat-huntingconfirmed findings register ingovernance/findings-trackerfor SLA assignmentdetection/telemetry-signal-qualitydata coverage metrics feedgovernance/metrics-reportingas a data quality input dimensiondetection/behavioral-analyticsentity risk scores inform the insider threat section ofgovernance/ciso-brief-generatorbriefsdetection/attack-surface-managementexposure findings feedgovernance/vulnerability-managementfor prioritization and SLA assignment
Full domain reference: detection/CLAUDE.md
Path Reference
All skill paths in this domain are relative from the repository root using the convention governance/<slug>/. Sub-paths within each skill follow the standard USAP skill layout:
governance/<slug>/
README.md -- skill overview and quick commands
SKILL.md -- full skill specification and methodology
scripts/ -- executable Python tools
references/ -- supporting documentation
expected_outputs/ -- representative tool outputs for validation
assets/ -- supporting data filesTo invoke any tool directly from the repository root:
python governance/<slug>/scripts/<tool>.py --helpExample invocations:
python governance/vulnerability-management/scripts/vulnerability-management_tool.py --scope enterprise --cvss-floor 7.0 --epss-threshold 0.3 --output json
python governance/metrics-reporting/scripts/metrics-reporting_tool.py --period last-30-days --metrics all --audience board --output json
python governance/security-posture-score/scripts/security-posture-score_tool.py --domains all --period last-quarter --output json
python governance/ciso-brief-generator/scripts/ciso-brief-generator_tool.py --audience board --period last-quarter --format narrative --output pdf
python governance/findings-tracker/scripts/findings-tracker_tool.py --source all --sla-band critical --output json
python governance/knowledge-management/scripts/knowledge-management_tool.py --incident-id INC-2024-0042 --output json
python governance/security-architecture/scripts/security-architecture_tool.py --architecture zero-trust --framework nist-sp-800-207 --output json
python governance/security-awareness/scripts/security-awareness_tool.py --program enterprise --period last-quarter --output json
python governance/security-policy-control/scripts/security-policy-control_tool.py --policy-set enterprise --framework iso27001 --output jsonDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

