Opik Analytics Instrumentation
comet-ml/opik
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.
Capture PostHog events, update person properties, read persons, inspect feature flags, test flag evaluation, and run bounded analytics queries through gateway-managed secrets.
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HybridAIOne/hybridclaw posthog --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/posthog .claude/skills/posthog && rm -rf skills-srcUse ~/.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/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .claude/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthogType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HybridAIOne/hybridclaw posthog --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/posthog .agents/skills/posthog && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .agents/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HybridAIOne/hybridclaw posthog --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/posthog .cursor/skills/posthog && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .cursor/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HybridAIOne/hybridclaw.git --path skills/posthog--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HybridAIOne/hybridclaw posthog --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/posthog .gemini/skills/posthog && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .gemini/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HybridAIOne/hybridclaw posthogInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/posthog .github/skills/posthog && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .github/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HybridAIOne/hybridclaw --skill posthog -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HybridAIOne/hybridclaw posthog --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HybridAIOne/hybridclaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/posthog .opencode/skills/posthog && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "posthog" agent skill from https://github.com/HybridAIOne/hybridclaw/tree/main/skills/posthog into .opencode/skills/posthog/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "posthog", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
posthogCapture PostHog events, update person properties, read persons, inspect feature flags, test flag evaluation, and run bounded analytics queries through gateway-managed secrets.
Posthog is an agent skill from HybridAIOne/hybridclaw. Capture PostHog events, update person properties, read persons, inspect feature flags, test flag evaluation, and run bounded analytics queries through gateway-managed secrets.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.
It works with PostHog. The repository describes itself as: Enterprise-ready self-hosted AI assistant runtime with sandboxed execution, secure credentials, approvals, and memory. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3624072. It shows what the files ask for, not the result of running them.
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.
Ships script files (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
us.posthog.comus.i.posthog.comeu.posthog.comeu.i.posthog.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
POSTHOG_PROJECT_TOKENPOSTHOG_PERSONAL_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Posthog loads about 2.6k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 525 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from HybridAIOne/hybridclaw at commit 3624072, republished under its MIT licence (© HybridAIOne). 525 words, ~2,640 tokens.
.claude/skills/posthog/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill for PostHog product analytics work: event capture, person property reads and updates, feature flag inspection, feature flag test evaluation, and bounded insight/HogQL queries.
$identify capture eventUsageTotalsPostHog has two credential rails:
POSTHOG_PROJECT_TOKEN is the public project token used in capture payloads.POSTHOG_PERSONAL_API_KEY is a private bearer credential used for persons,
feature flags, and query endpoints.Never paste either token into chat or helper arguments. The helper emits
<secret:POSTHOG_PROJECT_TOKEN> inside capture JSON and
bearerSecretName: "POSTHOG_PERSONAL_API_KEY" for private APIs, so the gateway
injects credentials server-side.
Recommended setup order:
/admin/secrets and set
POSTHOG_PROJECT_TOKEN and POSTHOG_PERSONAL_API_KEY./chat or TUI fallback:/secret set POSTHOG_PROJECT_TOKEN <project-token>
/secret set POSTHOG_PERSONAL_API_KEY <personal-api-key>
/env set POSTHOG_HOST "https://us.posthog.com"
/env set POSTHOG_INGEST_HOST "https://us.i.posthog.com"
/env set POSTHOG_PROJECT_ID "12345"
/env set POSTHOG_ENVIRONMENT_ID "12345"hybridclaw secret set POSTHOG_PROJECT_TOKEN "<project-token>"
hybridclaw secret set POSTHOG_PERSONAL_API_KEY "<personal-api-key>"
hybridclaw env set POSTHOG_HOST "https://us.posthog.com"
hybridclaw env set POSTHOG_INGEST_HOST "https://us.i.posthog.com"
hybridclaw env set POSTHOG_PROJECT_ID "12345"
hybridclaw env set POSTHOG_ENVIRONMENT_ID "12345"Use the right regional hosts. For PostHog US Cloud, private API calls use
https://us.posthog.com and capture calls use https://us.i.posthog.com. For
EU Cloud, use https://eu.posthog.com and https://eu.i.posthog.com. For
self-hosted deployments, use the self-hosted base URL for both when that is how
the instance is exposed.
plan for natural-language requests when you need to classify read vs
write risk before executing.node skills/posthog/posthog.cjs --format json run ...http-request only when you need to inspect the generated request or
when a runtime exposes the built-in http_request tool but cannot run the
helper against the gateway directly:node skills/posthog/posthog.cjs --format json http-request ...httpRequest object to the built-in http_request
tool in that fallback path. Do not handcraft PostHog API calls from memory.approval-plan first, get explicit operator
confirmation, then rerun the exact helper command with --operator-grant.next, call the next URL
only when the user needs another page.Inspect the helper surface:
node skills/posthog/posthog.cjs --helpPlan a request without contacting PostHog:
node skills/posthog/posthog.cjs --format json plan "Show active flags for checkout"
node skills/posthog/posthog.cjs --format json plan "Capture a trial_started event for user_123"Build an approval plan for a capture write:
node skills/posthog/posthog.cjs --format json approval-plan capture-event \
--event trial_started \
--distinct-id user_123 \
--properties-json '{"plan":"pro"}'Capture a single event after explicit approval:
node skills/posthog/posthog.cjs --format json run capture-event \
--event trial_started \
--distinct-id user_123 \
--properties-json '{"plan":"pro"}' \
--operator-grant
node skills/posthog/posthog.cjs --format json http-request capture-event \
--event trial_started \
--distinct-id user_123 \
--properties-json '{"plan":"pro"}' \
--operator-grantUpdate person properties after explicit approval:
node skills/posthog/posthog.cjs --format json http-request identify-person \
--distinct-id user_123 \
--set-json '{"company":"Acme GmbH","plan":"pro"}' \
--operator-grantRead persons:
node skills/posthog/posthog.cjs --format json run list-persons \
--environment-id 12345 \
--search acme \
--limit 50
node skills/posthog/posthog.cjs --format json http-request get-person \
--environment-id 12345 \
--person-id 018f6c8f-...Read feature flags and test evaluation:
node skills/posthog/posthog.cjs --format json http-request list-feature-flags
node skills/posthog/posthog.cjs --format json http-request get-feature-flag \
--flag-id 42
node skills/posthog/posthog.cjs --format json http-request test-feature-flag \
--flag-id 42 \
--distinct-id user_123Run an analytics query:
node skills/posthog/posthog.cjs --format json http-request query \
--hogql "select event, count() from events where timestamp > now() - interval 7 day group by event order by count() desc limit 10"Use --query-json for PostHog query payloads beyond HogQL:
node skills/posthog/posthog.cjs --format json http-request query \
--query-json '{"kind":"TrendsQuery","series":[{"kind":"EventsNode","event":"$pageview"}]}'Interpret a saved http_request error:
node skills/posthog/posthog.cjs --format json explain-error --payload-file /tmp/posthog-error.json© HybridAIOne, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/posthog of HybridAIOne/hybridclaw.
Open the folder on GitHubat commit 3624072
Posthog 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Posthog this skillHybridAIOne/hybridclaw | 158 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Opik Analytics Instrumentationcomet-ml/opik | 22k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| C15tc15t/c15t | 1.9k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Define Feature Flagmacro-inc/macro | 4.6k | — | ~780 | Automated safety check: Pass | AGPL-3.0 | |
| Soku CLIAbout-Intelligence/soku-cli | 305 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Compare Array Bundle SizePostHog/posthog-js | 628 | — | ~599 | Automated safety check: Pass | Custom licence |
comet-ml/opik
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.
c15t/c15t
Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.
macro-inc/macro
Define a frontend feature flag with defineFlag and wire its readers.
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.
PostHog/posthog-js
Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.
PostHog/posthog
Author useful, low-noise log alerts on services in a PostHog project.
HybridAIOne/hybridclaw
Use Hermes3000 to plan, draft, revise, save, check consistency, and export long-form manuscripts through the Hermes3000 AI writing portal API.
HybridAIOne/hybridclaw
Plan, script, render, and stitch Manim Community Edition videos in Python.
HybridAIOne/hybridclaw
Create and update SKILL.md-based skills with strong trigger metadata, lean docs, and reliable init, validate, package, and publish workflows.
HybridAIOne/hybridclaw
Create, edit, inspect, and analyze .xlsx spreadsheets and Excel workbooks.
HybridAIOne/hybridclaw
Create and revise editable .excalidraw diagrams as Excalidraw JSON for architecture diagrams, flowcharts, sequence diagrams, concept maps, and other hand-drawn explainers.
HybridAIOne/hybridclaw
Manage Google Ads accounts with safe GAQL reporting, campaign planning, guarded mutations, and gateway-proxied REST API calls.
Works with
Capture PostHog events, update person properties, read persons, inspect feature flags, test flag evaluation, and run bounded analytics queries through gateway-managed secrets. Posthog is an agent skill from HybridAIOne/hybridclaw. Capture PostHog events, update person properties, read persons, inspect feature flags, test flag evaluation, and run bounded analytics queries through gateway-managed secrets.
Run `npx skills add HybridAIOne/hybridclaw --skill posthog -a claude-code`. Or copy the skill folder (skills/posthog in HybridAIOne/hybridclaw) into .claude/skills/posthog in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HybridAIOne/hybridclaw --skill posthog -a codex`. Or copy the skill folder (skills/posthog in HybridAIOne/hybridclaw) into .agents/skills/posthog in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HybridAIOne/hybridclaw --skill posthog -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, .gemini/skills/posthog, .github/skills/posthog and .opencode/skills/posthog in your project.
Going by SKILL.md and its folder, Posthog needs JavaScript for the scripts in its folder, the command-line tools its instructions call (node) and credentials named POSTHOG_PROJECT_TOKEN and POSTHOG_PERSONAL_API_KEY. Our summary lists: A credential in POSTHOG_PROJECT_TOKEN; A credential in POSTHOG_PERSONAL_API_KEY.
SKILL.md names 4 domains. In commands or code: us.posthog.com, us.i.posthog.com, eu.posthog.com and eu.i.posthog.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
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. Review the folder before installing.
Posthog is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Posthog: 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.
HybridAIOne (a GitHub organization) maintains it in HybridAIOne/hybridclaw, which has 158 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 9, 2026.
Source: HybridAIOne/hybridclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.