.claude/skills/posthog-funnel/SKILL.md
Full product funnel stats: social posts, pageviews, CTA clicks, bookings. Use when: 'funnel stats', 'product stats', 'how are cyrano/pieline doing', 'posthog funnel', 'project stats', 'boost hop', 'boost hop funnel'.
npx skillsauth add m13v/social-autoposter posthog-funnelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Full marketing funnel per project: social posts -> pageviews -> CTA clicks -> Cal.com bookings.
/posthog-funnel # all products
/posthog-funnel cyrano # single product
/posthog-funnel --days 7 # custom lookback
Run the unified stats script:
python3 ~/social-autoposter/scripts/project_stats.py [--project NAME] [--days 30] [--quiet]
This queries three data sources in one shot:
| Source | What | Connection |
|--------|------|-----------|
| Posts DB (DATABASE_URL) | Social post counts, engagement, platform breakdown | ~/social-autoposter/.env |
| PostHog API (POSTHOG_PERSONAL_API_KEY) | Pageviews, CTA clicks by domain | Project 330744 |
| Bookings DB (BOOKINGS_DATABASE_URL) | Cal.com bookings by client | Separate Neon DB |
| Product | Main Domain | SEO Landing Pages | Cal slug |
|---------|------------|-------------------|----------|
| Cyrano | cyrano.systems | apartment-security-cameras.com | cyrano |
| PieLine | getpieline.com | aiphoneordering.com | pieline |
| Fazm | fazm.ai | — | fazm |
| S4L | s4l.ai | — | s4l |
Domains are read from config.json -> projects[].website and projects[].landing_pages.base_url.
Two keys, same project (330744):
NEXT_PUBLIC_POSTHOG_KEY (phc_...) — project ingestion key, writes events from browsers and webhooksPOSTHOG_PERSONAL_API_KEY (phx_...) — personal API key, reads/queries dataThe script prints per-project:
Full funnel: social posts -> SEO pages created -> pageviews -> CTA clicks -> bookings
When reporting results to the user, the Project Highlights table MUST include all funnel columns:
| Project | Posts | Engagement | SEO Pages | Pageviews | CTA Clicks | CTR | Bookings | |---------|-------|-----------|-----------|-----------|------------|-----|----------|
Never omit SEO Pages or CTA Clicks from the summary table — these are core funnel metrics.
tools
End-to-end workflow for creating, rebuilding, or enhancing a client's website. Covers SEO audit, content extraction, Next.js scaffolding, real image/video assets, structured data, SEO guide pages, component injection, analytics, deployment, and dashboard registration. Includes concrete design system blueprints with exact Tailwind classes, component templates, and section layouts. Use when: 'create client website', 'rebuild website', 'recreate site', 'client landing page', 'SEO pages for client', or when onboarding a new client who needs a web presence.
tools
End-to-end workflow for creating, rebuilding, or enhancing a client's website. Covers SEO audit, content extraction, Next.js scaffolding, real image/video assets, structured data, SEO guide pages, component injection, analytics, deployment, and dashboard registration. Includes concrete design system blueprints with exact Tailwind classes, component templates, and section layouts. Use when: 'create client website', 'rebuild website', 'recreate site', 'client landing page', 'SEO pages for client', or when onboarding a new client who needs a web presence.
tools
Set up social-autoposter for a new user. Interactive wizard that installs via npm, creates the database, configures accounts, verifies browser logins, and optionally sets up scheduled automation. Use when: 'set up social autoposter', 'install social autoposter', 'configure social posting'.
testing
Automate social media posting across Reddit, X/Twitter, LinkedIn, and Moltbook. Find threads, post comments, create original posts, track engagement stats. Use when: 'post to social', 'social autoposter', 'find threads to comment on', 'create a post', 'audit social posts', 'update post stats', or after completing any task (mandatory per CLAUDE.md).