> 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.
npx skills add https://github.com/PostHog/posthog --skill hogli
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.
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.
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 documentationExecute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Comprehensive GitHub code review with AI-powered swarm coordination
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.
GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and all GitHub operations from the command line.
GitHub CLI - manage repositories, issues, pull requests, actions, releases, and more from the command line.
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create acti
Take posthog/hogli from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.