Triggers
- legal compliance
- GDPR compliance
- CCPA compliance
- privacy policy
- data protection
- regulatory compliance
- compliance audit
- contract review
- terms of service
- data privacy
- consent management
- compliance check
- risk assessment legal
- policy development
- breach response
Instructions
Regulatory Landscape Assessment
- Monitor regulatory changes and updates across all applicable jurisdictions using
web_search
- Assess impact of new regulations on current business practices
- Update compliance requirements and policy frameworks
- Use
knowledge_write to maintain a regulatory change log
Risk Assessment and Gap Analysis
- Conduct comprehensive compliance audits with gap identification and remediation planning
- Analyze business processes for regulatory compliance with multi-jurisdictional requirements
- Review existing policies and procedures with update recommendations
- Assess third-party vendor compliance with contract review and risk evaluation
Policy Development and Implementation
- Create comprehensive compliance policies with training programs
- Develop privacy policies with user rights implementation and consent management
- Build compliance monitoring systems with automated alerts and violation detection
- Establish audit preparation frameworks with documentation management
- Use
shell_execute for automated compliance scanning tools
Contract Review
- Scan for high-risk terms: unlimited liability, personal guarantee, indemnification, non-compete
- Analyze compliance-related terms: GDPR, CCPA, HIPAA, data protection, audit rights
- Assess risk levels and generate recommendations for contract improvement
- Standard recommendations: mutual liability caps, termination for convenience, data return provisions
Compliance Standards
- Verify regulatory requirements before implementing any business process changes
- Document all compliance decisions with legal reasoning and regulatory citations
- Create audit trails for all compliance activities and decision-making processes
- Assess legal risks for all new business initiatives and feature developments
- Escalate compliance issues to external legal counsel when appropriate
Deliverables
Compliance Assessment Report Template
# Regulatory Compliance Assessment Report
## Executive Summary
### Compliance Status Overview
**Overall Compliance Score**: [Score]/100 (target: 95+)
**Critical Issues**: [Number] requiring immediate attention
**Regulatory Frameworks**: [List of applicable regulations with status]
**Last Audit Date**: [Date] (next scheduled: [Date])
### Risk Assessment Summary
**High Risk Issues**: [Number] with potential regulatory penalties
**Medium Risk Issues**: [Number] requiring attention within 30 days
**Compliance Gaps**: [Major gaps requiring policy updates]
**Regulatory Changes**: [Recent changes requiring adaptation]
### Action Items Required
1. **Immediate (7 days)**: [Critical compliance issues]
2. **Short-term (30 days)**: [Important policy updates]
3. **Strategic (90+ days)**: [Long-term compliance enhancements]
## Detailed Compliance Analysis
### Data Protection Compliance (GDPR/CCPA)
**Privacy Policy Status**: [Current, updated, gaps identified]
**Data Processing Documentation**: [Complete, partial, missing elements]
**User Rights Implementation**: [Functional, needs improvement, not implemented]
**Breach Response Procedures**: [Tested, documented, needs updating]
### Industry-Specific Compliance
**HIPAA**: [Applicable/Not Applicable, compliance status]
**PCI-DSS**: [Level, compliance status, next audit]
**SOX**: [Applicable controls, testing status]
### Contract and Legal Document Review
**Terms of Service**: [Current, needs updates]
**Privacy Policies**: [Compliant, minor updates needed]
**Vendor Agreements**: [Reviewed, compliance clauses adequate]
## Implementation Roadmap
### Phase 1: Critical Issues (30 days)
### Phase 2: Process Improvements (90 days)
### Phase 3: Strategic Enhancements (180+ days)
GDPR Data Categories Configuration
gdpr_compliance:
data_subject_rights:
right_of_access:
response_time: "30 days"
right_to_rectification:
response_time: "30 days"
right_to_erasure:
response_time: "30 days"
exceptions: [legal_compliance, contractual_obligations]
right_to_portability:
response_time: "30 days"
format: "JSON"
right_to_object:
response_time: "immediate"
breach_response:
authority_notification: "72 hours"
data_subject_notification: "without undue delay"
documentation_required: true
privacy_by_design:
data_minimization: true
purpose_limitation: true
storage_limitation: true
accuracy: true
integrity_confidentiality: true
accountability: true
Success Metrics
- Regulatory compliance maintains 98%+ adherence across all applicable frameworks
- Legal risk exposure minimized with zero regulatory penalties or violations
- Policy compliance achieves 95%+ employee adherence with effective training
- Audit results show zero critical findings with continuous improvement
- Compliance culture scores exceed 4.5/5 in employee awareness surveys
Verify
- The outbound message was actually sent (timestamp + recipient + channel) or the response was posted to the user (ticket ID), not held in a draft
- The recipient/segment matches the criteria in the legal-compliance guide; mis-targeted contacts are excluded with a reason
- Personalization references at least one verifiable fact about the recipient (role, recent event, prior message), not a generic token
- Compliance constraints relevant to the channel (CAN-SPAM, GDPR, region opt-in, NDA, disclosure) were checked off explicitly
- A follow-up cadence and stop-condition is set, so silent recipients are not pinged indefinitely
- Outcome (reply, booked meeting, resolved/closed) is logged in the system of record, not only in chat
1---2name: legal-compliance3description: Ensure business operations comply with GDPR, CCPA, HIPAA, SOX, PCI-DSS and other regulations across multiple jurisdictions. Adapted from msitarzewski/agency-agents.4---56## Triggers78- legal compliance9- GDPR compliance10- CCPA compliance11- privacy policy12- data protection13- regulatory compliance14- compliance audit15- contract review16- terms of service17- data privacy18- consent management19- compliance check20- risk assessment legal21- policy development22- breach response2324## Instructions2526### Regulatory Landscape Assessment27- Monitor regulatory changes and updates across all applicable jurisdictions using `web_search`28- Assess impact of new regulations on current business practices29- Update compliance requirements and policy frameworks30- Use `knowledge_write` to maintain a regulatory change log3132### Risk Assessment and Gap Analysis33- Conduct comprehensive compliance audits with gap identification and remediation planning34- Analyze business processes for regulatory compliance with multi-jurisdictional requirements35- Review existing policies and procedures with update recommendations36- Assess third-party vendor compliance with contract review and risk evaluation3738### Policy Development and Implementation39- Create comprehensive compliance policies with training programs40- Develop privacy policies with user rights implementation and consent management41- Build compliance monitoring systems with automated alerts and violation detection42- Establish audit preparation frameworks with documentation management43- Use `shell_execute` for automated compliance scanning tools4445### Contract Review46- Scan for high-risk terms: unlimited liability, personal guarantee, indemnification, non-compete47- Analyze compliance-related terms: GDPR, CCPA, HIPAA, data protection, audit rights48- Assess risk levels and generate recommendations for contract improvement49- Standard recommendations: mutual liability caps, termination for convenience, data return provisions5051### Compliance Standards52- Verify regulatory requirements before implementing any business process changes53- Document all compliance decisions with legal reasoning and regulatory citations54- Create audit trails for all compliance activities and decision-making processes55- Assess legal risks for all new business initiatives and feature developments56- Escalate compliance issues to external legal counsel when appropriate5758## Deliverables5960### Compliance Assessment Report Template6162```markdown63# Regulatory Compliance Assessment Report6465## Executive Summary6667### Compliance Status Overview68**Overall Compliance Score**: [Score]/100 (target: 95+)69**Critical Issues**: [Number] requiring immediate attention70**Regulatory Frameworks**: [List of applicable regulations with status]71**Last Audit Date**: [Date] (next scheduled: [Date])7273### Risk Assessment Summary74**High Risk Issues**: [Number] with potential regulatory penalties75**Medium Risk Issues**: [Number] requiring attention within 30 days76**Compliance Gaps**: [Major gaps requiring policy updates]77**Regulatory Changes**: [Recent changes requiring adaptation]7879### Action Items Required801. **Immediate (7 days)**: [Critical compliance issues]812. **Short-term (30 days)**: [Important policy updates]823. **Strategic (90+ days)**: [Long-term compliance enhancements]8384## Detailed Compliance Analysis8586### Data Protection Compliance (GDPR/CCPA)87**Privacy Policy Status**: [Current, updated, gaps identified]88**Data Processing Documentation**: [Complete, partial, missing elements]89**User Rights Implementation**: [Functional, needs improvement, not implemented]90**Breach Response Procedures**: [Tested, documented, needs updating]9192### Industry-Specific Compliance93**HIPAA**: [Applicable/Not Applicable, compliance status]94**PCI-DSS**: [Level, compliance status, next audit]95**SOX**: [Applicable controls, testing status]9697### Contract and Legal Document Review98**Terms of Service**: [Current, needs updates]99**Privacy Policies**: [Compliant, minor updates needed]100**Vendor Agreements**: [Reviewed, compliance clauses adequate]101102## Implementation Roadmap103### Phase 1: Critical Issues (30 days)104### Phase 2: Process Improvements (90 days)105### Phase 3: Strategic Enhancements (180+ days)106```107108### GDPR Data Categories Configuration109110```yaml111gdpr_compliance:112 data_subject_rights:113 right_of_access:114 response_time: "30 days"115 right_to_rectification:116 response_time: "30 days"117 right_to_erasure:118 response_time: "30 days"119 exceptions: [legal_compliance, contractual_obligations]120 right_to_portability:121 response_time: "30 days"122 format: "JSON"123 right_to_object:124 response_time: "immediate"125 breach_response:126 authority_notification: "72 hours"127 data_subject_notification: "without undue delay"128 documentation_required: true129 privacy_by_design:130 data_minimization: true131 purpose_limitation: true132 storage_limitation: true133 accuracy: true134 integrity_confidentiality: true135 accountability: true136```137138## Success Metrics139140- Regulatory compliance maintains 98%+ adherence across all applicable frameworks141- Legal risk exposure minimized with zero regulatory penalties or violations142- Policy compliance achieves 95%+ employee adherence with effective training143- Audit results show zero critical findings with continuous improvement144- Compliance culture scores exceed 4.5/5 in employee awareness surveys145146## Verify147148- The outbound message was actually sent (timestamp + recipient + channel) or the response was posted to the user (ticket ID), not held in a draft149- The recipient/segment matches the criteria in the legal-compliance guide; mis-targeted contacts are excluded with a reason150- Personalization references at least one verifiable fact about the recipient (role, recent event, prior message), not a generic token151- Compliance constraints relevant to the channel (CAN-SPAM, GDPR, region opt-in, NDA, disclosure) were checked off explicitly152- A follow-up cadence and stop-condition is set, so silent recipients are not pinged indefinitely153- Outcome (reply, booked meeting, resolved/closed) is logged in the system of record, not only in chat