hogli

hogli is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 75 tokens per session (695 once invoked), scanned A, original, MIT.

A command-line tool for developing PostHog, a software product for product analytics and related tools. It gathers the repository’s development commands, scripts, and process logs behind one interface.

In plain words
What is it for?
It helps run development tasks, start services, inspect process logs, and diagnose local development problems.
Why use it?
It removes the need to remember which individual script or command starts, tests, builds, or diagnoses each part of the project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps run development tasks, start services, inspect process logs, and diagnose local development problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/hogli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/posthog-foss --skill hogli
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hogli

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/hogli/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/hogli)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/hogli"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/hogli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hogli

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/hogli"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/hogli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00695
Opus 5.5 $0.00030 $0.00278
Sonnet 5.5 $0.00015 $0.00139
Haiku 4.5 $0.00007 $0.00069

Measured 10d ago against content hash f10cc581b242, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hogli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/hogli/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hogli - PostHog Developer CLI

Unified CLI for PostHog development. Wraps all repo scripts, bin commands, and tooling behind a single entry point. There is no Makefile — hogli is the equivalent.

Run hogli --help to get the full, current command list. Run hogli <command> --help for any subcommand.

Process logging (for agents/debugging)

Where logs land depends on how the stack was launched:

Detached (hogli up -d) — phrocs writes files under .posthog/.generated/logs/ on every boot:

  • phrocs.log — the daemon's own stdio; the place to look when phrocs died at startup and the phrocs MCP tools are unreachable.
  • <process>.log — per-process output (truncated on each start), where <process> matches the phrocs process key (see bin/mprocs.yaml).
  • hogli doctor:report prints the phrocs.log path and tails its last lines.

TUI with hogli dev:setup --log, then hogli start — adds a tee wrap per process:

  • /tmp/posthog-<process>.log — full stdout+stderr; persists in the generated config until dev:setup is re-run without --log.

When the phrocs MCP is reachable, prefer mcp__phrocs__get_process_logs over grepping files.

Disk full

Preview before deleting anything:

  • hogli doctor:disk --dry-run estimates each cleanup area: caches, build output, Docker images and the Nix store.
  • hogli worktrees:clean --before 7d --mode deps,build --dry-run lists idle worktrees whose dependencies and build output can go.
  • On a devbox, the setting-up-devbox skill covers hogli devbox:cleanup:disk.

Show the user the estimates, then run what they approve with --yes and one --area per approved area. The cleanup commands need --yes or --dry-run in an agent shell, because no terminal answers their prompts.

Ask before these, because they lose data or force a full rebuild:

  • --area docker-volumes drops the local databases.
  • --area rust and --area sccache force a full Rust rebuild.
  • worktrees:clean --mode full removes whole worktrees. Remove only the worktrees this session created.

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +18 lines · +28 tokens per session f10cc581b242
  2. 3mo ago First seen · 37 lines · 47 tokens per session scan A dcf22e56c617

Subscribe to this mod's changes

hogli is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 695 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hogli compared with skills from other repositories

hogli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hogliPostHog/posthog-fossSkill736todayMITA75Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code