skills/analytics-check/SKILL.md
Check PostHog analytics — DAU report across all projects or a single project. Use when the user asks about DAU, traffic, pageviews, analytics, or says 'DAU report'. Covers both portfolio-wide summaries and per-project deep dives.
npx skillsauth add razbakov/skills skills/analytics-checkInstall 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.
Query PostHog analytics for DAU (Daily Active Users) across all tracked projects or a single project.
PostHog has two instances. API keys are in ~/.zshrc:
| Instance | Env Var | Host |
|----------|---------|------|
| EU | POSTHOG_READ_API_KEY | eu.i.posthog.com |
| US | POSTHOG_READ_US_API_KEY | us.i.posthog.com |
The project registry (PostHog IDs, instances, URLs) lives in the project's CLAUDE.md under "PostHog Analytics". Read it to get the current list — don't hardcode project IDs in this skill.
PostHog MCP (mcp__posthog__*) is scoped to a single project (WeDance US). For cross-project queries, always use the curl API.
source ~/.zshrc 2>/dev/null
Read the PostHog Analytics table from the project CLAUDE.md to get project names, IDs, and instances. Skip projects with - as PostHog ID (no tracking set up).
Use the PostHog Query API (/api/projects/<id>/query/) with a TrendsQuery. The legacy /insights/trend/ endpoint is deprecated and returns 403.
curl -s --max-time 20 "https://${instance}.i.posthog.com/api/projects/${project_id}/query/" \
-H "Authorization: Bearer ${api_key}" \
-H "Content-Type: application/json" \
-d '{"query":{"kind":"TrendsQuery","series":[{"event":"$pageview","math":"dau"}],"dateRange":{"date_from":"-7d"}}}'
Response structure: results[0].labels (date strings) and results[0].data (DAU counts).
EU PostHog can be flaky (503 "no healthy upstream"). If a project fails, retry once after a short pause. If it still fails, mark as UNAVAILABLE and continue — don't block the whole report.
Query projects sequentially (not in parallel) to avoid overwhelming the API. Use --max-time 20 to avoid hanging on unresponsive endpoints.
Format all projects in a single table sorted by 7-day average DAU (highest first):
| Project | Apr 2 | Apr 3 | ... | Apr 9 | 7d Avg | |---------|-------|-------|-----|-------|--------| | WeDance v3 | 20 | 21 | ... | 39 | 23 |
After the table, surface signals — not just observations, but routable findings. The point of this step is that a list of numbers is barely useful; what's useful is a short interpretation that someone could act on tomorrow.
End the report with a small action list — one bullet per non-trivial signal, with a clear owner. Owners come from the project/org context (read the project's CLAUDE.md for the agent team or roles); don't hardcode names. Typical mappings:
If the project has no agent team defined, leave the owner as "TBD" or address it to the user.
If the user said "save", or this skill was invoked from a daily/weekly review, persist the full report so other agents can reference it later. Read the project's CLAUDE.md to find the conventional sessions/snapshots directory (commonly ops/sessions/ or sessions/). Filename:
<sessions-dir>/YYYY-MM-DD-portfolio-dau-snapshot.md
Use today's date. Include the per-day matrix, per-project averages, signals, and action items.
When the user asks about a specific project:
/insights/trend/ endpoint. Switch to /query/ with TrendsQuery.--max-time.development
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.
testing
Translate one English blog post into multiple target languages via parallel sub-agents, preserving frontmatter conventions, hero image, and brand voice. Use when the user shares a published English post URL or markdown path and says 'translate it', 'add other languages', 'publish in DE/ES/RU/UK', 'translate to 5 languages', or asks for localized versions of a specific post.
development
Build a complete press kit for an event, product launch, or campaign — in multiple languages — and publish it as a shareable Google Drive folder ready to send to journalists, partners, or a delegate. Produces press releases (typically DE/EN/ES, or configurable), uploads press photos and flyers, creates an Overview document for at-a-glance briefing, and creates a Handover document with pending tasks, contacts, risks, and decisions so press distribution can be delegated. Use when the user says 'I need a press release', 'create a press kit', 'press release in X languages', 'set up a Drive folder for press', 'handover doc for someone else to run press', or has an upcoming announcement that needs to be sent to media. Trigger generously: even partial requests (just a press release, just a flyer folder) typically evolve into the full kit.
development
Track ticket sales for a live event (concert, festival, conference, workshop) with daily snapshots, generate a burndown chart comparing actual sales to ideal-linear targets and tier-cumulative milestones, and report whether the event is on pace. Use when the user asks how sales are going, wants to know if their event will sell out, asks for a daily sales report, wants to set up sales tracking for an upcoming event, or asks about ticket pace / velocity / projection. Trigger generously: phrases like 'how is concert sales going', 'burndown for my event', 'are we going to sell out', 'sales velocity', 'daily ticket chart', 'how many tickets do we need to sell', or any case where the user has a ticketed event with a fixed sales window and wants visibility on pacing.