npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

godot-kit

v1.0.1773100900

Published

Agentic Godot 4.x development boilerplate - REPL/CLI debugging, gdtoolkit, DAP, scene inspector, profiler

Downloads

721

Readme

godot-kit

Agentic Godot 4.x development boilerplate. Provides CLI tools, a remote REPL/debugger bridge, an EditorPlugin HTTP API, a game runtime HTTP API, GDScript linting/formatting, and auto-installs skill files for AI coding agents (Claude Code, Cursor, Windsurf, Aider, Continue).

Demo

Run the capability demo to verify everything works on your system:

node demo.js
# or
npm run demo
# or
godot-dev demo

Expected output (all sections pass):

[1/8] Engine Detection      PASS  Godot 4.6-stable found
[2/8] Project Scaffolding   PASS  16 files created
[3/8] Protocol Layer        PASS  7/7 variant types encode/decode correctly
[4/8] Compat Checker        PASS  6 Godot 3.x deprecated patterns detected
[5/8] Skill Installation    PASS  ~/.claude/skills/godot-dev.md written
[6/8] CLI Commands          PASS  10/10 CLI commands present in --help
[7/8] Headless Run          PASS  Godot ran headlessly, exit 0

Install

npm install -g godot-kit
npx godot-kit <my-project>    # scaffold new project
godot-dev download-engine     # download Godot 4.x
godot-dev setup               # install gdtoolkit + agent skills

CLI Commands

Launch & Debug (Debugger port 6007)

godot-dev launch [scene]      # launch game with remote debugger
godot-dev repl                # interactive REPL via debugger
godot-dev inspect             # dump scene tree (one-shot)
godot-dev logs                # stream Godot output

Code Quality

godot-dev lint [files...]     # GDScript lint via gdtoolkit
godot-dev format [files...]   # GDScript format
godot-dev validate            # validate all .gd file syntax

Test / Export / Watch

godot-dev test <script.gd>    # run GDScript headlessly, report pass/fail
godot-dev export <preset>     # export project by preset name
godot-dev watch               # watch .gd files, hot-reload running game

Editor HTTP API (port 6008)

Requires godot_kit_bridge EditorPlugin (scaffolded automatically). Open the Godot editor first.

godot-dev editor tree                            # scene tree JSON
godot-dev editor select <node-path>              # select node in editor
godot-dev editor run-script <file.gd>            # run GDScript in editor
godot-dev editor open <res://scene.tscn>         # open scene
godot-dev editor save                            # save current scene
godot-dev editor files                           # list project files
godot-dev editor property <node> <prop> <val>    # set node property
godot-dev editor create <type> <parent> <name>   # create node
godot-dev editor delete <node-path>              # delete node
godot-dev editor signals                         # list signals
godot-dev editor autoloads                       # list autoloads

Game Runtime HTTP API (port 6009)

Injected via ReplBridge autoload. Start the game with godot-dev launch.

godot-dev game tree                              # runtime scene tree
godot-dev game eval "<GDScript expression>"      # evaluate expression
godot-dev game globals                           # list autoloads + root children
godot-dev game fps                               # FPS + performance metrics
godot-dev game set <node-path> <prop> <val>      # set node property at runtime
godot-dev game call <node-path> <method> [args]  # call method on node
godot-dev game node <node-path>                  # get node info
godot-dev game pause                             # toggle pause
godot-dev game reload                            # reload current scene
godot-dev game input                             # show pause/input state

Agent Skill Installation

godot-dev setup and npx godot-kit automatically install skill/rule files for detected AI coding agents:

| Agent | File | |-------|------| | Claude Code | ~/.claude/skills/godot-dev.md | | Cursor | .cursor/rules/godot-dev.mdc | | Windsurf | .windsurf/rules/godot-dev.md | | Aider | .aider.conf.yml | | Continue | .continue/config.json |

Scaffolded Project Structure

my-project/
  project.godot                        # Godot project config
  scenes/main.tscn                     # main scene
  scripts/main.gd                      # main script
  addons/
    repl_bridge/
      repl_bridge.gd                   # autoload: game runtime HTTP (6009) + debugger bridge
      plugin.cfg
    godot_kit_bridge/
      plugin.gd                        # EditorPlugin: starts HTTP server (6008)
      editor_http.gd                   # REST API routes for editor control
      plugin.cfg
  .vscode/                             # VSCode + Godot Tools config
  .cursor/rules/godot-dev.mdc          # Cursor AI rules
  .windsurf/rules/godot-dev.md         # Windsurf AI rules

Ports

| Service | Port | |---------|------| | Remote Debugger | 6007 | | Editor HTTP API | 6008 | | Game Runtime HTTP | 6009 | | LSP | 6005 | | DAP | 6006 |

Common Workflows

Inspect running game

godot-dev launch &
sleep 2
godot-dev game tree
godot-dev game eval "Engine.get_frames_per_second()"

Set property at runtime

godot-dev game set /root/Main speed 200

Run a test

godot-dev test tests/test_math.gd

Hot reload on file change

godot-dev launch &
godot-dev watch

Requirements

  • Node.js 18+
  • Python + pip (for gdtoolkit)
  • Godot 4.x (godot-dev download-engine)