Sui And Move Tools
Developmentsui-and-move-toolsSui And Move Tools is an Agent Skill for development published in the MystenLabs/sui repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use to get bytecode for a deployed Sui package and produce a disassembled working view. One GraphQL call fetches every module's raw bytecode bytes; `sui move disassemble` (already on the system, running `sui prompt`) produces `.asm` files for analysis. Trigger on "fetch this package's bytecode", "get me the .mv for package X", "disassemble this package", or "I need to read a deployed Sui package".
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/MystenLabs/sui/blob/HEAD/crates/sui-prompt/src/skills/sui-and-move-tools/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/sui-and-move-tools, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Sui and Move Tools
Get a deployed Sui package's bytecode and produce .mv and .asm (disassembly) files.
One Sui GraphQL call returns raw bytes for every module; sui move disassemble produces
the working view module-by-module.
For what the disassembly conveys (and what's lost in compilation), see
move-bytecode-comprehension. The end-to-end procedure is in fetch-and-disassemble.md.