Skip to main content
ClaudeWave
ES, Spanish
Slash Command906 estrellas del repoactualizado 17d ago

output-folder

The `/output-folder` command displays the file system location where Digital Marketing Pro saves completed workflow deliverables for a specified brand, typically at `~/Documents/DigitalMarketingPro/{brand}/`. Use this when you need to locate engagement files, campaign plans, or other finished outputs that the tool has generated, or when you're unsure whether a workflow has finished saving.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/indranilbanerjee/digital-marketing-pro/HEAD/commands/output-folder.md -o ~/.claude/commands/output-folder.md
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

output-folder.md

# Output Folder

Show the user where DMP actually saves the finished workflow deliverables, and (when supported) open that folder in the OS file manager. This is the answer to "where are my 50 engagement files?" — a real question from user-team feedback ("dm pro also taking too long to process" was partly about not knowing whether anything had finished saving).

## Trigger

User runs `/digital-marketing-pro:output-folder`, or asks any variant of "where are my engagement files", "I can't find the campaign plan deliverables", "open output folder", "show me where it saved everything".

## Background

DMP writes two copies of every workflow artifact:

1. **Internal tracking copy** at `~/.claude-marketing/brands/{brand}/output/{workflow}/{run_id}/...` (or `$CLAUDE_PLUGIN_DATA/digital-marketing-pro/brands/{brand}/output/...` when that env var is set). This is the system-of-record for `/digital-marketing-pro:status`, the checkpoint manager, audit history. It lives inside a dotfolder that Windows hides by default.
2. **User-visible published copy** at `~/Documents/DigitalMarketingPro/{brand}/{workflow}/{YYYY-MM}/{filename}` (or wherever `$DIGITAL_MARKETING_PRO_PUBLISH_DIR` points). This is the one to surface.

The published copy was added specifically because users running the 12-Part engagement workflow couldn't find the 50-60 deliverable files it produces. They were saving — just somewhere Explorer hid by default.

## Process

### Step 1: Resolve the path

The published-output directory is:

- `$DIGITAL_MARKETING_PRO_PUBLISH_DIR/{brand}/[{workflow}/]` if the env var is set, or
- `~/Documents/DigitalMarketingPro/{brand}/[{workflow}/]` otherwise.

Default to the active brand if no argument was provided. If neither is available, prompt: "Which brand's output folder? Run `/digital-marketing-pro:output-folder <brand>` or set up a brand with `/digital-marketing-pro:brand-setup`."

If the user supplied a workflow argument (e.g. `engagement`, `campaign-plan`, `seo-audit`), drill down to that subfolder.

### Step 2: Print the path + summary

Use `scripts/output-publisher.py where` to resolve and report — it returns both the visible path AND the internal tracking path AND whether the env var override is active:

```bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/output-publisher.py" where \
    --brand "{brand}" \
    --workflow "{workflow_or_omit}"
```

Show the user:

```
📂 DMP output folder for {brand}{workflow_phrase}:
   {visible_publish_dir}

   Subfolders are organised by workflow (engagement / campaign-plan /
   content-engine / seo-audit / competitor-analysis / campaign-audit /
   launch-campaign) and then by month (YYYY-MM). The newest run is in
   the latest month folder.

   Override the root with $DIGITAL_MARKETING_PRO_PUBLISH_DIR if you want
   outputs going to a shared team drive instead.
```

### Step 3: Open in the OS file manager

Use `scripts/output-publisher.py open` for the actual file-manager invocation (Windows `start` / macOS `open` / Linux `xdg-open`):

```bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/output-publisher.py" open \
    --brand "{brand}" \
    --workflow "{workflow_or_omit}"
```

If the open fails (headless environment, no associated handler), don't error — the user already has the path from Step 2.

### Step 4: If the folder doesn't exist yet

`~/Documents/DigitalMarketingPro/{brand}/` is created the first time a workflow's artifacts are published. If the folder is missing, say:

```
The output folder doesn't exist yet — that means no workflow has
finished and published for "{brand}" yet. Run a workflow first:

  /digital-marketing-pro:engagement          # full 12-Part Strategy Flow
  /digital-marketing-pro:campaign-plan       # multi-channel campaign
  /digital-marketing-pro:seo-audit           # SEO + AI visibility audit
  /digital-marketing-pro:competitor-analysis # deep-dive

Then come back here. Expected location after the first published run:
  {visible_publish_dir}
```

Do NOT create the folder pre-emptively.

## Configuration

Workspace-wide / agency-wide override:

```bash
# Persistent — add to shell profile
export DIGITAL_MARKETING_PRO_PUBLISH_DIR="$HOME/Dropbox/Marketing/DMP-Outputs"

# Per-run
DIGITAL_MARKETING_PRO_PUBLISH_DIR="/mnt/team-share/DMP" /digital-marketing-pro:engagement ...
```

The internal tracking copy (under `~/.claude-marketing/`) is unchanged — that stays as DMP's system-of-record. The env var only affects the visible publish copy.

## Related

