Checks the facts you declare about a whistleblower reporting system against EU Directive 2019/1937, US SOX s.806/s.301 and UK PIDA, with a fix per gap, and scaffolds a jurisdiction-specific policy. Use when auditing an existing whistleblower channel, preparing for the EU 50-worker deadline, or drafting a whistleblower policy.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Whistleblower Compliance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/borghei-whistleblower-compliance)
---
name: whistleblower-compliance
description: >
Checks the facts you declare about a whistleblower reporting system against EU Directive 2019/1937, US SOX s.806/s.301 and UK PIDA, with a fix per gap, and scaffolds a jurisdiction-specific policy. Use when auditing an existing whistleblower channel, preparing for the EU 50-worker deadline, or drafting a whistleblower policy.
license: MIT + Commons Clause
metadata:
version: 1.0.0
author: The Glass Room
category: legal
domain: compliance
updated: 2026-04-10
tags: [whistleblower, compliance, eu-directive-2019-1937, sox, dodd-frank]
---
> **⚠️ EXPERIMENTAL** — This skill is provided for educational and informational purposes only. It does NOT constitute legal advice. All responsibility for usage rests with the user. Consult qualified legal professionals before acting on any output.
# Whistleblower Compliance Skill
## Overview
Production-ready whistleblower compliance toolkit for auditing existing reporting systems and drafting compliant policies. Covers EU Directive 2019/1937, US SOX Section 806, US Dodd-Frank, and UK Public Interest Disclosure Act 1998. Operates in two modes: Mode A (Assessment) checks the facts you declare about an existing system and reports gaps with a fix each (no invented score); Mode B (Drafting) generates jurisdiction-specific reporting policies.
## Table of Contents
- [Tools](#tools)
- [Reference Guides](#reference-guides)
- [Workflows](#workflows)
- [Troubleshooting](#troubleshooting)
- [Success Criteria](#success-criteria)
- [Scope & Limitations](#scope--limitations)
- [Anti-Patterns](#anti-patterns)
- [Tool Reference](#tool-reference)
## Clarify First
Before generating output, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- **Mode: assess an existing system or draft a policy:** Mode A reports gaps from the facts you declare; Mode B produces a policy skeleton — completely different artifacts.
- **Jurisdiction:** EU, US, or UK — sets which regulation's requirements, thresholds, and timelines apply (EU 7-day ack / 3-month feedback vs SOX 180-day filing).
- **Headcount + org type:** EU thresholds differ (private 50+, public sector all); determines applicability and which sections are mandatory.
- **Sector:** financial, healthcare, defense, nuclear, transport — triggers the Phase 8 sector-specific requirements.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
## Tools
### 1. Compliance Checker (`scripts/whistleblower_compliance_checker.py`)
Checks what you declare about the system. Anything you do not confirm is reported as a gap (never assumed to pass). No percentage score is shown: the tool reads declared yes/no facts and cannot judge quality. Input is flags or a JSON file (`assets/sample_system.json` shows every field).
```bash
python3 scripts/whistleblower_compliance_checker.py assets/flawed_system.json
python3 scripts/whistleblower_compliance_checker.py \
--jurisdiction EU --headcount 300 --sector financial --channels internal,external \
--has-designated-person --has-confidentiality --has-gdpr-measures --has-dissemination \
--has-acknowledgment-timeline --has-feedback-timeline \
--sector-measure aml-integration --sector-measure regulator-notification \
--sector-measure market-abuse-separation
python3 scripts/whistleblower_compliance_checker.py assets/flawed_system.json --format json
```
Real output (excerpt of `assets/flawed_system.json`):
```
Read: EU Directive 2019/1937, headcount 300, sector financial, channels internal; confirmed: confidentiality
[CRITICAL] Designated persons / Person appointed
input: has-designated-person not stated
rule: EU Art. 9(1)(c): an impartial person or department competent to follow up on reports
fix: Appoint a named primary and alternate (not in the reporter's management line) and record the mandate in writing
...
FIX 10 issues
```
Sector items (`aml-integration`, `patient-safety-integration`, ...) are an internal best-practice list, labelled heuristic in the output, not statute. EU size rules (Art. 8(3)-(4)) downgrade gaps to IMPROVEMENT for private entities under 50 workers outside financial services. US channel gaps are CRITICAL only with `--listed`.
### 2. Policy Scaffolder (`scripts/whistleblower_policy_scaffolder.py`)
Generates a policy skeleton with the mandatory sections for the jurisdiction. Placeholders are marked `[CUSTOMIZE]` / `[INSERT ...]`. Headcount drives an applicability note (EU under 50 workers); `--sector` adds sector sections.
```bash
python3 scripts/whistleblower_policy_scaffolder.py \
--jurisdiction EU --org-type private --headcount 500 --org-name "Acme Corp" --sector financial
python3 scripts/whistleblower_policy_scaffolder.py \
--jurisdiction US --org-type public --headcount 10000 --org-name "MegaCorp Inc" --format json
python3 scripts/whistleblower_policy_scaffolder.py \
--jurisdiction UK --org-type nonprofit --headcount 100 --org-name "CharityOrg" --output policy-draft.md
```
## Exit Codes
| Code | Meaning |
|------|---------|
| 0 | Checker: no CRITICAL or IMPORTANT gap (verdict `PASS`). Scaffolder: policy generated. |
| 1 | Checker only: gaps to act on (verdict `FIX n issues`). |
| 2 | Unusable input: missing/unknown jurisdiction, headcount below 1, unknown channel, empty or malformed JSON. One-line `error:` message on stderr. |
## Reference Guides
| Reference | Purpose |
|-----------|---------|
| `references/regulatory_framework.md` | Multi-jurisdiction whistleblower regulations, comparison matrix |
| `references/assessment_checklist.md` | 8-phase, 56-checkpoint assessment with priority classifications |
## Workflows
### Mode A: Assessment Workflow
1. **Gather Parameters** -- Collect jurisdiction, headcount, sector, and system description
2. **Run Compliance Checker** -- Execute `whistleblower_compliance_checker.py` with parameters
3. **Review Gaps** -- Prioritize CRITICAL gaps first, then IMPORTANT, then IMPROVEMENT
4. **Cross-Reference Checklist** -- Walk through `assessment_checklist.md` for manual verification
5. **Generate Remediation Plan** -- Address gaps by priority, set deadlines per regulatory timelines
### Mode B: Drafting Workflow
1. **Determine Jurisdiction** -- Identify applicable regulations based on headquarters and operations
2. **Generate Scaffold** -- Run `whistleblower_policy_scaffolder.py` with organization details
3. **Customize Sections** -- Replace placeholders with organization-specific information
4. **Legal Review** -- Route draft through legal counsel for jurisdiction-specific validation
5. **Approval & Publication** -- Obtain board/management approval and disseminate to all personnel
### Manual Assessment Framework (see `references/assessment_checklist.md`)
| Phase | Focus | Checkpoints |
|-------|-------|-------------|
| 1. Applicability | Regulatory scope determination | 3 |
| 2. Reception Channel | Reporting channel adequacy | 5 |
| 3. Designated Persons | Personnel and independence | 7 |
| 4. Verification/Processing | Investigation procedures | 8 |
| 5. Confidentiality | Identity and data protection | 9 |
| 6. Dissemination/Information | Awareness and accessibility | 10 |
| 7. Data Protection/GDPR | Privacy compliance | 12 |
| 8. Sector-Specific | Industry requirements | 6 |
| **Total** | | **60** |
The checker automates only the declared-fact items; the rest of the checklist is manual.
### Three Reporting Channels
| Channel | When Used | Key Requirements |
|---------|-----------|-----------------|
| Internal | First preference; report to organization | Acknowledge within 7 days; feedback within 3 months |
| External (Regulatory) | When internal fails or is inappropriate | Report to competent authority; same protections apply |
| Public Disclosure | Last resort; imminent danger or retaliation | Protected only if internal/external channels exhausted |
### Whistleblower Protections
| Protection | Description |
|------------|-------------|
| Civil immunity | No liability for breach of confidentiality obligations |
| Criminal immunity | No criminal liability for acquiring reported information |
| Prohibited retaliation | Dismissal, demotion, harassment, blacklisting, discrimination |
| Burden of proof reversal | Employer must prove action was not retaliatory |
| Interim relief | Provisional protection during investigation |
| Legal aid access | Access to legal counsel and support |
### Priority Classification
| Priority | Definition | Example |
|----------|-----------|---------|
| CRITICAL | Legal non-compliance; immediate regulatory risk | No reporting channel exists; no confidentiality measures |
| IMPORTANT | Significant gap reducing system effectiveness | Acknowledgment timeline exceeds 7 days; no designated person |
| IMPROVEMENT | Enhancement opportunity; not currently non-compliant | Training frequency below best practice; limited channel types |
## Troubleshooting
| Problem | Cause | Solution |
|---------|-------|----------|
| Checker reports many CRITICAL gaps | Flags not passed are treated as not in place | Pass every `--has-*` flag that is true, or use a JSON file |
| Wrong jurisdiction requirements | Multi-jurisdiction entity using single jurisdiction | Run checker separately per jurisdiction; use strictest requirements |
| Policy scaffold missing sections | Jurisdiction flag incorrect | Verify `--jurisdiction` matches EU, US, or UK |
| Headcount threshold confusion | EU directive has different thresholds by entity type | Private sector: 50+ employees; public sector: all municipalities |
| Sector-specific gaps not flagged | Generic sector value used | Use specific sector: `financial`, `healthcare`, `defense`, `nuclear` |
| GDPR checks fail for US entity | US entities may still need GDPR compliance | If processing EU citizen data, add `--has-gdpr-measures` |
| Timeline requirements unclear | Different jurisdictions have different timelines | EU: 7-day ack, 3-month feedback; SOX: 180-day filing deadline |
| Policy output too generic | Minimal parameters provided | Add `--org-name`, `--org-type`, and `--headcount` for specificity |
## Success Criteria
- **Compliance Coverage**: Assessment covers 100% of applicable regulatory requirements for specified jurisdiction
- **Gap Identification**: All CRITICAL and IMPORTANT gaps identified with clear remediation guidance
- **Policy Completeness**: Generated policies include all mandatory sections per applicable regulation
- **Timeline Compliance**: Policies reflect correct acknowledgment (7 days) and feedback (3 months) timelines
- **Audit Readiness**: Assessment output sufficient for regulatory audit preparation and evidence gathering
## Scope & Limitations
**This skill covers:**
- Compliance assessment against EU Directive 2019/1937, US SOX/Dodd-Frank, UK PIDA
- Policy scaffolding with jurisdiction-specific mandatory sections
- Gap analysis with priority classification and remediation guidance
- Multi-sector considerations (financial, healthcare, defense, nuclear, transport)
**This skill does NOT cover:**
- Actual whistleblower case management or investigation procedures
- Legal advice or attorney-client privileged analysis
- Real-time regulatory monitoring or automatic updates when laws change
- Whistleblower hotline software implementation or vendor selection
- Cross-border reporting coordination between multiple regulators
## Anti-Patterns
| Anti-Pattern | Why It Fails | Better Approach |
|--------------|-------------|-----------------|
| Copy-pasting policy from another jurisdiction | Regulations differ materially; EU requires 7-day ack, SOX has 180-day filing | Run scaffolder with correct jurisdiction; customize per local requirements |
| Treating all gaps as equal priority | Wastes resources on improvements while CRITICAL gaps remain | Address CRITICAL first, IMPORTANT second, IMPROVEMENT last |
| Single assessment for multi-jurisdiction org | Each jurisdiction has unique requirements and thresholds | Run separate assessments per jurisdiction; merge into unified policy |
| Skipping sector-specific phase | Regulated sectors (financial, healthcare) have additional requirements | Always complete Phase 8 for regulated industries |
| No periodic reassessment | Regulations evolve; transposition deadlines pass | Schedule annual reassessment; monitor legislative changes |
## Tool Reference
Run `python3 scripts/<tool>.py --help` for the full flag list.
- `whistleblower_compliance_checker.py [input.json] [--jurisdiction EU|US|UK] [--headcount N] [--sector S] [--channels internal,external,none] [--has-designated-person] [--has-confidentiality] [--has-gdpr-measures] [--has-dissemination] [--has-acknowledgment-timeline] [--has-feedback-timeline] [--public-sector] [--listed] [--sector-measure ITEM] [--format text|json]`
- `whistleblower_policy_scaffolder.py --jurisdiction EU|US|UK --org-type public|private|nonprofit --headcount N [--org-name NAME] [--sector S] [--output FILE] [--format text|json]`
`--json` remains an alias for `--format json` on both tools.