agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/skills/pull-funnel-data/SKILL.md

pull-funnel-data

Skill27 starsChanged 8 months agoMITView on GitHub

Repeatable skill for pulling checkout funnel analytics data from all sources into a readable local report. This pulls live Plausible visitors, source attribution, and checkout funnel metrics for the last 7 days, then stores the result in the social analytics SQLite store. Use trafficQuality.external for demand analysis. Treat raw event totals as diagnostic input only; they may include internal, test, bot, or low-confidence direct traffic. Look for: - External Visitors - Data Quality - Clean Visitors - Plausible Export -…

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any pricing/checkout changes

    line 9
  2. Very specific:

    Use trafficQuality.external for demand analysis.

    line 32
  3. Distinctive:

    Use the Stripe connector to inspect account, products, prices, subscriptions, charges, invoices, and search results.

    line 54
  4. Very specific:

    All zeros from Plausible: check PLAUSIBLE_API_KEY and PLAUSIBLE_SITE_ID.

    line 73
  5. Very specific:

    No local telemetry: check .thumbgate/telemetry-pings.jsonl and the active feedback directory.

    line 74
  6. Very specific:

    Purchase count double-counts: verify success-page code does not emit Checkout Pro Purchase Completed.

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Skill: Pull Funnel Data

Repeatable skill for pulling checkout funnel analytics data from all sources into a readable local report.

When to use

  • CEO asks "why aren't we making money?" or "what does the funnel look like?"
  • Before any pricing/checkout changes
  • Weekly revenue check-in

Steps

1. Run the live Plausible poller

cd /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo
npm run social:poll:plausible

This pulls live Plausible visitors, source attribution, and checkout funnel metrics for the last 7 days, then stores the result in the social analytics SQLite store.

2. Read local first-party telemetry quality

cd /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo
node -e "const {getFeedbackPaths}=require('./scripts/feedback-loop'); const {getTelemetryAnalytics}=require('./scripts/telemetry-analytics'); const {FEEDBACK_DIR}=getFeedbackPaths(); console.log(JSON.stringify(getTelemetryAnalytics(FEEDBACK_DIR,{window:'30d'}).trafficQuality,null,2));"

Use trafficQuality.external for demand analysis. Treat raw event totals as diagnostic input only; they may include internal, test, bot, or low-confidence direct traffic.

3. Print the local operational dashboard

cd /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo
node scripts/dashboard.js

Look for:

  • External Visitors
  • Data Quality
  • Clean Visitors
  • Plausible Export
  • PostHog Export
  • GA4 Export
  • Visitor Paths

4. For Stripe truth

Use the Stripe connector to inspect account, products, prices, subscriptions, charges, invoices, and search results. Do not count Igor's own test purchase as commercial revenue.

Event name reference

These are the canonical Plausible event names fired by the checkout pipeline:

StageEvent NameSource
CTA clickpricing_cta_clickClient-side (pricing.html onclick)
Checkout viewCheckout Pro ViewedServer-side (plausible-server-events.js)
Email submitCheckout Pro Email SubmittedServer-side
Stripe redirectCheckout Pro Stripe Redirect StartedServer-side
PurchaseCheckout Pro Purchase CompletedServer-side only (billing.js Stripe webhook)
Success confirmationCheckout Pro Success Page ConfirmedClient-side success page confirmation

Troubleshooting

  • All zeros from Plausible: check PLAUSIBLE_API_KEY and PLAUSIBLE_SITE_ID.
  • No local telemetry: check .thumbgate/telemetry-pings.jsonl and the active feedback directory.
  • Raw local telemetry looks high but Stripe is zero: inspect trafficQuality; internal/test traffic may be polluting the raw count.
  • Purchase count double-counts: verify success-page code does not emit Checkout Pro Purchase Completed; only the webhook should emit that canonical purchase event.

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.