Agent skill

Posthog Context

by haacked in haacked/dotfiles

PostHog repo workflow, database access rules, production architecture, SDK repo locations, and the posthog-cli api workflow.

No licenceAuto-check passedDevelopment

Install Posthog Context

skills CLI
$ npx skills add haacked/dotfiles --skill posthog-context -a claude-code

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

GitHub CLI
$ gh skill install haacked/dotfiles posthog-context --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/haacked/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai/skills/posthog-context .claude/skills/posthog-context && 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-context
GitHub stars
134
Token cost
~991 tokens
SKILL.md length
358 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
None found

At a glance

PostHog repo workflow, database access rules, production architecture, SDK repo locations, and the posthog-cli api workflow.

  • Working in posthog/posthog
  • SKILL.md covers posthog-cli, posthog/posthog, Database Access and Production Architecture, plus 1 more section
  • Calls mypy
  • Any PostHog SDK repo

What it does

Posthog Context is an agent skill from haacked/dotfiles. PostHog repo workflow, database access rules, production architecture, SDK repo locations, and the posthog-cli api workflow. Use when working in posthog/posthog or any PostHog SDK repo, and before any PostHog data query or API operation.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with PostHog. The repository describes itself as: My dotfiles and scripts I use on dev machines.

When your agent uses it

  • Working in posthog/posthog
  • Any PostHog SDK repo
  • Before any PostHog data query

Example prompts

  • “/posthog-context”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 50b32d3. 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

    Shell commands in SKILL.md call:

    • mypy

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

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Posthog Context loads about 991 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 358 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

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

“Use posthog-cli api for all PostHog-related data queries and operations. Prefer it over direct MCP tool calls whenever the CLI is available.”

— opening of SKILL.md by haacked
name
posthog-context

Read the full SKILL.md on GitHub

Files

Just SKILL.md in ai/skills/posthog-context of haacked/dotfiles.

Open the folder on GitHubat commit 50b32d3

Compare with similar skills

Posthog Context 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 Context compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Posthog Context this skillhaacked/dotfiles134—~991Automated safety check: PassNone
Create PRUniClipboard/UniClipboard1.8k—~4.6kAutomated safety check: PassAGPL-3.0
Develop ExtensionPostHog/posthog-js613—~2.3kAutomated safety check: PassCustom licence
Autoresolving PR ConflictsPostHog/posthog-foss721—~4.2kAutomated safety check: PassMIT
Investigate MetricPostHog/posthog-foss721—~1.9kAutomated safety check: PassMIT
Upgrade Claude AdapterPostHog/code179—~2.5kAutomated safety check: PassMIT

Similar skills

  • Create PR

    UniClipboard/UniClipboard

    Push the current branch and open a GitHub pull request against main.

    1.8k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Develop Extension

    PostHog/posthog-js

    Official

    Author a new PostHog browser extension, or port a posthog-js v1 extension, against the @posthog/browser-common Client/Extension contract.

    613 GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Autoresolving PR Conflicts

    PostHog/posthog-foss

    Official

    Operating procedure for the conflict-autoresolver agent: sweep open PostHog/posthog PRs that conflict with master, resolve the trivial conflicts (generated artifacts deterministically, source…

    721 GitHub stars~4.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Investigate Metric

    PostHog/posthog-foss

    Official

    Diagnose why a product metric changed (dropped, spiked, or plateaued) by orchestrating breakdowns, actors, paths, lifecycle, retention, and annotations queries.

    721 GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Sync this fork of @anthropic-ai/claude-agent-acp (packages/agent/src/adapters/claude) with a newer upstream release: bump the claude-agent-sdk / @agentclientprotocol/sdk, port upstream bug fixes and…

    179 GitHub stars~2.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Adapter Alignment

    evloghq/evlog

    Twice-monthly check that evlog's drain adapters still send what each provider's own client sends.

    1.9k GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from haacked/dotfiles

All 29 skills in this repo
  • Support

    haacked/dotfiles

    Support hero workflow — start a ticket investigation with auto-organized notes, find existing notes, or generate the weekly highlights log.

    134 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Analyze Permissions

    haacked/dotfiles

    Analyze accumulated permissions and suggest smart wildcard patterns.

    134 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Followup

    haacked/dotfiles

    Capture a follow-up item mid-session in seconds, list open items, close one, or run a review pass.

    134 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Handoff

    haacked/dotfiles

    Write or resume a handoff document so the next agent session can pick up the current work.

    134 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Note

    haacked/dotfiles

    Capture complex technical discoveries into structured, reusable notes.

    134 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Quarterly Planning

    haacked/dotfiles

    Draft quarterly goals for a PostHog team (defaults to Feature Flags), clustering open issues into themes and producing goals in PostHog's HOGS format.

    134 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Posthog Context

What does Posthog Context do?

PostHog repo workflow, database access rules, production architecture, SDK repo locations, and the posthog-cli api workflow. Posthog Context is an agent skill from haacked/dotfiles. PostHog repo workflow, database access rules, production architecture, SDK repo locations, and the posthog-cli api workflow.

When should I use Posthog Context?

Posthog Context fits situations like: working in posthog/posthog; any PostHog SDK repo; before any PostHog data query.

How do I install Posthog Context in Claude Code?

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

How do I install Posthog Context in Codex?

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

Can I use Posthog Context 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 haacked/dotfiles --skill posthog-context -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-context, .gemini/skills/posthog-context, .github/skills/posthog-context and .opencode/skills/posthog-context in your project.

What does Posthog Context need to run?

Going by SKILL.md and its folder, Posthog Context needs the command-line tools its instructions call (mypy). Our summary lists: Python 3.

Does Posthog Context access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Posthog Context 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. Review the folder before installing.

What licence does Posthog Context use?

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

How many tokens does Posthog Context use?

About 991 tokens (SKILL.md is roughly 4k 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 Context?

Skills that share tags, products or a category with Posthog Context: Create PR (UniClipboard/UniClipboard, 1.8k stars), Develop Extension (PostHog/posthog-js, 613 stars), Autoresolving PR Conflicts (PostHog/posthog-foss, 721 stars) and Investigate Metric (PostHog/posthog-foss, 721 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Posthog Context?

haacked (a GitHub user) maintains it in haacked/dotfiles, which has 134 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 6, 2026.

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