Imports and structures agency SOPs for workflows, approvals, launch checklists, and escalations. Saves to ~/.claude-marketing/sops/ with brand context integration.
From digital-marketing-pronpx claudepluginhub indranilbanerjee/digital-marketing-pro --plugin digital-marketing-proThis skill uses the workspace's default tool permissions.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Import and structure agency Standard Operating Procedures (SOPs) that apply across all clients. SOPs define how work gets done — approval workflows, content review steps, campaign launch checklists, escalation procedures, and quality gates.
SOPs are stored at the agency level (~/.claude-marketing/sops/), not per-brand, so they apply consistently across all clients.
The user provides:
If the user doesn't provide a name, infer it from the content.
Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for existing guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions and relevant category files. Check for custom templates at ~/.claude-marketing/brands/{slug}/templates/. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.
Classify the SOP type:
Structure into actionable steps:
Check for existing SOPs — If an SOP with this name already exists:
Save the SOP:
guidelines-manager.py --action save-sop --name {name} --content "{content}"~/.claude-marketing/sops/{name}.mdExplain integration — Tell the user how this SOP will be applied:
User: "Before publishing any content, it needs to go through: 1. Writer creates draft, 2. Editor reviews for quality, 3. Brand manager checks voice alignment, 4. Legal reviews if it contains claims, 5. Client approves, 6. Publish"
Result: Saves to ~/.claude-marketing/sops/content-approval.md:
# Content Approval Workflow
## Scope
Applies to all content before publishing across all brands/clients.
## Steps
1. **Writer creates draft**
- Role: Content Creator
- Plugin support: Content Engine generates draft with brand voice applied
- Output: Draft content document
2. **Editor reviews for quality**
- Role: Editor
- Checklist: Grammar, clarity, structure, readability score
- Plugin support: Content scorer provides readability metrics
- Gate: Human approval required
3. **Brand manager checks voice alignment**
- Role: Brand Manager
- Checklist: Voice consistency, messaging alignment, restriction compliance
- Plugin support: Brand voice scorer provides alignment score
- Gate: Human approval required
4. **Legal reviews (conditional)**
- Trigger: Content contains health claims, financial claims, testimonials, or competitor comparisons
- Role: Legal Team
- Gate: Human approval required
5. **Client approves**
- Role: Client Stakeholder
- Gate: Human approval required
6. **Publish**
- Role: Content Creator / Social Media Manager
- Plugin support: Platform formatting applied automatically
User: "Our agency has a crisis escalation process: minor issues go to account manager, major issues go to agency director, critical issues go to CEO within 1 hour"
Result: Saves to ~/.claude-marketing/sops/crisis-escalation.md:
# Crisis Escalation Procedure
## Severity Levels
### Minor (Severity: Low)
- **Examples**: Negative review, minor social media complaint, factual error in published content
- **Escalate to**: Account Manager
- **Response SLA**: 4 hours
- **Action**: Acknowledge, draft response, resolve
### Major (Severity: Medium)
- **Examples**: Viral negative post, media inquiry, product recall mention, multiple complaints
- **Escalate to**: Agency Director
- **Response SLA**: 1 hour
- **Action**: Pause scheduled content, draft holding statement, convene response team
### Critical (Severity: High)
- **Examples**: Legal threat, data breach, executive controversy, widespread media coverage
- **Escalate to**: CEO
- **Response SLA**: 1 hour
- **Action**: All content paused, crisis team activated, holding statement within 30 minutes
skills/context-engine/guidelines-framework.md — How SOPs integrate with the guideline systemscripts/guidelines-manager.py — CLI for SOP CRUD operations (--action list-sops, save-sop, get-sop)