Skip to content

thatrebeccarae/dgtldept

Repository files navigation

dgtl dept*

25 open source Claude Code skills, specialized agents, and autonomous workflows for marketing teams. Paid media, e-commerce, content, strategy, creative, reporting, and development — specialist depth without specialist headcount.



Claude Code LinkedIn X Substack Website GitHub stars License Clone


git clone https://github.com/thatrebeccarae/dgtldept.git

Works on Mac, Windows, and Linux.



dgtldept terminal preview

Why This Exists · Who This Is For · What's Inside · Skills · Skill Packs · Agents · Workflows · Getting Started · How Skills Work · Example Prompts · Configuration · Security · Troubleshooting · Documentation · Contributing · License


Why This Exists

Claude Code is Anthropic's AI coding agent — it runs in your terminal and can read files, run commands, and work with APIs. These skills give it marketing expertise it doesn't have out of the box.

Most "AI marketing" tools launching lately are wrappers with an up-charge — skills that don't work, agents that are anything but "autonomous," or repackaged capabilities your platforms already ship natively, sold back to you with a dashboard and a subscription fee.

dgtl dept is a complete digital marketing skill set with built-in domain expertise. No wrappers, no subscriptions, no dashboards selling you capabilities you already own. The focused knowledge, benchmarks, and diagnostic frameworks that make Claude Code useful for lean marketing teams — open source, free, and built from years inside Klaviyo, Shopify, GA4, GTM, analytics stacks, and orchestration layers.

  • Skill packs give Claude Code the same platform expertise a senior marketing consultant brings to an audit
  • Agent workflows are autonomous pipelines that monitor GA4 properties, detect anomalies, and implement fixes via GTM — without anyone lifting a finger

This is the department that $70K+/year solutions try to sell you. Now anyone can git clone it.

Active project, open-sourced as-is. Fork it and make it yours — updates and new releases published regularly. Install what you need and ask questions in plain English.

Who This Is For

  • Solo marketers and small teams who need specialist depth without specialist headcount
  • DTC and e-commerce operators running Klaviyo, Shopify, GA4, or Looker Studio
  • Growth teams that need cross-platform analysis, not platform-by-platform reports
  • Content marketers who want research-backed, SEO-optimized content at scale
  • Agencies and consultants looking to scale their diagnostic and deliverable process
  • Founders who are tired of paying for audits they could run themselves
  • Developers working on marketing projects who want safe deployment practices

Implementation-ready answers — not tutorials, not blog-post-level overviews.

What's Inside

Category What It Is Count
Skills Claude Code skills — install individually or as packs 25 skills
Skill Packs Grouped collections with setup guides and install wizards 6 packs
Agents Standalone agents — portable analysis logic, usable with or without n8n 3 agents
Workflows Autonomous n8n pipelines that wire agents together on a schedule 1 pipeline

Skills

All 25 skills live in skills/ — install individually or use a skill pack to set up a related group.

View Live Demo — See skills in action with example terminal output.

DTC & E-commerce

Skill What Claude Can Do
Klaviyo Analyst Full Klaviyo audit — 4-phase account review, flow gap analysis, segment health, deliverability diagnostics, revenue attribution with industry benchmarks
Klaviyo Developer Event schema design, SDK integration, webhook handling, rate limit strategy, catalog sync
Shopify 12-step store audit, conversion funnel analysis, site speed diagnostics, marketing stack integration
Google Analytics GA4 traffic analysis, channel comparison, conversion funnels, content performance
Looker Studio Cross-platform dashboards via Google Sheets pipeline, DTC dashboard templates, calculated field library
Braze Canvas audit, segmentation, cross-channel orchestration, data architecture, deliverability, IP warming

Paid Media

