# campaign-ledger

Assigns universal IDs to marketing initiatives, checks UTM and ad naming across ad networks, and builds a single ledger connecting ad spend to CRM revenue.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 111
- Author: Cogny AI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/campaign-ledger/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/campaign-ledger

## What it does

This skill bridges the gap between ad impressions and actual bank deposits. It allocates a structured identifier like `<PREFIX><NNN>` to every campaign and carries it through ad names, audience groups, emails, and CRM deals. The result is a centralized ledger matching outbound marketing spend directly to customer revenue.

The logic operates via Cogny MCP connectors across ad platforms, web analytics, and CRMs. It inspects creative names with strict regex patterns to track specific angles and visual formats. On networks without ad-level naming, such as responsive search ads, the ID attaches to campaign structures and the `utm_content` parameter.

You need the `cogny-mcp` integration and an active Cogny plan at $9/mo. Without these prerequisites, the skill cannot access ad accounts or query revenue tables.

## Requirements
- Works with: LinkedIn

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill campaign-ledger -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/campaign-ledger/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/campaign-ledger/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill campaign-ledger -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/campaign-ledger/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill campaign-ledger -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/campaign-ledger/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cognyai/claude-code-marketing-skills campaign-ledger
```

2. **Manually: put the files in place**
- File: `.github/skills/campaign-ledger/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill campaign-ledger -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/campaign-ledger
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/campaign-ledger/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill campaign-ledger -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/campaign-ledger/SKILL.md

## When to use it
- Connect ad network expenses to deals and closed revenue in CRM
- Audit ad names and UTM tags against regex naming standards
- Generate structured campaign IDs carrying specific angles and formats
- Identify marketing assets and ad groups that violate naming rules

## Example prompts
- /campaign-ledger init
- /campaign-ledger new "dinner angle"
- /campaign-ledger audit

## Similar
- [seo-audit](https://affpapa.org/en/nevibecode/skills/coreyhaines31-seo-audit.md) — skill · 238500 installs
- [programmatic-seo](https://affpapa.org/en/nevibecode/skills/coreyhaines31-programmatic-seo.md) — skill · 150800 installs
- [copy-editing](https://affpapa.org/en/nevibecode/skills/coreyhaines31-copy-editing.md) — skill · 149800 installs
- [marketing-ideas](https://affpapa.org/en/nevibecode/skills/coreyhaines31-marketing-ideas.md) — skill · 147400 installs
- [sales-enablement](https://affpapa.org/en/nevibecode/skills/sales-enablement.md) — skill · 119400 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 114000 installs

From the same set: [cognyai/claude-code-marketing-skills](https://affpapa.org/en/nevibecode/by/cognyai/claude-code-marketing-skills.md) — 58 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
