Agent skill

Moonbit Code Transform

by golemcloud in golemcloud/golem

Writing MoonBit source-to-source code transformations using moonbitlang/parser and its fmt package.

Custom licenceAuto-check passed

Install Moonbit Code Transform

skills CLI
$ npx skills add golemcloud/golem --skill moonbit-code-transform -a claude-code

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

GitHub CLI
$ gh skill install golemcloud/golem moonbit-code-transform --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/golemcloud/golem.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/moonbit-code-transform .claude/skills/moonbit-code-transform && 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
moonbit-code-transform
GitHub stars
1.5k
Token cost
~6.1k tokens
SKILL.md length
760 words
Files
1
Skills in repo
289
Repo updated
First seen
Licence
Custom licence

At a glance

Writing MoonBit source-to-source code transformations using moonbitlang/parser and its fmt package.

  • Parsing MoonBit source into AST
  • SKILL.md covers Pipeline Overview, Required Dependencies, Parsing Source Files and Constructing AST Nodes, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Constructing new AST nodes

What it does

Moonbit Code Transform is an agent skill from golemcloud/golem. Writing MoonBit source-to-source code transformations using moonbitlang/parser and its fmt package. Use when parsing MoonBit source into AST, constructing new AST nodes, or emitting generated MoonBit code.

Its SKILL.md is about 6.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Golem Cloud is the agent-native platform for building AI agents and distributed applications that never lose state, never duplicate work, and never require you to build…

When your agent uses it

  • Parsing MoonBit source into AST
  • Constructing new AST nodes
  • Emitting generated MoonBit code

Example prompts

  • “/moonbit-code-transform”

What it can do on your machine

Read from SKILL.md and the folder at commit c6a3029. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mbt and json).

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

  • Network

    No URLs in SKILL.md.

    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

Moonbit Code Transform loads about 6.1k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 760 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~6.1k

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 760 words (~6,118 tokens).

“Guide for building source-to-source code generation tools in MoonBit using moonbitlang/parser to parse source into AST and moonbitlang/parser/fmt to emit generated code. Uses golem_sdk_tools as the reference implementation.”

— opening of SKILL.md by golemcloud, Custom licence
name
moonbit-code-transform

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/moonbit-code-transform of golemcloud/golem.

Open the folder on GitHubat commit c6a3029

Compare with similar skills

Moonbit Code Transform 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.

Moonbit Code Transform compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moonbit Code Transform this skillgolemcloud/golem1.5k—~6.1kAutomated safety check: PassCustom licence
TransformersK-Dense-AI/scientific-agent-skills48k1 repos~2.8kAutomated safety check: NotesApache-2.0
Parser Developmentbiomejs/biome26k—~1.2kAutomated safety check: PassApache-2.0
Hugging Face Transformers Usagedavila7/claude-code-templates32k12 repos~1.2kAutomated safety check: PassMIT
Transformers JSsickn33/agentic-awesome-skills47k1 repos~444Automated safety check: PassApache-2.0
Fp Data Transformssickn33/agentic-awesome-skills47k2 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Transformers

    K-Dense-AI/scientific-agent-skills

    Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks.

    48k GitHub starsUsed in 1 repo~2.8k tokens
    AI & LLM EngineeringAuto-check: notes
  • Parser Development

    biomejs/biome

    Official

    A skill your agent uses when implementing or modifying Biome parser behavior, including .ungram grammars, lexers, token sources, parse rules, separated lists, error recovery, and parser fixtures.

    26k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Hugging Face Transformers Usage

    davila7/claude-code-templates

    Loads pre-trained Hugging Face Transformers models for text, vision and audio tasks, runs inference with pipelines and fine-tunes on custom datasets.

    32k GitHub starsUsed in 12 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Transformers JS

    sickn33/agentic-awesome-skills

    Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript.

    47k GitHub starsUsed in 1 repo~444 tokens
    AI & LLM EngineeringAuto-check passed
  • Fp Data Transforms

    sickn33/agentic-awesome-skills

    Everyday data transformations using functional patterns - arrays, objects, grouping, aggregation, and null-safe access

    47k GitHub starsUsed in 2 repos~2.4k tokens
    Data & AnalyticsAuto-check passed
  • Moonbit Docs Maintainer

    moonbitlang/moonbit-docs

    A skill your agent uses when maintaining the moonbitlang/moonbit-docs repository, including Sphinx docs under next/, MoonBit examples under next/sources/, error-code documentation, gettext…

    2.4k GitHub stars~1.1k tokensUpdated 16 days ago
    DevelopmentAuto-check passed