Skill What Claude Can Do
Google Ads Campaign auditing, Quality Score optimization, Performance Max, Shopping, bidding strategies, wasted spend identification
Meta Ads Creative fatigue diagnosis, pixel/CAPI health, iOS 14.5+ attribution, Advantage+ campaign readiness
Microsoft Ads Google import optimization, LinkedIn Profile Targeting, UET tracking, Shopping campaigns, Clarity integration
Account Structure Review Cross-platform structural audit — conversion volume thresholds, budget fragmentation, consolidation roadmaps
Competitor Ads Analyst Competitor ad creative analysis from public ad libraries — messaging patterns, creative formats, positioning gaps
Wasted Spend Finder Systematic Google Ads and Meta waste analysis — produces uploadable exclusion lists with thematic categorization

Content

Skill What Claude Can Do
SEO Content Writer SEO-optimized content with brand voice analysis — blog posts, social media, email campaigns, landing pages
Content Workflow End-to-end content pipeline: research → draft → editorial review → social distribution
Email Composer Client outreach, deliverable handoffs, scope discussions, and follow-up cadence — with tone calibration per context

Strategy & Research

Skill What Claude Can Do
Market Research Consulting-grade research reports (50+ pages) — Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, competitive positioning
Research Digest Structured research briefs from RSS feeds and web sources — source synthesis, credibility assessment, content angles
ICP Research Ideal customer profiles with pain points, objections, buying triggers, community research, and voice-of-customer extraction

Creative & Design

Skill What Claude Can Do
Frontend Design Distinctive, production-grade web interfaces — typography, color theory, motion, spatial composition. Commits to a specific aesthetic direction, not generic defaults.
Tech Diagram Technical architecture diagrams as standalone HTML — pipeline flows, layer stacks, component maps, timelines
Remotion Video Programmatic video production — spring animations, chart animations, scene transitions, audio sync

Reporting & Deliverables

Skill What Claude Can Do
Pro Deck Builder Polished HTML slide decks and PDF-ready reports — dark covers, warm light content, component library
HTML Report Builder Multi-page HTML reports for consulting deliverables — KPI cards, data tables, callout boxes, recommendation cards

Developer Tools

Skill What Claude Can Do
Safe Push Pre-push hygiene — PII/secrets scanning, commit message audit, rate-limited pushing, allowlist support
GitHub README Generate, audit, or update READMEs — detects repo type, selects badges, enforces structure standards

Skill Packs

Grouped collections with setup wizards for installing related skills together:

  • DTC Pack — 6 skills for e-commerce (Klaviyo Analyst, Klaviyo Developer, Shopify, Google Analytics, Looker Studio, Pro Deck Builder)
  • Paid Media Pack — 6 skills for paid advertising (Google Ads, Meta Ads, Microsoft Ads, Competitor Ads Analyst, Wasted Spend Finder, Account Structure Review)
  • Content Pack — 3 skills for content creation (SEO Content Writer, Content Workflow, Email Composer)
  • Strategy & Research Pack — 3 skills for research and strategy (Market Research, ICP Research, Research Digest)
  • Creative & Design Pack — 3 skills for creative production (Frontend Design, Tech Diagram, Remotion Video)
  • Developer Tools Pack — 2 skills for safe deployment and documentation (Safe Push, GitHub README)

Getting Started

Copy Individual Skills

git clone https://github.com/thatrebeccarae/dgtldept.git
cd dgtldept
cp -r skills/google-ads ~/.claude/skills/

Each skill works independently — install only the ones you need.

Setup Wizard (for a full pack)

# DTC e-commerce pack
python skill-packs/scripts/setup-dtc.py

# Paid media pack
python skill-packs/scripts/setup-paid-media.py

The wizard checks prerequisites, walks you through API key setup, installs dependencies, and tests connections.

Tip

See DTC Getting Started or Paid Media Getting Started for detailed setup per platform.

How Skills Work

A Claude Code skill is a structured domain expertise file that loads into Claude automatically when invoked. Each skill contains diagnostic frameworks, industry benchmarks, and platform-specific reference data that Claude doesn't have out of the box — the kind of context that turns a general-purpose AI into a specialist.

What a Skill Contains

