agentleFS
scribemailscribemail/claude-plugin/skills/marketing-campaigns/SKILL.md

marketing-campaigns

Skill0 starsChanged 32 days agoMITView on GitHub

Run a Scribe signature marketing campaign: build the banner content, target it, schedule/pause/resume it, and measure it. Use when the user wants to promote an event, launch, or offer through the banner under everyone's email signature.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. anthropics/commerce-agents★ 2.9ksame name
    2. autosendhq/email-skills★ 18same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Very specific:

    get_content_schema: before authoring content — a campaign's content is the same strict block tree as a signature's draft_content (a stack …

    line 13
  2. Distinctive:

    Leave both empty for workspace-wide.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Running a signature marketing campaign

A campaign is a banner rendered beneath assigned signatures for a time window. It is created as a draft and does nothing until it is scheduled.

Build it

  1. get_content_schema before authoring content — a campaign's content is the same strict block tree as a signature's draft_content (a stack root whose children are blocks). Adapt the returned example; do not guess the format.
  2. create_marketing_campaign requires name, start_time, end_time (ISO-8601) and time_zone (IANA, e.g. Europe/Paris). Missing one → 422. Optional: content and the targeting fields smart_fields_conditions and signature_template_ids.
  3. preview_marketing_campaign renders the banner to HTML with placeholder values, no tracking. Read it and confirm the layout before scheduling — an empty html means the campaign has no content yet.
  4. update_marketing_campaign is partial (omit = unchanged, content: null clears). status is read-only: it only moves through the lifecycle tools below.

Ship it

ActionToolRefuses when
Activate a draft or paused campaignschedule_marketing_campaign409 if not schedulable (e.g. the end time has passed); 403 if the plan lacks campaigns
Pause a live campaignpause_marketing_campaign409 if not active
Resume a paused oneresume_marketing_campaign409 if not paused; 403 on plan
Deletedelete_marketing_campaignStops an active campaign first

A scheduled campaign goes live immediately if start_time has already passed, otherwise it waits for it. Confirm with the user before scheduling — this puts the banner on outgoing company email.

Target it

  • signature_template_ids scopes the campaign to specific signatures.
  • smart_fields_conditions scopes it by teammate attributes (same OR-of-ANDs shape as signature recipient rules).
  • Leave both empty for workspace-wide.
  • A signature variant can opt out of banners via show_marketing_campaigns on the variant.

Measure it

Pass the campaign's id as marketing_campaign_id to get_analytics_views and get_analytics_clicks for its own views, clicks, and clickthrough rate; group_by: "marketing_campaign" ranks campaigns against each other. get_analytics_events_summary attributes downstream conversion events. See the signature-analytics skill.

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.