More from golemcloud/golem

All 289 skills in this repo
  • Moonbit C Binding

    golemcloud/golem

    Guide for writing MoonBit bindings to C libraries using native FFI.

    1.5k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Adding Dependencies

    golemcloud/golem

    Adding or updating crate dependencies in the Golem workspace.

    1.5k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Analysing CI Failures

    golemcloud/golem

    Analysing GitHub Actions CI failures from a run URL. An agent skill from golemcloud/golem.

    1.5k GitHub stars~862 tokensUpdated today
    Auto-check passed
  • Adds a built-in WASM plugin that is externally released and provisioned by the registry service.

    1.5k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • DB Migration Scripts

    golemcloud/golem

    Writing database migration SQL scripts. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Debugging Hanging Tests

    golemcloud/golem

    Diagnosing and fixing hanging worker executor or integration tests.

    1.5k GitHub stars~879 tokensUpdated today
    Auto-check passed

Questions about Moonbit Code Transform

What does Moonbit Code Transform do?

Writing MoonBit source-to-source code transformations using moonbitlang/parser and its fmt package. Moonbit Code Transform is an agent skill from golemcloud/golem. Writing MoonBit source-to-source code transformations using moonbitlang/parser and its fmt package.

When should I use Moonbit Code Transform?

Moonbit Code Transform fits situations like: parsing MoonBit source into AST; constructing new AST nodes; emitting generated MoonBit code.

How do I install Moonbit Code Transform in Claude Code?

Run `npx skills add golemcloud/golem --skill moonbit-code-transform -a claude-code`. Or copy the skill folder (.agents/skills/moonbit-code-transform in golemcloud/golem) into .claude/skills/moonbit-code-transform in your project. Claude Code loads it when a task matches its description.

How do I install Moonbit Code Transform in Codex?

Run `npx skills add golemcloud/golem --skill moonbit-code-transform -a codex`. Or copy the skill folder (.agents/skills/moonbit-code-transform in golemcloud/golem) into .agents/skills/moonbit-code-transform in your project. Codex loads it when a task matches its description.

Can I use Moonbit Code Transform 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 golemcloud/golem --skill moonbit-code-transform -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moonbit-code-transform, .gemini/skills/moonbit-code-transform, .github/skills/moonbit-code-transform and .opencode/skills/moonbit-code-transform in your project.

What does Moonbit Code Transform need to run?

SKILL.md names no scripts, command-line tools or credentials: Moonbit Code Transform is instructions for the agent only.

Does Moonbit Code Transform access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Moonbit Code Transform 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. Review the folder before installing.

What licence does Moonbit Code Transform use?

Moonbit Code Transform has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Moonbit Code Transform use?

About 6.1k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Moonbit Code Transform?

Skills that share tags, products or a category with Moonbit Code Transform: Transformers (K-Dense-AI/scientific-agent-skills, 48k stars), Parser Development (biomejs/biome, 26k stars), Hugging Face Transformers Usage (davila7/claude-code-templates, 32k stars) and Transformers JS (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Moonbit Code Transform?

golemcloud (a GitHub organization) maintains it in golemcloud/golem, which has 1,507 GitHub stars. The repository holds 289 skills in this directory. The repository was last updated on October 8, 2026.

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