hogli
БесплатноБез исполняемых скриптовНе проверенPostHog developer CLI and repo tooling reference. Use when the user mentions hogli, asks about repo CLI tools, bin scripts, Makefiles, how to…
от PostHog★ 41 278 звёзд на 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.
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
Установить hogli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hogli?
PostHog 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. Also use when the disk is full, a command fails with "No space left on device", or the user asks to free disk space.
Как установить скилл hogli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hogli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic