agentleFS
Dataslayer-AIDataslayer-AI/Marketing-skills/CLAUDE.md

Marketing-skills

CLAUDE.md24 starsChanged 8 months agoMITView on GitHub

A collection of Claude Code skills for marketing analysis. Skills work in two modes: automatic (with the Dataslayer MCP fetching live data from Google Ads, Meta, LinkedIn, GA4, Search Console, Stripe, and 50+ platforms) or manual (user pastes CSV/JSON data). Same analysis engine either way. - SKILL.md format: Frontmatter (name, description, model, allowed-tools) followed by Step 1–4 sections, Tone rules, Related skills. See CONTRIBUTING.md. - Subagents return data only. No interpretation, no recommendations. The orchestrator (ds-brain) or standalone skill handles…

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Subagents return data only: No interpretation, no recommendations.

    line 24
  2. Very specific:

    Never write inline calculation scripts in SKILL.md files.

    line 27
  3. Distinctive:

    No user configuration needed.

    line 52
  4. Distinctive:

    Write skill content and reports in the same language the user is using.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — Project conventions for Marketing-skills

What this repo is

A collection of Claude Code skills for marketing analysis. Skills work in two modes: automatic (with the Dataslayer MCP fetching live data from Google Ads, Meta, LinkedIn, GA4, Search Console, Stripe, and 50+ platforms) or manual (user pastes CSV/JSON data). Same analysis engine either way.

Repo structure

skills/          → Each subfolder is a skill (SKILL.md + optional scripts/)
agents/          → Each .md file is a subagent used by ds-brain
scripts/         → Shared utilities (ds_utils.py) and tests
reports/         → Generated PDFs (gitignored, local only)
.agents/         → Business context file (gitignored, user-specific)

Key conventions

  • SKILL.md format: Frontmatter (name, description, model, allowed-tools) followed by Step 1–4 sections, Tone rules, Related skills. See CONTRIBUTING.md.
  • Subagents return data only. No interpretation, no recommendations. The orchestrator (ds-brain) or standalone skill handles synthesis.
  • All data processing goes through scripts/ds_utils.py. Never write inline calculation scripts in SKILL.md files. ds_utils functions are tested (113 tests in test_ds_utils.py).
  • Use ${CLAUDE_SKILL_DIR} for file references — never hardcode paths.
  • Use !cat ... || echo "..."` for context injection in Step 1.
  • Date ranges: Skills and their corresponding subagents must use the same default date range. Currently: paid=30d, organic=28d, content=90d, retention=60d (cancellations) / 30d (charges).

Running tests

python scripts/test_ds_utils.py

QA tools

  • /ds-lint — Validates all SKILL.md and agent files against the spec
  • /ds-eval — Tests triggering accuracy with cases from eval/triggering-tests.yaml
  • /ds-audit — Cross-skill consistency review (description overlap, format, features)

MCP tool naming

Skills use wildcard patterns in allowed-tools: mcp__*__natural_to_data, mcp__*__check_task_id, etc. This matches any MCP server name — whether it's a UUID (auto-generated) or a custom name like "dataslayer". No user configuration needed.

In Step 2, skills detect MCP availability by checking for any tool matching *__natural_to_data. If none is found, they fall back to manual data mode with a CTA linking to dataslayer.ai/mcp.

Language

Write skill content and reports in the same language the user is using. Code, comments, and this file stay in English.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.