maxwellokumu/okaudit-claude-skills / data-privacy/consent-checker
consent-checker
VerifiedReview privacy policy or notice text against common privacy frameworks so Claude can explain coverage gaps, strengths, and compliance priorities.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.6 KB |
| SKILL.md | skill md | 1.5 KB |
| main.py | script | 25.5 KB |
| sample_input/privacy_policy.txt | markdown | 5.2 KB |
| skill.yaml | config | 821 B |
README.md
View on GitHub# consent-checker
Analyses a plain-text privacy policy against built-in requirement libraries for GDPR (16 requirements), CCPA (11 requirements), or PDPA Thailand (10 requirements). Produces a weighted compliance score, requirements-met table, and a detailed gap analysis with risk ratings and remediation recommendations.
## Requirements
```
python-dotenv
```
## Usage
### GDPR check (default)
```bash
python main.py --policy sample_input/privacy_policy.txt
```
### CCPA check
```bash
python main.py --policy sample_input/privacy_policy.txt --framework ccpa
```
### PDPA check
```bash
python main.py --policy sample_input/privacy_policy.txt --framework pdpa
```
## Scoring
Requirements are weighted 1–5 (5 = most critical). The compliance score is the weighted percentage of met requirements:
| Rating | Score |
|--------|-------|
| ✅ Compliant | ≥ 85% |
| ⚠️ Partial | 60–84% |
| ❌ Non-Compliant | < 60% |
## Sample Output
```markdown
# Privacy Policy Compliance Report
**Framework:** GDPR
**Policy Word Count:** 612
## Compliance Score
| Metric | Value |
|--------|-------|
| Requirements Checked | 16 |
| Requirements Met | 11 |
| Requirements Missing | 5 |
| Weighted Score | 42/57 points (73.7%) |
| Overall Rating | ⚠️ **Partial** |
## Requirements Met
| ID | Requirement | Matched On | Status |
|----|-------------|------------|--------|
| GDPR-01 | Identity of the data controller | `data controller` | ✅ Met |
...
## Missing Requirements
| ID | Requirement | Weight | Risk | Recommendation |
|----|-------------|--------|------|----------------|
| GDPR-14 | Automated decision-making disclosure | 3/5 | Medium | ... |
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |