Agent skill

Godot Wechat Minigame Adapter

by godothub in godothub/godot-minigame

Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.

MITAuto-check passedGame Development

Install Godot Wechat Minigame Adapter

skills CLI
$ npx skills add godothub/godot-minigame --skill godot-wechat-minigame-adapter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install godothub/godot-minigame godot-wechat-minigame-adapter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/godothub/godot-minigame.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills .claude/skills/godot-wechat-minigame-adapter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
godot-wechat-minigame-adapter
GitHub stars
187
Token cost
~1.5k tokens
SKILL.md length
630 words
Files
58 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.

  • Works in 5 steps: Verify the Target → Apply the Public Bundle → Vendor the Runtime Shell → …
  • The user wants to port official Godot to WeChat Mini Game
  • SKILL.md covers Supported Base, Start Mode, Hard Rules and Workflow, plus 3 more sections
  • Runs JavaScript scripts from its folder; calls git, python and node

What it does

Godot Wechat Minigame Adapter is an agent skill from godothub/godot-minigame. Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout. Use when the user wants to port official Godot to WeChat Mini Game, refresh a nearby 4.6-based port, or inspect the shipped patch/source bundle for WXMEMFS, wx.request, audio cleanup, display/input, WXGLX dual-path rendering, .wasm.br, and wx.exitMiniProgram. This skill is version-locked to the bundled upstream base and must not be described as a generic “Godot 4.x” patch dump.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 65 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/min-runtime/godot-loader.js` and `assets/min-runtime/godot-sdk.js`).

It sits in Game Development, covering Game development and Messaging and chat bots. It works with Godot, WeChat and WebAssembly. The repository describes itself as: Godot 4 微信小游戏导出插件,使用 Release 模板分发与版本适配。 The licence is MIT.

When your agent uses it

  • The user wants to port official Godot to WeChat Mini Game
  • Refresh a nearby 4.6-based port
  • Inspect the shipped patch/source bundle for WXMEMFS
  • WXGLX dual-path rendering

Example prompts

  • “Godot 4.x”
  • “/godot-wechat-minigame-adapter”

Requirements

  • Python 3
  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Verify the Target
  2. Apply the Public Bundle
  3. Vendor the Runtime Shell
  4. Build and Package
  5. Validate

What it can do on your machine

Read from SKILL.md and the folder at commit 0992771. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • python
    • node
    • sh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Godot Wechat Minigame Adapter loads about 1.5k tokens when it runs, and up to ~8k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 630 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~129
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from godothub/godot-minigame at commit 0992771, republished under its MIT licence (© godothub). 630 words, ~1,521 tokens.

Download SKILL.mdSave it as .claude/skills/godot-wechat-minigame-adapter/SKILL.md (or your agent's skills folder). This skill also uses 57 other files; get the full folder from GitHub.
name
godot-wechat-minigame-adapter
description
Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout. Use when the user wants to port official Godot to WeChat Mini Game, refresh a nearby 4.6-based port, or inspect the shipped patch/source bundle for WXMEMFS, `wx.request`, audio cleanup, display/input, WXGLX dual-path rendering, `.wasm.br`, and `wx.exitMiniProgram`. This skill is version-locked to the bundled upstream base and must not be described as a generic “Godot 4.x” patch dump.

Godot WeChat Minigame Adapter

This skill is an open-source, self-contained adapter kit. It must work from:

  • an official Godot checkout at the bundled base commit
  • this skill directory

Do not rely on any private donor repo. If the target repo is not aligned to the bundled base, say that clearly and switch to a delta-refresh workflow instead of claiming drop-in support.

Supported Base

  • Primary supported upstream: origin/4.6 at commit a16e481cf424f8e39dc2cdea1a6bdc1e309acdc1
  • Public bundle id: godot-4.6.2-rc-a16e481cf4

Read references/compatibility-matrix.md before editing if the target is not exactly on that base.

Start Mode

Pick one mode before editing:

  1. Exact-base apply

    • Recommended.
    • The target repo is an official Godot checkout at a16e481cf424f8e39dc2cdea1a6bdc1e309acdc1.
    • Run the bundled apply script first.
  2. Near-base refresh

    • The target repo is close to the bundled base, but not exact.
    • Use the bundled sources and patches as the public source of truth.
    • Expect manual conflict resolution and replay only after checking references/recent-commit-deltas.md.

Hard Rules

  • Treat patches/ and sources/ in this skill as the authoritative public package.
  • Apply core first. Optional modules come later.
  • Do not pull missing code from C:\toolkit\godot4-custom or any other machine-local repo.
  • Do not describe this skill as “supports all Godot 4.x” or “works on any 4.6 build” unless you actually verified that target.
  • Keep donor-only features out of the default public path.
  • Do not infer WXGLX capability from godot-loader.js. The engine must be built with the GLX library and engine-side integration before the loader may select wxwebgl2.
  • Pin one rendering mode before the first canvas context is created. Never switch between WXGLX and standard WebGL during a running session.

Workflow

1. Verify the Target
  • Confirm the repo root and current commit:
    powershell
    git rev-parse HEAD
    git status --short
  • If the target is on the supported base, use exact-base apply.
  • If not, state the mismatch and read references/compatibility-matrix.md.
2. Apply the Public Bundle

Run from anywhere:

powershell
python <skill-dir>\scripts\apply_godot_patchset.py <target-repo>

Useful flags:

  • --include-optional audio-worker
  • --include-optional dev-types
  • --allow-base-mismatch
  • --allow-dirty

The script copies the bundled public source files, then applies the bundled patch series.

3. Vendor the Runtime Shell

If the downstream minigame host project still expects the old external SDK globals:

powershell
python <skill-dir>\scripts\install_min_runtime.py <dest-dir>

Then load:

  1. godot-sdk.js
  2. godot-loader.js
  3. generated godot.js
Show full SKILL.md (280 more words)Show less
4. Build and Package

Run from the target Godot repo root:

powershell
scons platform=web target=template_release threads=no wasm_simd=no
node <skill-dir>\scripts\godot_process.js
cmd /c <skill-dir>\scripts\compress_wasm.bat

For a forward-ported source tree that already contains the complete WXGLX engine integration described in references/wxglx-adaptation.md:

powershell
scons platform=web target=template_release threads=no wasm_simd=no use_wx_glx=yes
cmd /c <skill-dir>\scripts\compress_wasm.bat

Do not add use_wx_glx=yes to the version-locked 4.6 bundle unless its manifest also ships the GLX static library and every engine-side integration point.

On Unix-like shells:

bash
sh <skill-dir>/scripts/compress_wasm.sh
5. Validate
  • Read references/validation-checklist.md.
  • For WXGLX-capable builds, also read and run the dual-path checks in references/wxglx-adaptation.md.
  • Do not call the port complete until the runtime shell, WXMEMFS persistence, large fetches, audio replay, display/input, and exit path all pass.

Package Layout

  • patches/godot-4.6.2-rc-a16e481cf4/
    • Version-locked patch bundle for the supported upstream base.
  • sources/godot-4.6.2-rc-a16e481cf4/
    • Public source files copied into the target repo before patch application.
  • assets/min-runtime/
    • Minimal replacement for the old external godot-minigame-sdk.

Read references/migration-modules.md for the exact core vs optional module split.

References

  • references/compatibility-matrix.md
    • Supported base, near-base policy, and intentionally excluded donor features.
  • references/migration-modules.md
    • Public package map: which files are shipped as source, which ship as patch, and which are optional.
  • references/recent-commit-deltas.md
    • Recent deltas already baked into the bundled base, plus what to replay when moving forward from it.
  • references/runtime-shell.md
    • The minimal runtime shell contract for godot-sdk.js and godot-loader.js.
  • references/wxglx-adaptation.md
    • Complete WXGLX build integration, startup mode pinning, standard-WebGL fallback, frame presentation, packaging, and regression checks.
  • references/validation-checklist.md
    • Build, packaging, and smoke-test gates.

Output Standard

When using this skill on a real repo, always leave behind:

  • the exact upstream commit or mismatch you worked against
  • the apply command you ran
  • which optional modules were included, if any
  • the exact validation steps run
  • any patch rejects or manual conflict resolutions
  • any intentionally skipped donor features that remain out of scope
  • whether the output is standard-WebGL-only or WXGLX-capable, and which startup mode was tested

© godothub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 57 other files (scripts, references, assets) in skills of godothub/godot-minigame.

  • SKILL.md
  • agents/openai.yaml
  • assets/min-runtime/godot-loader.js
  • assets/min-runtime/godot-sdk.js
  • patches/fixes/4.7-webgl-context/001-context-swap-control.patch
  • patches/fixes/4.7-webgl-context/README.md
  • patches/godot-4.6.2-rc-a16e481cf4/core/001-build-and-runtime-glue.patch
  • patches/godot-4.6.2-rc-a16e481cf4/core/002-native-audio-routing.patch
  • patches/godot-4.6.2-rc-a16e481cf4/core/003-wxglx-nine-patch-expansion.patch
  • patches/godot-4.6.2-rc-a16e481cf4/core/004-wxglx-nine-patch-runtime-scope.patch
  • patches/godot-4.6.2-rc-a16e481cf4/core/series.txt
  • patches/godot-4.6.2-rc-a16e481cf4/manifest.json
  • patches/godot-4.6.2-rc-a16e481cf4/optional
  • … and 45 more

Open the folder on GitHubat commit 0992771

Compare with similar skills

Godot Wechat Minigame Adapter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Godot Wechat Minigame Adapter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Godot Wechat Minigame Adapter this skillgodothub/godot-minigame187—~1.5kAutomated safety check: PassMIT
Godot Gdscript Patterns925236118/AlphaAgent10310 repos~5kAutomated safety check: PassMIT
2D Map and Scene Generator0x0funky/agent-sprite-forge4.4k—~2.9kAutomated safety check: PassMIT
Godot UI Integrationzimo-xiao-zheng/godot-ui-integration285—~1.5kAutomated safety check: PassMIT
AI Game Art Pipelineybuild-ai/ai-game-art-pipeline-skill297—~1.1kAutomated safety check: PassMIT
MCP DriverRandallLiuXin/GodotMaker5501 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Godot Gdscript Patterns

    925236118/AlphaAgent

    Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.

    103 GitHub starsUsed in 10 repos~5k tokens
    Game DevelopmentAuto-check passed
  • 2D Map and Scene Generator

    0x0funky/agent-sprite-forge

    Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.

    4.4k GitHub stars~2.9k tokensUpdated 5 days ago
    Game DevelopmentAuto-check passed
  • Godot UI Integration

    zimo-xiao-zheng/godot-ui-integration

    Build or revise Godot UI from an approved design, separated art, or a visual reference when scene structure, gameplay binding, and runtime visual verification all matter.

    285 GitHub stars~1.5k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • AI Game Art Pipeline

    ybuild-ai/ai-game-art-pipeline-skill

    Provider-neutral open-source skill for planning and producing game-runtime art assets and animation: static props/icons, canonical character sheets, combat sprites, 3D/video motion references…

    297 GitHub stars~1.1k tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • MCP Driver

    RandallLiuXin/GodotMaker

    Runtime debugging and live project inspection via godot-mcp.

    550 GitHub starsUsed in 1 repo~1.1k tokens
    Game DevelopmentAuto-check passed
  • Camera Systems

    ukanwat/overtime

    Build game cameras that feel good — 2D follow with a deadzone, look-ahead, smoothing, and level-bounds clamping; 3D third-person orbit with collision and first-person look; plus multi-target framing…

    387 GitHub starsUsed in 1 repo~2.2k tokens
    Game DevelopmentAuto-check passed

Questions about Godot Wechat Minigame Adapter

What does Godot Wechat Minigame Adapter do?

Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout. Godot Wechat Minigame Adapter is an agent skill from godothub/godot-minigame. Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.

When should I use Godot Wechat Minigame Adapter?

Godot Wechat Minigame Adapter fits situations like: the user wants to port official Godot to WeChat Mini Game; refresh a nearby 4.6-based port; inspect the shipped patch/source bundle for WXMEMFS; WXGLX dual-path rendering.

How do I install Godot Wechat Minigame Adapter in Claude Code?

Run `npx skills add godothub/godot-minigame --skill godot-wechat-minigame-adapter -a claude-code`. Or copy the skill folder (skills in godothub/godot-minigame) into .claude/skills/godot-wechat-minigame-adapter in your project. Claude Code loads it when a task matches its description.

How do I install Godot Wechat Minigame Adapter in Codex?

Run `npx skills add godothub/godot-minigame --skill godot-wechat-minigame-adapter -a codex`. Or copy the skill folder (skills in godothub/godot-minigame) into .agents/skills/godot-wechat-minigame-adapter in your project. Codex loads it when a task matches its description.

Can I use Godot Wechat Minigame Adapter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add godothub/godot-minigame --skill godot-wechat-minigame-adapter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/godot-wechat-minigame-adapter, .gemini/skills/godot-wechat-minigame-adapter, .github/skills/godot-wechat-minigame-adapter and .opencode/skills/godot-wechat-minigame-adapter in your project.

What does Godot Wechat Minigame Adapter need to run?

Going by SKILL.md and its folder, Godot Wechat Minigame Adapter needs JavaScript for the scripts in its folder and the command-line tools its instructions call (git, python, node and sh). Our summary lists: Python 3; Node.js.

Does Godot Wechat Minigame Adapter access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Godot Wechat Minigame Adapter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Godot Wechat Minigame Adapter use?

Godot Wechat Minigame Adapter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Godot Wechat Minigame Adapter use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.5k tokens, read only when the agent opens those files.

What are the alternatives to Godot Wechat Minigame Adapter?

Skills that share tags, products or a category with Godot Wechat Minigame Adapter: Godot Gdscript Patterns (925236118/AlphaAgent, 103 stars), 2D Map and Scene Generator (0x0funky/agent-sprite-forge, 4.4k stars), Godot UI Integration (zimo-xiao-zheng/godot-ui-integration, 285 stars) and AI Game Art Pipeline (ybuild-ai/ai-game-art-pipeline-skill, 297 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Godot Wechat Minigame Adapter?

godothub (a GitHub organization) maintains it in godothub/godot-minigame, which has 187 GitHub stars. The repository was last updated on September 15, 2026.

Source: godothub/godot-minigame on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.