← All skills

momoka

Create or initialize MoonBit modules, upgrade their dependencies, configure defaults, or install MoonBit toolchains using Momoka through moonx.

$ files
SKILL.md
SKILL.md

Momoka

CommandUse
moonx kokic/momoka -- new <path>Create a module in a new directory.
moonx kokic/momoka -- init [path]Initialize an existing directory; defaults to ./.
moonx kokic/momoka -- upgrade [path...]Upgrade dependencies to their latest versions in one or more module directories; defaults to ./.
moonx kokic/momoka -- cfgConfigure saved defaults interactively.
moonx kokic/momoka -- cfg --showPrint saved defaults.
moonx kokic/momoka -- stableInstall the stable MoonBit toolchain.
moonx kokic/momoka -- nightlyInstall the nightly MoonBit toolchain.

new and init derive the module name from the username and directory basename. They reject existing output files; do not delete those files to force initialization. upgrade processes directories in the supplied order; each must contain moon.mod.

Module options

Pass these options to new or init:

OptionMeaningBuilt-in fallback
--username, -uModule owner and repository usernamePrompt and save
--license, -lModule license identifierApache-2.0
--hostRepository hosting domaingithub.com
--target, -tGenerated module's preferred targetnative

Omitted options use saved preferences from ~/.momoka/preferred.json, then the built-in fallbacks above.

SeekMoon sandbox

Commands such as moonx kokic/momoka -- cfg that write outside the module directory are rejected. Pass equivalent options directly to new or init instead of saving preferences. Explicitly supply --username to avoid prompting for and saving a username to ~/.momoka/preferred.json.

moonx kokic/momoka -- init ./mod --username alice --license MIT --host github.com --target native

Skill
Author
Name
kokic/momoka
Version
0.7.1
Published
15 days ago
Download
Download ZIP

SHA-256

2279ff34c7ea316bc9cb98a0e4c47b4d804c5a44dbfd66443b9fa180dce38112

Powered by MoonBit

Site sourceReport issueModulesSkillsBuild queueStatistics

© 2026 mooncakes.io