Measure my marketing

From gethouston/houston · View interactive version

Measure my marketing is an AI agent skill from the GitHub repository gethouston/houston. Set up the measurement you need so you're not guessing. Pick what you need: an event tracking plan you can hand a developer, a full A/B test spec with hypothesis and sample size, or a weekly LinkedIn digest showing how your posts performed and who's worth engaging with.

How to use this skill

Skill file

Measure My Marketing

One skill for every measurement job. scope param picks the output shape: a developer-ready event tracking spec, a rigorous A/B test doc, or a weekly LinkedIn performance digest. All grounded in your positioning so you measure what matters to your ideal customer, not vanity numbers.

Parameter: `scope`

User names scope in plain English ("spec event tracking for signup", "A/B test for the pricing page", "LinkedIn digest", "how did my posts do") -> infer. Ambiguous -> ask ONE question naming all three options.

When to use

tracking-plan:

ab-test:

linkedin-digest:

Connections I need

I run external work through Composio. Before this skill runs I check that the categories below are linked. Missing -> I name the category, ask you to connect it from the Integrations tab, stop.

If no analytics tool is connected for tracking-plan I keep going with the spec and call it out, but recommend connecting PostHog or GA4 before implementation.

If no analytics tool is connected for ab-test I stop and ask you to connect one, or paste your baseline conversion rate plus weekly traffic.

If LinkedIn isn't connected for linkedin-digest I stop and ask you to link it from the Integrations tab.

Information I need

I read your marketing context first. For every required field that's missing I ask ONE plain-language question (best modality: connected app > file drop > URL > paste) and wait.

Steps

<!-- houston-workflow:v1 -->

Shared steps (all scopes)

  1. Read positioning doc at context/marketing-context.md. If missing, tell user run set-up-my-marketing-info first and stop.
  2. Read relevant config for scope - details in each branch below.

Branch on `scope`:

`tracking-plan`
  1. Read config: config/analytics.json, config/conversion.json, config/tracking-prefs.json if present. If analytics stack "none", flag tracking can be specced but not implemented - recommend connecting PostHog (free tier) or GA4 via Composio as minimum.
  2. Clarify flow. User name flow - "signup", "activation", "pricing-page -> checkout", "campaign attribution". Map to discrete steps (3-7 typical). Ask ONE question if flow boundary unclear (start event? success event?).
  3. Event-tracking spec - one row per event:
  1. UTM matrix - naming rules so every campaign tag consistent:

Include filled example row per active channel from config/channels.json.

  1. QA checklist - 5-10 items: event fires on expected trigger, dedupe handled, no PII in properties, consent signals respected, UTM params preserved through redirects.
  2. Write atomically to tracking-plans/{slug}.md (*.tmp -> rename). Save naming conventions to config/tracking-prefs.json so future runs reuse.
  3. Append to outputs.json - { id, type: "tracking-plan", title, summary, path, status: "ready", createdAt, updatedAt }.
  4. Summarize to user - number events specced, UTM template to copy, path to plan.
`ab-test`
  1. Read config: config/conversion.json (primary event + baseline rate if set), config/analytics.json (tool powering test).
  2. Clarify variable. If user named change vaguely ("test the pricing page"), ask one question: "Which element - headline, hero image, CTA copy, pricing table layout, trust badges, or something else?" Pick one variable. No multi-variable tests v1.
  3. PICOT hypothesis:

Write as one sentence: "Among {P}, changing {I} vs. {C} will improve {O} by at least {MDE}% within {T}."

  1. Metrics:
  1. Sample-size estimate. Given baseline conversion rate (from config or user paste), target MDE (ask user; default 10% relative), alpha 0.05, power 0.80 - compute required sample per variant using standard two-proportion z-test formula. Show numbers. Translate to "days of traffic" using current volume. If baseline or volume unknown, state assumptions and mark number as estimate.
  2. Duration + stop conditions.
  1. Go / no-go criteria. What result ships variant, what result kills it, what result runs follow-up test.
  2. Implementation notes. Tool executing test, event IDs powering it (link to tracking-plans/ if exists), who QAs before launch.
  3. Write atomically to ab-tests/{slug}.md (*.tmp -> rename).
  4. Append to outputs.json - { id, type: "ab-test", title, summary, path, status: "draft", createdAt, updatedAt }.
  5. Summarize to user - one-sentence hypothesis, required sample, duration, path to doc.
`linkedin-digest`
  1. Read config/platforms.json, config/topics.json. Confirm LinkedIn in active and connectedViaComposio. If not connected, tell user link via Integrations tab and stop - skill needs API.
  2. Pull own-post stats. Run composio search linkedin to find post-stats / list-own-posts tool. Execute. Pull user posts from last 7 days with:

Missing metric -> mark TBD, note likely cause (e.g. "LinkedIn API doesn't expose per-post new-follower delta").

  1. Pull network posts. Same LinkedIn category, find feed-read tool. Pull last 7 days from user connections. Filter for high-engagement (top decile by reactions) OR topical relevance to config/topics.json. Keep top 5-10.
  2. Compute roundup. Produce:
  1. Write to linkedin-digests/{YYYY-MM-DD}.md atomically. Structure:

```markdown

# LinkedIn Digest - week ending {YYYY-MM-DD}

## Your week

## What worked

## Network highlights

1. {Author} - {one-line post summary} ({URL})

Suggested action: {reply / react / ignore} . {why}

2. ...


## Notes

```

  1. Append to outputs.json - new entry, type: "linkedin-digest", path: "linkedin-digests/{YYYY-MM-DD}.md", status: "draft".
  2. Summarize to user - one paragraph: "Week ending {date}: {N} posts, {impressions} impressions, best was {title} ({metric}). {count} network highlights flagged. Full digest at {path}."

What I never do

Outputs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.