File Purpose
SKILL.md Frontmatter + instructions Claude reads at invocation — frameworks, decision trees, diagnostic patterns
REFERENCE.md Platform-specific data: industry benchmarks, API schemas, field mappings, rate limits
EXAMPLES.md Working examples with realistic prompts and expected output format
scripts/ Utility scripts for setup, data fetching, health checks (where applicable)

How Claude Uses Them

  1. You ask a question in natural language (e.g., "Audit my Klaviyo flows")
  2. Claude loads the relevant skill's SKILL.md, which contains the diagnostic framework
  3. Claude references REFERENCE.md for benchmarks, thresholds, and platform-specific data
  4. If an MCP server is configured (e.g., Klaviyo), Claude pulls live data from your account
  5. Claude delivers structured analysis with specific recommendations — not generic advice

Note

Skills work without MCP servers too. You can paste data, share screenshots, or use the included scripts to export data manually. The MCP server just makes it seamless.

Agents and Workflows

Agents are standalone analysis modules with portable logic — comparison engines, prompt builders, response parsers. Each agent works independently and can be used without n8n.

Workflows are autonomous n8n pipelines that wire agents together on a schedule. n8n runs locally here to save on costs, but cloud hosting works too. Unlike skills (which respond when you ask), workflows run on a schedule and act independently.

Workflows use Claude via the Anthropic API (not Claude Code) — Claude Sonnet for deep analysis, Claude Haiku for fast classification.

Agents

Standalone agents with portable analysis logic — usable independently or wired together by a workflow.

Agent What It Does
GA4 Monitor Compares GA4 event data against a tracking spec, flags gaps, unexpected events, and volume anomalies
GA4 Gap Analyzer Claude diagnoses tracking gaps (Sonnet) and anomalies (Haiku), generates GTM implementation specs
GTM Implementer Creates GTM variables, triggers, and tags — rate-limited, idempotent, workspace-isolated

Each agent works independently. Use GA4 Monitor for one-time audits without Claude or GTM. Use GA4 Gap Analyzer to diagnose issues from any comparison data. Use GTM Implementer to provision resources from any spec.

Workflows

Autonomous n8n pipelines that wire agents together on a schedule. They monitor, analyze, and act — then notify you with results.

GA4-GTM Pipeline — Daily GA4 monitoring + GTM implementation

GA4 tracking gaps cost you conversion data every day. This pipeline detects them automatically and patches them in GTM.

Stage Agent What Happens
Monitor GA4 Monitor Fetches all GA4 events daily, compares against your event spec
Analyze GA4 Gap Analyzer Claude Sonnet identifies gaps and recommends GTM implementations; Claude Haiku detects anomalies
Implement GTM Implementer Creates GTM variables, triggers, and tags in an isolated workspace (unpublished until you review)
Notify Slack messages at every stage — all-clear, gaps found, anomalies detected, GTM resources created

Handles multiple GA4 properties — configure once per property, runs hands-off from there.

See the GA4-GTM Pipeline README and Getting Started guide for setup.

Example Prompts

DTC & E-commerce

"Audit my Klaviyo flows and identify which essential flows I'm missing"
"My checkout completion rate is 31% — what's causing the drop-off?"
"Which traffic sources are driving the most conversions this month?"

Paid Media

"Analyze my Google Ads search terms and find wasted spend"
"Pull competitor ads from Meta Ad Library for these 3 brands and find messaging gaps"
"Run a cross-platform account structure review for Google, Meta, and Bing"

Content & Strategy

"Build an ICP for our SaaS product targeting VP of Marketing at mid-market companies"
"Write a 1,500-word SEO article targeting 'email marketing benchmarks for DTC brands'"
"Generate a research brief on AI in email marketing from the last 30 days"

Creative & Reporting

"Create a dark-mode deck summarizing this month's email performance"
"Build an HTML audit report from these Klaviyo metrics"
"Design a landing page for our analytics product — editorial aesthetic, not typical SaaS"

Developer Tools

"Safe push this branch to the public repo"
"Generate a README for this repo"

Configuration

Setup Wizard Options

Flag What It Does
python scripts/setup.py Full interactive setup
--skip-install Skip dependency installation
--skills klaviyo,shopify Install specific skills only
--non-interactive Use environment variables, skip prompts

