Data handling plan generator — evidence retention, encryption, chain-of-custody, compliance frameworks (GDPR / HIPAA / PCI-DSS / SOC2).
73
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
The data handling plan defines what evidence the agent collects, where it lives, how long it's kept, and who can read it. Replaces the deprecated free-form RoE.data_handling string with structured per-class fields.
The DataHandlingPlan schema seeds four default classes — credentials, pii, source-code, business-data — with conservative retention. Keep these by default; override only when the engagement requires stricter or looser rules.
Based on the interview:
| Engagement type | Likely additional classes |
|---|---|
| Healthcare client | health-records (classification: secret, retention: 7 days, framework: HIPAA) |
| Financial client | cardholder-data (classification: secret, retention: 0 days — never store, framework: PCI-DSS) |
| EU client / data subjects | Mark existing pii with framework: GDPR; consider personal-data-eu for stricter handling |
| Defense / classified | controlled-unclassified (classification: secret, retention: 0 days off-network) |
Default "/workspace/<engagement>/evidence/" works for sandbox-isolated engagements. Override only when:
Set compliance_frameworks from the interview. Common entries: GDPR, HIPAA, PCI-DSS, SOC2, NIST 800-53, FedRAMP, ISO 27001.
The orchestrator (Decepticon) reads this list and refuses to start objectives that violate the matching framework's evidence-handling rules.
purge_after_days is the GLOBAL upper bound — every artifact older than this is deleted regardless of per-class retention. Default 90 days; reduce for engagements with tighter regulatory exposure.
Before writing plan/data-handling.json:
data_class is credentials-equivalentretention_days >= 0purge_after_days >= max(class.retention_days) (otherwise classes get cut short)compliance_frameworks includes HIPAA / GDPR / PCI-DSS, matching data classes existchain_of_custody=True for any engagement that may produce findingsretention_days=0 for credentials without explicit operator approval — agent then can't reference creds across phasesencryption_at_rest for any restricted+ class — straight compliance violationcompliance_frameworks without a health-records class — orchestrator will refuse objectives that touch PHIWrite to plan/data-handling.json validating against decepticon.core.schemas.DataHandlingPlan.
e34afba
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.