- [`commands/engagement.md`](engagement.md), [`commands/campaign-plan.md`](campaign-plan.md), [`commands/content-engine.md`](content-engine.md), [`commands/seo-audit.md`](seo-audit.md) — the workflows that produce the files this command reveals
- [`commands/resume.md`](resume.md) — pick up an interrupted run
- [`scripts/output-publisher.py`](../scripts/output-publisher.py) — implements the dual-copy save + `where` + `open` subcommands
ab-test-planSkill

Design a statistically rigorous A/B or multivariate test plan — If/Then/Because hypothesis, control and variant specs, required sample size per variant (absolute vs relative MDE via sample-size-calculator.py), test duration, guardrail metrics, stopping rules, and go/no-go decision criteria. Triggers on \"/digital-marketing-pro:ab-test-plan\", \"set up an A/B test\", \"how long should my test run\", \"calculate sample size for an experiment\", \"is this test result significant\". Reads the brand profile and past campaign-tracker results to avoid re-testing validated hypotheses; finished tests are evaluated with significance-tester.py by the cro-specialist agent.

ad-creativeSkill

Generate 3-5 ad copy variations per platform — headlines, descriptions, and CTAs formatted to Google, Meta, LinkedIn, TikTok, X, and Pinterest specs — each scored 1-10 with policy-compliance flags, A/B testing groupings, and a message-match check against the landing page. Triggers on \"/digital-marketing-pro:ad-creative\", \"write ad copy for Meta\", \"give me RSA headline variations\", \"we need LinkedIn ad copy\", \"draft TikTok ad creative\". Reads the brand profile, guidelines, and compliance rules; routes video ad scripts to /digital-marketing-pro:video-script and gates AI-generated visuals for EU campaigns through /digital-marketing-pro:c2pa-metadata and /digital-marketing-pro:check.

add-integrationSkill

Walk through adding a custom MCP server integration to the plugin — searches npm for an existing MCP package (or scaffolds a custom server from the plugin's guide), generates the exact .mcp.json entry, sets up environment-variable credentials, tests connectivity, and documents the tools the new server exposes. Triggers on \"/digital-marketing-pro:add-integration\", \"connect Ahrefs to the plugin\", \"add a new MCP server\", \"integrate our internal API\", \"hook up Stripe data\". Reads the brand profile and agency credential profiles at ~/.claude-marketing/credentials/ to map client-specific keys; custom builds follow skills/context-engine/custom-mcp-guide.md.

aeo-auditSkill

Audit how a brand appears across the 6 canonical AI answer surfaces — ChatGPT, Perplexity, Google AI Mode, AI Overviews, Gemini, Copilot — probing 10-25 queries into a numbered output bundle with per-platform visibility scorecards, citation-accuracy checks, a competitor matrix, content gaps, and an optimization playbook behind a four-gate quality scorecard. Triggers on \"/digital-marketing-pro:aeo-audit\", \"does ChatGPT know about our brand\", \"check our AI search visibility\", \"how does Perplexity describe us\", \"are we showing up in AI Overviews\". Reads the brand profile; reconciles probes against GSC actuals via /digital-marketing-pro:gsc-ai-performance and defines the AI-visibility scoring standard reused by geo-monitor and share-of-voice.

aeo-geoSkill

Strategy module for Answer Engine / Generative Engine Optimization — audits AI visibility, restructures content for citation, runs entity-consistency checks across Knowledge Graph, Wikidata, Wikipedia, Crunchbase, and LinkedIn, and produces JSON-LD schema specs, monitoring frameworks, and a 90-day LLM content strategy. Triggers on \"/digital-marketing-pro:aeo-geo\", \"how do we get cited by AI\", \"optimize for AI Overviews\", \"fix our entity consistency\", \"do we need llms.txt\". Reads the brand profile, compliance rules, and industry benchmarks; its measurement counterpart is /digital-marketing-pro:aeo-audit, with GSC actuals via /digital-marketing-pro:gsc-ai-performance.

agency-dashboardSkill

Generate a portfolio-level dashboard across ALL client brands — per-client RAG health scores, campaign activity, budget pacing, aggregate KPIs, team utilization, pending approvals, upcoming deadlines, and an alerts panel — built for agency standups and weekly reviews. Triggers on \"/digital-marketing-pro:agency-dashboard\", \"how are all our clients doing\", \"portfolio health check\", \"budget pacing across accounts\", \"which accounts are at risk\". Enumerates every brand under ~/.claude-marketing/brands/ and pulls data via campaign-tracker.py, execution-tracker.py, and team-manager.py; drill into a single client with /digital-marketing-pro:performance-report or /digital-marketing-pro:client-report.

agency-operationsSubagent

Invoke when the user needs to manage multiple client brands, view portfolio-level dashboards, generate client reports, manage SOPs, switch credential profiles, assign team tasks, configure regions, or generate executive summaries. Triggers on requests involving multi-client management, agency workflows, client onboarding, or portfolio oversight.

analytics-analystSubagent

Invoke when the user needs help with marketing measurement, KPI definition, dashboard design, attribution reporting, performance analysis, competitive benchmarking, or translating data into marketing decisions. Triggers on requests involving metrics, reporting, analytics setup, or data interpretation.