install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/legal-compliance" ~/.claude/skills/jmagly-aiwg-legal-compliance && rm -rf "$T"
manifest:
.agents/skills/legal-compliance/SKILL.mdsource content
Legal Compliance Command
Conduct comprehensive legal and regulatory compliance review of marketing materials.
What This Command Does
-
Reviews Compliance Areas
- Advertising claims
- Privacy and data
- Promotions and contests
- Industry regulations
-
Documents Findings
- Compliance checklist
- Issues and risk levels
- Required corrections
-
Provides Guidance
- Remediation steps
- Disclaimer templates
- Best practices
Orchestration Flow
Legal Compliance Request ↓ [Legal Reviewer] → Advertising Claims Review ↓ [Legal Reviewer] → Privacy Compliance ↓ [Legal Reviewer] → Promotional Compliance ↓ [Brand Guardian] → Brand/IP Review ↓ [Accessibility Checker] → ADA Compliance ↓ Compliance Report & Recommendations
Agents Involved
| Agent | Role | Output |
|---|---|---|
| Legal Reviewer | Lead compliance | Legal review |
| Brand Guardian | IP/trademark | Brand compliance |
| Accessibility Checker | ADA | Accessibility |
Compliance Areas
| Area | Key Checks |
|---|---|
| Advertising | Claims substantiation, FTC compliance |
| Privacy | GDPR, CCPA, CAN-SPAM |
| Promotions | Official rules, state requirements |
| Industry | Sector-specific regulations |
| Accessibility | ADA, WCAG compliance |
Output Artifacts
Saved to
.aiwg/marketing/compliance/:
- Full review reportcompliance-review.md
- Issues with severityissues-log.md
- Fix instructionsremediation-guide.md
- Required disclaimersdisclaimer-templates.md
- Sign-off checklistapproval-checklist.md
Parameter Handling
--guidance Parameter
Purpose: Provide upfront direction to tailor priorities and approach
Examples:
--guidance "FTC disclosure review for influencer content" --guidance "GDPR compliance for EU campaign" --guidance "Healthcare claims review, FDA considerations"
How Applied:
- Parse guidance for keywords: priority, timeline, audience, focus, constraints
- Adjust agent emphasis and output depth based on stated priorities
- Modify deliverable order based on timeline constraints
- Influence scope and detail level based on context
--interactive Parameter
Purpose: Guide through discovery questions for comprehensive input
Questions Asked (if --interactive):
- What type of content is being reviewed?
- What jurisdictions apply?
- Are there industry-specific regulations?
- What is the review deadline?
- Are there specific claims of concern?
Usage Examples
# Full compliance review /legal-compliance "campaign-materials/" --compliance-areas all # Advertising claims focus /legal-compliance "ad-copy.md" --compliance-areas advertising # Promotional compliance /legal-compliance "contest-rules.md" --compliance-areas promotions # With strategic guidance /legal-compliance "Example" --guidance "Your specific context here" # Interactive mode /legal-compliance "Example" --interactive
Success Criteria
- All applicable regulations identified
- Materials reviewed against requirements
- Issues documented with severity
- Remediation guidance provided
- Required disclaimers identified
- Sign-off obtained
References
- @$AIWG_ROOT/agentic/code/frameworks/media-marketing-kit/README.md — Media marketing kit framework overview
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md — Authorization gates for legal review sign-off
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md — Measurable compliance criteria and severity levels
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference