maxwellokumu/okaudit-claude-skills / compliance-controls/compliance-checker
compliance-checker
VerifiedCompare system configuration evidence against common control frameworks and produce a concise compliance assessment with gaps and remediation priorities.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.6 KB |
| SKILL.md | skill md | 1.6 KB |
| main.py | script | 19.2 KB |
| sample_input/config.json | config | 1.3 KB |
| sample_input/config_cis.json | config | 362 B |
| skill.yaml | config | 840 B |
README.md
View on GitHub# compliance-checker
Compare a system configuration JSON file against hardcoded control libraries for
CIS, SOC2, ISO 27001, and PCI-DSS. Produces a pass/fail report with remediation
guidance for every failed control.
---
## Purpose
- Evaluates configuration keys against expected values using operators (eq, gte, lte)
- Supports 4 standards with 10–12 controls each
- Flags N/A for controls where the config key is absent
- Provides per-control remediation guidance
---
## Requirements
```bash
pip install python-dotenv
```
---
## Usage
```bash
# Check against CIS benchmark
python main.py --config sample_input/config_cis.json --standard cis
# Check against SOC2
python main.py --config sample_input/config.json --standard soc2
# Check against ISO 27001
python main.py --config sample_input/config.json --standard iso27001
# Check against PCI-DSS
python main.py --config sample_input/config.json --standard pci-dss
```
---
## Config File Format
A flat JSON object with configuration keys matching the control library:
```json
{
"password_min_length": 12,
"mfa_enabled": true,
"audit_logging_enabled": true,
"encryption_at_rest": false,
"patch_cycle_days": 45
}
```
---
## Sample Output (truncated)
```markdown
# Compliance Check Report — CIS
**Pass Rate:** 75.0% (9/12 scored controls)
## Control Results
| Control ID | Description | Expected | Actual | Status | Remediation |
|------------|-------------|----------|--------|--------|-------------|
| CIS-1.1 | Password minimum length >= 14 | 14 | 12 | ❌ Fail | Set minimum... |
| CIS-1.3 | Audit logging enabled | True | True | ✅ Pass | — |
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |