Codex

legal-compliance

Project directory path (default current directory)

104 stars

Best use case

legal-compliance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Project directory path (default current directory)

Teams using legal-compliance should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/legal-compliance/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/legal-compliance/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/legal-compliance/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How legal-compliance Compares

Feature / Agentlegal-complianceStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Project directory path (default current directory)

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Legal Compliance Command

Conduct comprehensive legal and regulatory compliance review of marketing materials.

## What This Command Does

1. **Reviews Compliance Areas**
   - Advertising claims
   - Privacy and data
   - Promotions and contests
   - Industry regulations

2. **Documents Findings**
   - Compliance checklist
   - Issues and risk levels
   - Required corrections

3. **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/`:

- `compliance-review.md` - Full review report
- `issues-log.md` - Issues with severity
- `remediation-guide.md` - Fix instructions
- `disclaimer-templates.md` - Required disclaimers
- `approval-checklist.md` - Sign-off checklist

## Parameter Handling

### --guidance Parameter

**Purpose**: Provide upfront direction to tailor priorities and approach

**Examples**:
```bash
--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):
1. What type of content is being reviewed?
2. What jurisdictions apply?
3. Are there industry-specific regulations?
4. What is the review deadline?
5. Are there specific claims of concern?

## Usage Examples

```bash
# 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

Related Skills

flow-compliance-validation

104
from jmagly/aiwg

Orchestrate compliance validation workflow with requirements mapping, audit evidence collection, gap analysis, remediation tracking, and attestation

Codex

brand-compliance

104
from jmagly/aiwg

Validate brand compliance across visual, verbal, and legal dimensions with actionable reports

Codex

aiwg-orchestrate

104
from jmagly/aiwg

Route structured artifact work to AIWG workflows via MCP with zero parent context cost

venv-manager

104
from jmagly/aiwg

Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.

pytest-runner

104
from jmagly/aiwg

Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.

vitest-runner

104
from jmagly/aiwg

Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.

eslint-checker

104
from jmagly/aiwg

Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.

repo-analyzer

104
from jmagly/aiwg

Analyze GitHub repositories for structure, documentation, dependencies, and contribution patterns. Use for codebase understanding and health assessment.

pr-reviewer

104
from jmagly/aiwg

Review GitHub pull requests for code quality, security, and best practices. Use for automated PR feedback and approval workflows.

YouTube Acquisition

104
from jmagly/aiwg

yt-dlp patterns for acquiring content from YouTube and video platforms

Quality Filtering

104
from jmagly/aiwg

Accept/reject logic and quality scoring heuristics for media content

Provenance Tracking

104
from jmagly/aiwg

W3C PROV-O patterns for tracking media derivation chains and production history