GRC & Compliance
Skill462 starsChanged 3 months agoMITView on GitHub
Governance, risk, and compliance — risk assessment and scoring, control mapping across NIST CSF 2.0 / ISO 27001:2022 / SOC 2 / CIS Controls v8, gap analysis, audit evidence preparation, and security policy generation
- Installs packages
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- Reconnaissance & OSINT AutomationSkill
- Vulnerability Scanning & AssessmentSkill
- Exploit Development & Payload EngineeringSkill
- Reverse Engineering & Binary AnalysisSkill
- Malware Analysis & SandboxingSkill
- Threat Hunting & IOC AnalysisSkill
- Incident Response & Digital ForensicsSkill
- Network Security & Traffic AnalysisSkill
- Web Application Security TestingSkill
- Cloud Security & Container HardeningSkill
- CSOC Operations & Playbook AutomationSkill
- Log Analysis & SIEM IntegrationSkill
- Cryptographic Analysis & AssessmentSkill
- Red Team Operations & Engagement PlanningSkill
- Blue Team Defense & HardeningSkill
- AI & LLM SecuritySkill
- Mobile Application SecuritySkill
- OT / ICS / SCADA SecuritySkill
- Supply Chain SecuritySkill
- Threat Intelligence & CTISkill
- Purple Team & Adversary EmulationSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 39
No external tools required — this skill is primarily analytical and document-generation focused.
- Distinctive: line 47
When asked to assess risk, run a structured, repeatable method:
- Very specific: line 54
Use scripts/risk_register.py to score and rank a YAML/CSV risk list and emit a heat-map summary.
- Very specific: line 69
Use scripts/control_mapper.py to crosswalk a control or to show, for a chosen framework, which related-framework requirements a single …
- Distinctive: line 73
When asked for a gap analysis:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
GRC & Compliance
Purpose
Enable Claude to operate as a governance, risk, and compliance partner: quantify and prioritize risk, map controls across the major frameworks, run gap analyses, prepare audit evidence, and draft clear, tailored security policies. Claude turns scattered control requirements into a single cross-framework view so one piece of evidence can satisfy many obligations.
Advisory scope: This skill produces risk analysis, control mappings, and policy drafts to support a security/compliance program. It is decision-support, not legal advice or a certification. A qualified auditor or counsel should validate before formal attestation.
Activation Triggers
This skill activates when the user asks about:
- Risk assessment, risk register, risk scoring, or treatment plans
- NIST CSF 2.0, NIST SP 800-53, ISO/IEC 27001:2022, SOC 2, PCI DSS 4.0, HIPAA, GDPR, CIS Controls v8
- Control mapping or crosswalk between frameworks
- Gap analysis against a standard or readiness for an audit/certification
- Audit evidence collection, control narratives, or an SoA (Statement of Applicability)
- Security policy, standard, or procedure drafting
- Third-party / vendor risk assessment
- Compliance posture reporting to leadership or a board
Prerequisites
pip install pyyamlNo external tools required — this skill is primarily analytical and document-generation focused. Claude reads existing policies, configs, and evidence directly.
Core Capabilities
1. Risk Assessment & Scoring
When asked to assess risk, run a structured, repeatable method:
- Asset & context — identify assets, owners, data classification, and business impact (CIA).
- Threats & vulnerabilities — enumerate relevant threat sources (map to MITRE ATT&CK where useful) and existing weaknesses.
- Likelihood × Impact — score on a defined scale (e.g., 1–5 each) → inherent risk. Apply control effectiveness → residual risk. Support qualitative (heat map) and, where data exists, quantitative (single-loss/annualized-loss, or FAIR-style ranges) views.
- Risk treatment — choose Mitigate / Transfer / Avoid / Accept; assign owner, due date, and the controls that move residual risk to within appetite.
- Produce a risk register (see Output Standards) and a treatment plan ranked by residual risk.
Use scripts/risk_register.py to score and rank a YAML/CSV risk list and emit a heat-map summary.
2. Cross-Framework Control Mapping
Maintain one control statement mapped to many frameworks so evidence is reused, not duplicated. Anchor on NIST CSF 2.0 functions (GOVERN, IDENTIFY, PROTECT, DETECT, RESPOND, RECOVER) and crosswalk outward:
| Need | Framework | Anchor |
| Program governance | NIST CSF 2.0 | GV / ID / PR / DE / RS / RC |
| Certifiable ISMS | ISO/IEC 27001:2022 | Annex A (93 controls, 4 themes) |
| Service-org attestation | SOC 2 | Trust Services Criteria (CC1–CC9, A/C/PI/P) |
| Federal / detailed controls | NIST SP 800-53 Rev.5 | 20 control families |
| Cardholder data | PCI DSS 4.0 | 12 requirements |
| Prioritized baseline | CIS Controls v8 | 18 controls / IG1–IG3 |
Use scripts/control_mapper.py to crosswalk a control or to show, for a chosen framework, which related-framework requirements a single control satisfies.
3. Gap Analysis & Audit Readiness
When asked for a gap analysis:
- Select the target framework and scope (systems, locations, data).
- Assess each control: Implemented / Partial / Not Implemented / Not Applicable, with evidence reference.
- Compute coverage % per domain/function and overall.
- For each gap: required action, owner, effort, and target date → remediation roadmap.
- For ISO 27001, produce a Statement of Applicability (control, applicable Y/N, justification, status).
4. Audit Evidence & Control Narratives
- Build an evidence index: control → required artifact → location/owner → cadence (e.g., quarterly access review export, change tickets, training records, scan reports).
- Draft control narratives auditors expect: what the control is, who operates it, frequency, and how it's evidenced.
- Flag common audit failures: stale access reviews, missing change-management tickets, untested IR/BCP plans, no log retention proof, unowned exceptions.
5. Security Policy & Standard Generation
Draft tailored, plain-language policy documents with a consistent structure (Purpose, Scope, Policy Statements, Roles & Responsibilities, Enforcement, Exceptions, Review cadence, Mapped controls). Common set: Information Security Policy, Access Control, Acceptable Use, Data Classification & Handling, Incident Response, Business Continuity/DR, Change Management, Vendor/Third-Party Risk, Cryptography, Secure SDLC, and an AI Use policy. Map each policy back to the controls it satisfies.
6. Third-Party / Vendor Risk
Tier vendors by data access and criticality; drive assessment via SIG/CAIQ-style questionnaires or review of the vendor's SOC 2 / ISO cert; track findings, residual risk, and re-assessment cadence in the register.
Output Standards
Risk register row:
ID | Risk | Asset | Threat | Likelihood(1-5) | Impact(1-5) | Inherent | Controls | Residual | Treatment | Owner | Due
R-001 | Ransomware encrypts file servers | File svc | Crime group | 4 | 5 | 20 (Critical) | Backups, EDR, MFA | 8 (Medium) | Mitigate | IT Ops | 2026-09-30Gap analysis / SoA:
# [Framework] Gap Analysis — [Org]
Date: [Date] | Scope: [...] | Overall coverage: 72%
## By Domain
| Domain | Implemented | Partial | Not Impl | N/A | Coverage |
| Access Control | 8 | 2 | 1 | 0 | 80% |
## Gaps & Remediation
| Control | Status | Gap | Action | Owner | Effort | Target |Compliance posture (leadership):
# Compliance Posture — [Period]
Overall: [score] | Trend: [▲/▼] | Frameworks: [...]
Top risks: [3] | Overdue remediations: [n] | Upcoming audits: [...]Script Reference
risk_register.py
# Score & rank a risk list (YAML or CSV), emit ranked register + heat-map summary
python scripts/risk_register.py --input risks.yaml --output risk_register.json
# Quantitative ALE view where SLE/ARO provided
python scripts/risk_register.py --input risks.csv --quant --output register.jsoncontrol_mapper.py
# Crosswalk a control concept across frameworks
python scripts/control_mapper.py --control "access control" --frameworks all
# Show NIST CSF 2.0 -> ISO 27001 / SOC 2 mapping for a function
python scripts/control_mapper.py --csf PR.AA --output crosswalk.jsonSkill Integration
| Next Step | Condition | Target Skill |
| Technical validation of a control | Need to prove a control works | → Skill 02 / 09 / 10 |
| Cloud compliance scanning | Cloud controls in scope | → Skill 10 |
| Detection coverage evidence | DE function controls | → Skill 12 / 15 |
| IR plan testing evidence | RESPOND/RECOVER controls | → Skill 07 |
| AI governance controls | AI systems in scope | → Skill 16 |
References
Does 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.

