2dog skill
Writes a guide for coding agents to the place where they look for it. The guide explains how to work in a live game through 2dog repl exec. It covers the globals, $ paths, timing on the shared engine thread, handlers that run every frame, and how several agents share one game.
bash
2dog skill # .claude/skills/2dog-repl/SKILL.md for Claude Code
2dog skill --codex # a marked section of AGENTS.md
2dog skill --claude --codex # both
2dog skill path/to/MyGame --dry-run| Option | Effect |
|---|---|
--claude | Write .claude/skills/2dog-repl/SKILL.md, which Claude Code loads when a task needs it. This is the default. |
--codex | Write the guide between <!-- 2dog:repl-guide --> markers in AGENTS.md, which Codex and other agents read. Later runs replace only that section. |
--dry-run | Show what would change without writing. |
To refresh the guide after you update the tool, run it again. If the content of a file does not change, the command does not write that file. 2dog new --repl and 2dog add --repl write the Claude skill along with the host. In a running REPL, :help agents prints the same text.