Skip to content

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
OptionEffect
--claudeWrite .claude/skills/2dog-repl/SKILL.md, which Claude Code loads when a task needs it. This is the default.
--codexWrite the guide between <!-- 2dog:repl-guide --> markers in AGENTS.md, which Codex and other agents read. Later runs replace only that section.
--dry-runShow 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.

2dog is Free and Libre Open Source under the MIT License.
2dog is not affiliated with or endorsed by the Godot Foundation.
Godot is licensed under the MIT License; the Godot logo is by Andrea Calabró under CC BY 4.0. @icons made by Voxy under the MIT License.
Continuous Integration compute graciously supported by Blacksmith.