Agent skill

Posthog Analytics

by SylphAI-Inc in SylphAI-Inc/skills

Automate PostHog dashboard creation, sync, update, and export via API

No licenceAuto-check passed

Install Posthog Analytics

skills CLI
$ npx skills add SylphAI-Inc/skills --skill posthog-analytics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SylphAI-Inc/skills posthog-analytics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SylphAI-Inc/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/posthog-analytics .claude/skills/posthog-analytics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
posthog-analytics
GitHub stars
111
Token cost
~1.2k tokens
SKILL.md length
348 words
Files
5 (incl. scripts)
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Automate PostHog dashboard creation, sync, update, and export via API

  • Works in 5 steps: Write Your Config → Create Dashboard → Add New Insights (Sync) → …
  • SKILL.md covers Prerequisites, Quick Start: Blog Analytics…, Config Reference and Environment Variables, plus 2 more sections
  • Runs Shell scripts from its folder; calls curl, jq and brew; reaches us.posthog.com and us.i.posthog.com; needs POSTHOG_PERSONAL_API_KEY

What it does

Posthog Analytics is an agent skill from SylphAI-Inc/skills. Automate PostHog dashboard creation, sync, update, and export via API

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `dashboard_schema.json`, `examples/blog_dashboard.json` and `scripts/posthog_sync.sh`).

It works with PostHog. The repository describes itself as: Community-shareable skills for AdaL — the automation-first agent harness.

Example prompts

  • “/posthog-analytics”

Requirements

  • A Bash shell
  • A credential in POSTHOG_PERSONAL_API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Write Your Config
  2. Create Dashboard
  3. Add New Insights (Sync)
  4. Update Existing Insights
  5. Export Existing Dashboard

What it can do on your machine

Read from SKILL.md and the folder at commit 51a5abd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl
    • jq
    • brew
    • apt

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • us.posthog.com
    • us.i.posthog.com

    Also links to:

    • posthog.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • POSTHOG_PERSONAL_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Posthog Analytics loads about 1.2k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 348 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 348 words (~1,166 tokens).

“Automate PostHog dashboard creation, sync, update, and export via API.”

— opening of SKILL.md by SylphAI-Inc
name
posthog-analytics
author
SylphAI-Inc
version
1.1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts) in skills/posthog-analytics of SylphAI-Inc/skills.

  • SKILL.md
  • dashboard_schema.json
  • examples/blog_dashboard.json
  • scripts/posthog_sync.sh
  • scripts/test_posthog_sync.sh

Open the folder on GitHubat commit 51a5abd

Compare with similar skills

Posthog Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Posthog Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Posthog Analytics this skillSylphAI-Inc/skills111—~1.2kAutomated safety check: PassNone
Opik Analytics Instrumentationcomet-ml/opik22k—~4.4kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Define Feature Flagmacro-inc/macro4.6k—~780Automated safety check: PassAGPL-3.0
Soku CLIAbout-Intelligence/soku-cli305—~2.4kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js628—~599Automated safety check: PassCustom licence

Similar skills

  • Shows how to add product analytics events to Opik's frontend, Java backend and Python SDK, all reporting through Segment to PostHog with an opik_ name prefix.

    22k GitHub stars~4.4k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Define Feature Flag

    macro-inc/macro

    Define a frontend feature flag with defineFlag and wire its readers.

    4.6k GitHub stars~780 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Soku CLI

    About-Intelligence/soku-cli

    Guides an agent through the soku command line tool for ads, GA4 and PostHog data reads, ads writes, SEO hosting, automations, files and skill management.

    305 GitHub stars~2.4k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    628 GitHub stars~599 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Authoring Log Alerts

    PostHog/posthog

    Official

    Author useful, low-noise log alerts on services in a PostHog project.

    40k GitHub stars~3k tokensUpdated today
    Auto-check passed

More from SylphAI-Inc/skills

