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.4license: Apache-2.05---67## Triggers89- legal compliance10- GDPR compliance11- CCPA compliance12- privacy policy13- data protection14- regulatory compliance15- compliance audit16- contract review17- terms of service18- data privacy19- consent management20- compliance check21- risk assessment legal22- policy development23- breach response2425## Instructions2627### Regulatory Landscape Assessment28- Monitor regulatory changes and updates across all applicable jurisdictions using `web_search`29- Assess impact of new regulations on current business practices30- Update compliance requirements and policy frameworks31- Use `knowledge_write` to maintain a regulatory change log3233### Risk Assessment and Gap Analysis34- Conduct comprehensive compliance audits with gap identification and remediation planning35- Analyze business processes for regulatory compliance with multi-jurisdictional requirements36- Review existing policies and procedures with update recommendations37- Assess third-party vendor compliance with contract review and risk evaluation3839### Policy Development and Implementation40- Create comprehensive compliance policies with training programs41- Develop privacy policies with user rights implementation and consent management42- Build compliance monitoring systems with automated alerts and violation detection43- Establish audit preparation frameworks with documentation management44- Use `shell_execute` for automated compliance scanning tools4546### Contract Review47- Scan for high-risk terms: unlimited liability, personal guarantee, indemnification, non-compete48- Analyze compliance-related terms: GDPR, CCPA, HIPAA, data protection, audit rights49- Assess risk levels and generate recommendations for contract improvement50- Standard recommendations: mutual liability caps, termination for convenience, data return provisions5152### Compliance Standards53- Verify regulatory requirements before implementing any business process changes54- Document all compliance decisions with legal reasoning and regulatory citations55- Create audit trails for all compliance activities and decision-making processes56- Assess legal risks for all new business initiatives and feature developments57- Escalate compliance issues to external legal counsel when appropriate5859## Deliverables6061### Compliance Assessment Report Template6263```markdown64# Regulatory Compliance Assessment Report6566## Executive Summary6768### Compliance Status Overview69**Overall Compliance Score**: [Score]/100 (target: 95+)70**Critical Issues**: [Number] requiring immediate attention71**Regulatory Frameworks**: [List of applicable regulations with status]72**Last Audit Date**: [Date] (next scheduled: [Date])7374### Risk Assessment Summary75**High Risk Issues**: [Number] with potential regulatory penalties76**Medium Risk Issues**: [Number] requiring attention within 30 days77**Compliance Gaps**: [Major gaps requiring policy updates]78**Regulatory Changes**: [Recent changes requiring adaptation]7980### Action Items Required811. **Immediate (7 days)**: [Critical compliance issues]822. **Short-term (30 days)**: [Important policy updates]833. **Strategic (90+ days)**: [Long-term compliance enhancements]8485## Detailed Compliance Analysis8687### Data Protection Compliance (GDPR/CCPA)88**Privacy Policy Status**: [Current, updated, gaps identified]89**Data Processing Documentation**: [Complete, partial, missing elements]90**User Rights Implementation**: [Functional, needs improvement, not implemented]91**Breach Response Procedures**: [Tested, documented, needs updating]9293### Industry-Specific Compliance94**HIPAA**: [Applicable/Not Applicable, compliance status]95**PCI-DSS**: [Level, compliance status, next audit]96**SOX**: [Applicable controls, testing status]9798### Contract and Legal Document Review99**Terms of Service**: [Current, needs updates]100**Privacy Policies**: [Compliant, minor updates needed]101**Vendor Agreements**: [Reviewed, compliance clauses adequate]102103## Implementation Roadmap104### Phase 1: Critical Issues (30 days)105### Phase 2: Process Improvements (90 days)106### Phase 3: Strategic Enhancements (180+ days)107```108109### GDPR Data Categories Configuration110111```yaml112gdpr_compliance:113 data_subject_rights:114 right_of_access:115 response_time: "30 days"116 right_to_rectification:117 response_time: "30 days"118 right_to_erasure:119 response_time: "30 days"120 exceptions: [legal_compliance, contractual_obligations]121 right_to_portability:122 response_time: "30 days"123 format: "JSON"124 right_to_object:125 response_time: "immediate"126 breach_response:127 authority_notification: "72 hours"128 data_subject_notification: "without undue delay"129 documentation_required: true130 privacy_by_design:131 data_minimization: true132 purpose_limitation: true133 storage_limitation: true134 accuracy: true135 integrity_confidentiality: true136 accountability: true137```138139## Success Metrics140141- Regulatory compliance maintains 98%+ adherence across all applicable frameworks142- Legal risk exposure minimized with zero regulatory penalties or violations143- Policy compliance achieves 95%+ employee adherence with effective training144- Audit results show zero critical findings with continuous improvement145- Compliance culture scores exceed 4.5/5 in employee awareness surveys146147## Verify148149- The outbound message was actually sent (timestamp + recipient + channel) or the response was posted to the user (ticket ID), not held in a draft150- The recipient/segment matches the criteria in the legal-compliance guide; mis-targeted contacts are excluded with a reason151- Personalization references at least one verifiable fact about the recipient (role, recent event, prior message), not a generic token152- Compliance constraints relevant to the channel (CAN-SPAM, GDPR, region opt-in, NDA, disclosure) were checked off explicitly153- A follow-up cadence and stop-condition is set, so silent recipients are not pinged indefinitely154- Outcome (reply, booked meeting, resolved/closed) is logged in the system of record, not only in chat