Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

setting-up-devbox

БесплатноБез исполняемых скриптовНе проверен

Starts, connects to, and troubleshoots a PostHog devbox, a remote Coder workspace for PostHog development that can also run the full stack, through `hogli…

PostHogот PostHog★ 41 278 звёзд на GitHub

Об этом скилле

Setting up a PostHog devbox

A devbox is a Coder workspace on EC2 for PostHog development. Drive it through hogli devbox:* and don't reimplement what those commands do. A new box has the repo at ~/posthog on master, prewarmed dependencies, and Claude Code installed. hogli devbox:<command> --help has the current flags. This skill covers the order of operations and what the help text leaves out.

People use a box in different ways: a shell or editor for general development, a remote target for a local checkout, or a host for the running PostHog app. Work out which one the user wants, and don't start the PostHog stack unless they ask for the app.

Choosing an environment

When the user asks whether a devbox is the right place for the work, compare it with the other two options:

Local worktree Devbox Tasks sandbox
Persistence after stop Everything stays on the user's machine. devbox:stop keeps the disk, including /home. Only devbox:destroy deletes it. The sandbox is destroyed after an idle timeout: 30 minutes for background runs, 1 hour for user-created runs, 10 minutes for PostHog AI runs, and at most 2 hours with a per-task override. Interactive Modal runs snapshot /tmp/workspace before cleanup so a follow-up can restore it. Files outside /tmp/workspace are lost.
Context reset The user decides. The user decides. Agent sessions on the box stay on its disk. Each task starts a new agent session. A follow-up on the same task resumes that session from the snapshot or the run log.
Provisioning steps Create a worktree. Install dependencies or start the stack only when needed. devbox:doctor and devbox:setup once per machine, then devbox:start. One message creates the task. The backend provisions the sandbox, clones the repository, and starts the agent.
MCP reach The MCP servers configured on the user's machine. The MCP servers the user configures in Claude Code on the box. MCP Store installations: shared team installations, plus the user's personal installations for tasks they create. Built-in agent tasks get only the connections granted to that agent. PostHog Desktop can import or relay its own servers into a run.
Preview URL localhost:8010 Stable and PostHog-internal: https://app--<workspace>--<coder-user>.<coder-host>. One URL per run, /api/projects/<team>/tasks/<task>/runs/<run>/preview/, on the dev-stack image. It works only while the sandbox runs.
Cost The user's machine. An EC2 instance. Billing stops on devbox:stop. Sandbox time is metered per run and counts against the team's PostHog Desktop usage limit.
Полный SKILL.md на GitHub

Установить setting-up-devbox в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/access-troubleshooting.mdreferences/sync.md

FAQ

Что делает скилл setting-up-devbox?

Starts, connects to, and troubleshoots a PostHog devbox, a remote Coder workspace for PostHog development that can also run the full stack, through `hogli devbox:*` commands. Use when asked to spin up or resume a devbox, open a shell or editor on it, run a command on it, mirror a local checkout to it (devbox:sync), give each git worktree its own box (devbox:worktree), run the PostHog app on it and share a link, clone, update, share, or free disk on a devbox, store gh or Claude Code tokens for it, or diagnose a failing devbox command (tailnet, DNS, Coder CLI version, SSH). Not for running the stack on the local machine or for changing the Coder template in posthog-cloud-infra.

Как установить скилл setting-up-devbox?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл setting-up-devbox запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить setting-up-devbox с