API Keys by Platform

Platform Key Required Where to Get It
Klaviyo Private API Key (pk_...) Klaviyo > Settings > API Keys
Google Analytics Service account JSON + Property ID Google Cloud Console > IAM > Service Accounts
Shopify Admin API access token Shopify Admin > Apps > Develop Apps
Looker Studio Google Sheets API credentials Google Cloud Console > APIs & Services

Important

API keys are stored in .env files which are gitignored by default. Never hardcode keys in skill files or commit them to version control. See SECURITY.md for full credential handling guidance.

Klaviyo MCP server setup

The Klaviyo MCP server gives Claude direct access to your Klaviyo account data.

  1. Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Add to ~/.mcp.json:
{
  "mcpServers": {
    "klaviyo": {
      "command": "uvx",
      "args": ["klaviyo-mcp-server@latest"],
      "env": {
        "PRIVATE_API_KEY": "${KLAVIYO_API_KEY}",
        "READ_ONLY": "true",
        "ALLOW_USER_GENERATED_CONTENT": "false"
      }
    }
  }
}
  1. Restart Claude Code and verify with /mcp

See the DTC Pack guide for recommended Klaviyo API scopes.

Security

All scripts include input validation, path sanitization, SSRF protection, and secure credential handling. Key principles:

  • API keys stored in .env files (gitignored), never hardcoded
  • Read-only API access by default — write scopes are opt-in
  • No PII extraction — skills work with aggregates, not individual customer data
  • No persistent storage — analysis runs in-memory, output goes to local files you control

For vulnerability reporting and full security design details, see SECURITY.md.

Troubleshooting

Skills not loading in Claude Code
  1. Verify skills are in the right directory: ls ~/.claude/skills/
  2. Each skill folder should contain at least a SKILL.md file
  3. Restart Claude Code after copying skills
  4. Check that SKILL.md frontmatter is valid YAML
API key errors
  1. Confirm your .env file is in the project root (not inside a skill folder)
  2. Klaviyo keys must start with pk_ — if yours doesn't, you may have copied a public key
  3. Google service account JSON path must be absolute, not relative
  4. Run python scripts/setup.py to re-validate all keys
Python version issues

The setup wizard requires Python 3.8+. Check your version:

python --version
# or
python3 --version

On macOS, python may point to Python 2. Use python3 explicitly or install via Homebrew: brew install python

MCP server not connecting
  1. Verify ~/.mcp.json syntax is valid JSON (no trailing commas)
  2. Confirm uv is installed: uv --version
  3. Check that your KLAVIYO_API_KEY environment variable is set: echo $KLAVIYO_API_KEY
  4. Restart Claude Code — MCP servers load at startup

Documentation

Resource Description
DTC Pack 6 e-commerce skills — overview, MCP setup, example prompts, FAQ
DTC Getting Started Step-by-step setup for DTC platforms
Paid Media Pack 6 paid media skills — overview, example prompts, FAQ
Paid Media Getting Started Step-by-step setup for paid media platforms
Content Pack 3 content skills — SEO writing, editorial pipelines, client email
Strategy & Research Pack 3 strategy skills — market research, ICP development, research synthesis
Creative & Design Pack 3 creative skills — frontend design, tech diagrams, programmatic video
Developer Tools Pack 2 dev tools — safe push, README generation
GA4-GTM Pipeline README Pipeline architecture, agent orchestration, setup, and security model
GA4-GTM Pipeline Getting Started Step-by-step n8n + GA4 + GTM setup
CHANGELOG Version history and release notes
SECURITY Security design and vulnerability reporting
CONTRIBUTING How to contribute skills, report bugs, submit PRs

Contributing

Contributions are welcome — bug reports, documentation fixes, skill suggestions, and new skills. See CONTRIBUTING.md for guidelines on submitting skills, the required file structure, and the PR process.

License

MIT — see LICENSE for details.


Your marketing department lives here now.
Install the skills, deploy the workflows, and get to work.