
sop-library
Manage the agency SOP library: templates, assignments, compliance. "create an SOP for blog publishing"
- Installs
- 145
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill sop-library- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads sop-library automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
/digital-marketing-pro:sop-library
Script location. If your host does not set
${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin'sscripts/folder, next toskills/. Run them with Python 3.10 or newer:python, orpython3wherepythonis not found (macOS, many Linux systems).
Purpose
Manage the agency's Standard Operating Procedure library. Create SOPs from templates, assign them to specific brands, track compliance against recent executions, and maintain version control. SOPs define mandatory steps for common marketing operations — ensuring consistency, quality, and accountability across all client engagements regardless of which team member is executing the work.
Input Required
The user must provide (or will be prompted for):
- Action: One of:
create,list,assign,check-compliance,update, orview - SOP category: The operational area — content-production, paid-media, reporting, crm, seo, social-media, email-marketing, client-management, onboarding, or general
- Brand slug (for assign/check-compliance): Which brand to assign the SOP to or check compliance against — must match a configured brand in
~/.claude-marketing/brands/ - SOP name (for create/update/view): A descriptive name for the procedure (e.g., "Blog Post Publishing Checklist", "Monthly Reporting Workflow", "Paid Search Campaign Launch Protocol")
- SOP content (for create/update): The procedure steps, checklists, responsible roles, approval requirements, and quality gates — or indicate "from template" to use the category default template
- Version notes (for update): What changed and why — recorded in the version history log for audit trail and team communication
- Priority level (for create): One of:
- Critical: Must follow for every execution — compliance failures trigger alerts to management
- Standard: Recommended for consistency across team members
- Advisory: Best practice guidance, not mandatory — for reference and training
- Brand-specific overrides (for assign): Any steps that should be modified, skipped, or added for this specific brand's requirements, industry regulations, or client preferences
- Compliance date range (for check-compliance): How far back to look when checking executions against the SOP — defaults to last 30 days
Process
- Load brand context: Read
~/.claude-marketing/brands/_active-brand.jsonfor 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 guidelines at~/.claude-marketing/brands/{slug}/guidelines/_manifest.json— if present, load restrictions. Check for agency SOPs at~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults. - Check SOP storage: Read the SOP library at
~/.claude-marketing/sops/. Each SOP is stored as a JSON file with metadata (name, category, version, priority, created date, last updated, author, assigned brands, steps array, checklists, and version history) - For CREATE action: Generate a new SOP from the specified category template. Include:
- Objective statement and scope definition
- Prerequisites and required platform access
- Numbered procedure steps with responsible roles and time estimates per step
- Quality checkpoints at key gates with pass/fail criteria
- Approval requirements with escalation paths
- Completion criteria and rollback procedure if applicable
- Save to
~/.claude-marketing/sops/{category}/{sop-slug}.jsonwith version 1.0
- For LIST action: Enumerate all SOPs in the library organized by category. Show name, version, priority level, last updated date, number of steps, total estimated duration, and assignment count (how many brands use this SOP). Highlight any unassigned SOPs and any with compliance rates below 80%
- For ASSIGN action: Link the specified SOP to a brand by creating a reference at
~/.claude-marketing/brands/{slug}/sops/{sop-slug}.jsoncontaining the SOP reference, assignment date, assigner, and any brand-specific overrides or additions to the standard steps - For CHECK-COMPLIANCE action: Compare the brand's recent executions (from
python "${CLAUDE_PLUGIN_ROOT}/scripts/execution-tracker.py" --brand {slug} --action get-history) against the assigned SOP requirements. For each SOP step, determine pass/fail/not-applicable/skipped based on execution evidence. Calculate overall compliance percentage and identify patterns in recurring failures - For UPDATE action: Load the existing SOP, create a versioned backup (append version number to filename in
~/.claude-marketing/sops/_archive/), apply the updates, increment version number, record change notes with author in the version history array, and flag all affected brands for re-review - For VIEW action: Display the full SOP with all steps, checklists, metadata, assigned brands list, complete version history, and aggregate compliance status summary across all assigned brands
- Validate SOP completeness: For create and update actions, verify the SOP has all required sections — objective, scope, at least 5 procedure steps, responsible roles for each step, at least one approval gate, completion criteria, and estimated total duration. Flag any gaps before saving
- Check for conflicts: When assigning or updating, verify the SOP does not conflict with existing assigned SOPs for the same brand and category — flag overlapping steps, contradictory requirements, or redundant procedures
- Generate compliance trends: For check-compliance, compare current compliance rate against previous checks to identify improving or declining adherence patterns — flag brands with declining compliance for management attention
- Report results: Present the action outcome with confirmation, any warnings (unassigned SOPs, compliance failures, conflicts detected, incomplete sections), and suggested next steps
Output
Action-specific output:
- For CREATE: Complete SOP document with all sections (objective, scope, prerequisites, numbered steps with roles and time estimates, quality gates, approval requirements, completion criteria, rollback procedure), saved confirmation with file path and version number, estimated total execution time, and prompt to assign to brands
- For LIST: Categorized SOP library table — name, category, version, priority, step count, estimated duration, last updated, assigned brand count, and aggregate compliance rate where checked. Summary totals per category and overall library statistics
- For ASSIGN: Assignment confirmation with brand name, SOP name, effective date, any brand-specific overrides applied, total steps including overrides, and reminder to run compliance check after next execution cycle
- For CHECK-COMPLIANCE: Compliance report with per-step pass/fail/skip status, overall compliance percentage, specific failure details with execution evidence and remediation guidance, trend vs prior check (improving/stable/declining), pattern analysis for recurring failures, and prioritized corrective actions
- For UPDATE: Updated SOP with diff summary (what changed with before/after), new version number, version history entry with author and notes, list of affected brands flagged for re-review, and recommendation to re-run compliance checks
- For VIEW: Full SOP display with all steps and metadata, assigned brands list with per-brand compliance status, complete version history with change notes, aggregate compliance metrics, and last compliance check date per brand
Agents Used
- agency-operations — SOP creation from category templates, compliance tracking logic, version control and archival management, assignment workflows, conflict detection, trend analysis, and library organization
- memory-manager — SOP file storage and retrieval, version history persistence, brand-SOP linkage management, archive maintenance, and compliance data archival
FAQ
What does the sop-library skill do?
Manage the agency SOP library: templates, assignments, compliance. "create an SOP for blog publishing"
How do I install sop-library?
Run npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill sop-library in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/sop-library/ (personal) or .claude/skills/sop-library/ (project).
Which AI agents can use sop-library?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is sop-library safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains sop-library?
It is published by indranilbanerjee in indranilbanerjee/digital-marketing-pro. It has 145 recorded installs.
More from indranilbanerjee/digital-marketing-pro
video-script
indranilbanerjee/digital-marketing-pro
Write a video script: hooks, timestamped dialogue, visual cues. Title/thumbnail → video-packaging. "write a YouTube script about X"
paid-advertising
indranilbanerjee/digital-marketing-pro
Plan or audit paid ads with current platform rules and benchmarks: Google PMax/AI Max, Meta, retail. "should we use Performance Max"
landing-page-audit
indranilbanerjee/digital-marketing-pro
Audit one landing page on six conversion dimensions, incl. ad message match. "why isn't this page converting"
client-proposal
indranilbanerjee/digital-marketing-pro
Draft a client proposal or RFP response: scope, deliverables, KPIs, pricing tiers. "respond to this RFP"
competitor-analysis
indranilbanerjee/digital-marketing-pro
Analyze 2-5 competitors once: positioning, content, SEO, ads, pricing. Ongoing → competitor-monitor. "how do we stack up against X"
funnel-architect
indranilbanerjee/digital-marketing-pro
Design a funnel for the business model: stages, KPIs, journey. Existing data → funnel-audit. "design a funnel for our SaaS"
Popular security skills
azure-compliance
microsoft/azure-skills
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
minimal-run-and-audit
lllllllama/rigorpilot-skills
Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.
seo-audit
coreyhaines31/marketingskills
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
firebase-security-rules-auditor
firebase/agent-skills
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
security-audit
cloudflare/security-audit-skill
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
competitors
coreyhaines31/marketingskills
When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.