hogli - PostHog Developer CLI
SkillDev toolsPostHog developer CLI and repo tooling reference. Use when the user mentions hogli, asks about repo CLI tools, bin scripts, Makefiles, how to run/build/test/lint, or any dev environment commands.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the hogli - PostHog Developer CLI skill
What this skill tells your AI
The instructions your AI receives, as published by posthog/posthog in .agents/skills/hogli/SKILL.md and read by ahel’s review.
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 (seebin/mprocs.yaml).hogli doctor:reportprints thephrocs.logpath 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 untildev:setupis re-run without--log.
When the phrocs MCP is reachable, prefer mcp__phrocs__get_process_logs over grepping files.
Key references
hogli.yaml— command definitions (source of truth)tools/hogli-commands/hogli_commands/— PostHog-specific lazy Click command modulestools/hogli/README.md— framework documentationtools/hogli-commands/README.md— PostHog commands documentation
Signals
- GitHub stars
- 40k
- Forks
- 3k
- Last commit
- Sep 2026
Others that do the same job
Advanced
- Catalog kind
- skill
- Gateway key
hogli- Source
- github.com/posthog/posthog