Skip to main content
skill CX Codex

msw-scripting — Claude Code skill: what it does, how to install

Guides authoring .mlua scripts for MapleStory Worlds, covering annotations, execution spaces, and playtesting. Useful when building MSW logic and debugging runtime issues.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-scripting -a claude-code
Open on GitHub

What msw-scripting does

The skill directs coding in MapleStory Worlds using .mlua. It enforces platform-specific conventions: @Component, @Logic, @ExecSpace, and @Sync. Applying Unity patterns here will break runtime behavior. For instance, UI scripts run strictly on the client, and singletons use @Logic rather than static manager classes.

New scripts belong in feature-based folders under ./RootDesk/MyDesk/, such as Player/ or Inventory/. Flat folder dumps like Scripts/ are explicitly blocked. The skill requires checking signatures against .d.mlua definitions in ./Environment/NativeScripts/, which tracks 104 components and 46 services. Every edit triggers an LSP check, followed by the Maker MCP refresh command.

What it helps with

  • write mlua components using MSW lifecycle annotations
  • route client and server logic via ExecSpace RPCs
  • verify engine API signatures against NativeScripts definitions
  • fix mlua LSP diagnostic errors before running tests

Example prompts for the agent

  • Create a MeleeAttackComponent.mlua under Combat/ with a server-side damage handler
  • Inspect NativeScripts for SpawnByModelId and implement it in MonsterSpawnerLogic
  • Run mlua diagnostics and refresh Maker for modified inventory scripts

How to install msw-scripting

1Skills CLI (Vercel)

npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-scripting -a claude-code

2Manually: put the files in place

~/.claude/skills/msw-scripting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/msw-scripting/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about msw-scripting

How to install msw-scripting in Claude Code?

Run npx skills add MSW-Git/msw-ai-coding-plugins-official --skill msw-scripting -a claude-code in your terminal.

What does msw-scripting do?

It instructs coding agents on .mlua syntax, MSW engine conventions, directory rules, and LSP diagnostic workflows.

Where must method documentation comments be placed in mlua?

Documentation comments must be placed as the first line inside the method body. Placing them above the method causes the mlua parser to bind them to the preceding declaration.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set10

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor