composable-move-functions

composable-move-functions is a skill for Claude Code from mission69b/t2000. It costs 51 tokens per session (1,085 once invoked), scanned A, original, MIT.

A guide for writing Move functions on Sui, a blockchain platform, so other transaction steps can use them together.

In plain words
What is it for?
Use it when choosing function visibility, parameter order, return values, or whether a function should transfer or return objects.
Why use it?
It helps avoid function signatures and object-handling choices that prevent transactions from being combined.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when choosing function visibility, parameter order, return values, or whether a function should transfer or return objects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mission69b/t2000/composable-move-functions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mission69b/t2000 --skill composable-move-functions
Clone the repo
git clone --depth 1 https://github.com/mission69b/t2000

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for composable-move-functions

README.md
[![agentmods](https://agentmods.dev/badge/skills/mission69b/t2000/composable-move-functions/github.svg)](https://agentmods.dev/skills/mission69b/t2000/composable-move-functions)
Your own site
<a href="https://agentmods.dev/skills/mission69b/t2000/composable-move-functions"><img src="https://agentmods.dev/badge/skills/mission69b/t2000/composable-move-functions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for composable-move-functions

Your own site · 80×15
<a href="https://agentmods.dev/skills/mission69b/t2000/composable-move-functions"><img src="https://agentmods.dev/badge/skills/mission69b/t2000/composable-move-functions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,085 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01085
Opus 5.5 $0.00020 $0.00434
Sonnet 5.5 $0.00010 $0.00217
Haiku 4.5 $0.00005 $0.00109

Measured 3mo ago against content hash 6c7267279df0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

composable-move-functions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/composable-move-functions/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

composable-move-functions

MCP tool: When available in your environment, also query the Sui documentation MCP server (https://sui.mcp.kapa.ai) for up-to-date answers. Use it for verification and for details not covered by these reference files.

Overview

Sui transactions can chain multiple function calls in a single Programmable Transaction Block (PTB). Functions that transfer objects internally instead of returning them break this composability. This skill covers how to design functions that work well in PTBs.

All patterns sourced from https://move-book.com/guides/code-quality-checklist

No public entry

Functions should be either public (composable, can be called from other modules and PTBs) or entry (transaction endpoint only). Never use public entry together.

// WRONG — public entry is redundant and limits composability
public entry fun do_something() { }

// CORRECT — public for composable functions that return values
public fun mint(ctx: &mut TxContext): NFT { }

// CORRECT — entry for intentionally non-composable endpoints
entry fun mint_and_keep(ctx: &mut TxContext) { }

When to use entry: Only for convenience endpoints that are intentionally non-composable — functions that wrap a composable public function and handle transfers to sender.

Return Objects, Don't Transfer Internally

Public functions should return values to the caller rather than transferring them to ctx.sender(). This makes them composable in PTBs — the caller decides what to do with the result.

// WRONG — couples minting with transfer, can't compose
public fun mint_and_transfer(ctx: &mut TxContext) {
    let nft = NFT { id: object::new(ctx) };
    transfer::transfer(nft, ctx.sender());
}

// CORRECT — returns the object, caller decides
public fun mint(ctx: &mut TxContext): NFT {
    NFT { id: object::new(ctx) }
}

// If you need a convenience entry point, add a separate entry wrapper:
entry fun mint_and_keep(ctx: &mut TxContext) {
    let nft = mint(ctx);
    transfer::transfer(nft, ctx.sender());
}

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 124 lines · 51 tokens per session scan A 6c7267279df0

Subscribe to this mod's changes

composable-move-functions is a skill published in the GitHub repository mission69b/t2000 (23 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,085 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

composable-move-functions compared with skills from other repositories

composable-move-functions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
composable-move-functionsmission69b/t2000Skill232mo agoMITA51Claude Code
swarmwage-publishSwarmwage/swarmwageSkill34mo agoMITB78Claude Code
x402aomi-labs/skillsSkill83d agoMITA84Claude Code
audit-securityMangroveTechnologies/mangrove-agentSkill9todayMITA130Claude Code
setup-krakenMangroveTechnologies/mangrove-agentSkill9todayMITA207Claude Code
connect-krakenMangroveTechnologies/mangrove-agentSkill9todayMITA161Claude Code
tenjin-payBackTrackCo/tenjin-agentSkill19todaynoneA177Claude Code