Composes Sui Programmable Transaction Blocks (PTBs) chaining multiple Move calls atomically. Verifies compilation, dry-runs, and executes on testnet for atomic multi-step flows.
Ships in suiper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
# Suiperpower telemetry. Routes through the CLI so projects.json + Convex stay in sync.
# Silent on failure so the skill never blocks. Opt out: SUIPERPOWER_TELEMETRY=off.
#
# AGENT NOTE: when this skill finishes, run the matching completion command:
# suiperpower track ptb-composer build completed
# Or use "failed" / "aborted" if it ended that way.
command -v suiperpower >/dev/null 2>&1 && suiperpower track ptb-composer build started >/dev/null 2>&1 &
true
If TEL_PROMPTED is no, before doing real work, ask the user:
Help suiperpower get better. We track which skills get used and how long they take. No code, no file paths, no PII. Change anytime in
~/.suiperpower/config.json.A) Sure, anonymous B) No thanks
Write the answer to ~/.suiperpower/config.json telemetryTier field and create ~/.suiperpower/.telemetry-prompted. Then continue.
Composes a PTB that does multiple things in one transaction: split coins, call multiple Move functions, route results between calls, transfer Objects, and so on. Verifies the PTB compiles, dry-runs cleanly, and executes against testnet before declaring done. Avoids the trap of "one tx per step" sequencing where a single PTB would be both faster and atomic.
moveCall is enough.find-next-sui-idea or scaffold-project first.build-with-move. PTBs are client-side.deploy-to-testnet / deploy-to-mainnet.If you activated this and the user actually wants something else, consult skills/SKILL_ROUTER.md and hand off.
.suiperpower/build-context.md. Read it if present.If unclear, interview the user for:
TS code that constructs the PTB.
A dry-run pass showing expected effects.
A real testnet execution capturing the digest.
Append to .suiperpower/build-context.md:
## ptb-composer session, <timestamp>
- ptb name: <description>
- command count: <n>
- input count: <n>
- first executed digest: <digest>
- gas budget: <value>
- open issues: <list>
The skill never deletes files outside the integration source path without explicit user confirmation.
Context gathering
.suiperpower/build-context.md if present.Sketch the PTB on paper
Build the PTB
tx.splitCoins, tx.mergeCoins, tx.transferObjects, tx.moveCall, tx.makeMoveVec, tx.publish as needed.Dry-run
simulateTransaction. Inspect effects.Execute on testnet
Tune
Writeback
.suiperpower/build-context.md.Before reporting done, the skill asks itself the following and refuses to declare success if any answer is no:
If any answer is no, the skill reports the gap and works through it before claiming the PTB is complete.
On-demand references (load when relevant to the user's question):
references/ptb-quickstart.md: Common patterns (split + swap + deposit, mint + transfer, multi-protocol composition).references/ptb-pitfalls.md: Result handle staleness, gas-coin conflicts, command limits, sponsor surprises.references/ptb-dryrun.md: How to read a dry-run output and verify intent.Knowledge docs (load when scope expands beyond what is in references):
skills/data/sui-knowledge/03-move-and-objects.md: Object model + capability reference.claude "/suiper:ptb-composer <your message>"codex "/ptb-composer <your message>"grok, then /ptb-composer <your message> in the session~/.cursor/rules/ptb-composer.mdc and reference it.If you activated this and the user actually wants something else, consult skills/SKILL_ROUTER.md and hand off.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sui, ptb, programmable-transaction-block, move, atomic-transactions
/suiper:ptb-composerfrom suiper
npx claudepluginhub pivyme/suiperpower --plugin suiper60 skills in this plugin
/apply-grantDraft a Sui Foundation grant application with milestones and sustainability plan. Use when the user wants to apply for a Sui grant or draft a grant application./brand-designPick a brand name, color palette, or typography for a Sui product. Use when the user wants to name or brand a Sui project./build-ai-agentBuild an AI agent that signs Sui transactions or runs onchain actions. Use when the user wants an AI agent on Sui./build-data-pipelineBuild a Sui data indexer or analytics pipeline. Use when the user wants to index Sui events, build a pipeline, or query Sui RPC data.Other plugins' skills for the same job