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.
npx skills add PostHog/posthog-foss --skill hogligit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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.
[](https://agentmods.dev/skills/posthog/posthog-foss/hogli)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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 (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.
Disk full
Preview before deleting anything:
hogli doctor:disk --dry-runestimates each cleanup area: caches, build output, Docker images and the Nix store.hogli worktrees:clean --before 7d --mode deps,build --dry-runlists idle worktrees whose dependencies and build output can go.- On a devbox, the
setting-up-devboxskill covershogli 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-volumesdrops the local databases.--area rustand--area sccacheforce a full Rust rebuild.worktrees:clean --mode fullremoves whole worktrees. Remove only the worktrees this session created.
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.
- 10d ago Changed · +18 lines · +28 tokens per session f10cc581b242
- 3mo ago First seen · 37 lines · 47 tokens per session scan A dcf22e56c617
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.
hogli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hogliPostHog/posthog-foss | Skill | 736 | today | MIT | A | 75 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 333k | 7d ago | MIT | A | 21 | Claude Code |