All 8 skills in this repo
  • Glowmotion

    SylphAI-Inc/skills

    Create premium animated technical diagrams as single self-contained HTML+SVG files — flowcharts whose connectors visibly flow and architecture diagrams where requests travel as glowing comet dots…

    111 GitHub stars~1.7k tokensUpdated 16 days ago
    Auto-check passed
  • Codegraph

    SylphAI-Inc/skills

    Turn any codebase into an explorable interactive graph so a developer can understand it fast.

    111 GitHub stars~3.5k tokensUpdated 16 days ago
    Auto-check passed
  • Finger Frame AI

    SylphAI-Inc/skills

    Generate a finished cyberpunk-styled finger-frame effect video from a local clip using Gemini Omni restyling, MediaPipe hand tracking, and FFmpeg compositing.

    111 GitHub stars~1.2k tokensUpdated 16 days ago
    Auto-check passed
  • Model Office

    SylphAI-Inc/skills

    Launches "Model Office" — a live browser dashboard that visualizes multi-model job routing as a blocky Lego/Minecraft-style pixel office.

    111 GitHub stars~1.5k tokensUpdated 16 days ago
    Auto-check passed
  • Create Skill

    SylphAI-Inc/skills

    Guide users through creating AdaL skills by clarifying the skill type (personal, project, or public plugin) and scaffolding the appropriate structure.

    111 GitHub stars~1.2k tokensUpdated 16 days ago
    Auto-check passed
  • Clone Anywebsite

    SylphAI-Inc/skills

    Clone any website's landing page with pixel-perfect fidelity.

    111 GitHub stars~10k tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about Posthog Analytics

What does Posthog Analytics do?

Automate PostHog dashboard creation, sync, update, and export via API. Posthog Analytics is an agent skill from SylphAI-Inc/skills.

How do I install Posthog Analytics in Claude Code?

Run `npx skills add SylphAI-Inc/skills --skill posthog-analytics -a claude-code`. Or copy the skill folder (skills/posthog-analytics in SylphAI-Inc/skills) into .claude/skills/posthog-analytics in your project. Claude Code loads it when a task matches its description.

How do I install Posthog Analytics in Codex?

Run `npx skills add SylphAI-Inc/skills --skill posthog-analytics -a codex`. Or copy the skill folder (skills/posthog-analytics in SylphAI-Inc/skills) into .agents/skills/posthog-analytics in your project. Codex loads it when a task matches its description.

Can I use Posthog Analytics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SylphAI-Inc/skills --skill posthog-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/posthog-analytics, .gemini/skills/posthog-analytics, .github/skills/posthog-analytics and .opencode/skills/posthog-analytics in your project.

What does Posthog Analytics need to run?

Going by SKILL.md and its folder, Posthog Analytics needs a shell for the scripts in its folder, the command-line tools its instructions call (curl, jq, brew and apt) and credentials named POSTHOG_PERSONAL_API_KEY. Our summary lists: A Bash shell; A credential in POSTHOG_PERSONAL_API_KEY.

Does Posthog Analytics access the network?

SKILL.md names 3 domains. In commands or code: us.posthog.com and us.i.posthog.com; the agent is likely to contact these when it follows the instructions. As links in the text: posthog.com. This is read from the text; nothing was executed.

Is Posthog Analytics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Posthog Analytics use?

No licence was found for Posthog Analytics or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Posthog Analytics use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Posthog Analytics?

Skills that share tags, products or a category with Posthog Analytics: Opik Analytics Instrumentation (comet-ml/opik, 22k stars), C15t (c15t/c15t, 1.9k stars), Define Feature Flag (macro-inc/macro, 4.6k stars) and Soku CLI (About-Intelligence/soku-cli, 305 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Posthog Analytics?

SylphAI-Inc (a GitHub organization) maintains it in SylphAI-Inc/skills, which has 111 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 22, 2026.

Source: SylphAI-Inc/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.