gear-message-execution

gear-message-execution is a skill for Claude Code from gear-foundation/vara-skills. It costs 62 tokens per session (672 once invoked), scanned A, original, MIT.

A guide for handling messages between programs in a Gear or Vara Sails application. It covers replies, delayed work, gas reservations, waiting, and decoding the data sent between components.

In plain words
What is it for?
Designing or debugging message flows, reply handling, future-block execution, gas reservations, waitlists, and binary data in standard Gear or Vara Sails apps.
Why use it?
It helps explain unexpected replies, timeouts, delayed execution, and confusing raw bytes when tracing how a message moves through an application.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the vara-skills plugin — 26 skills shipped together

Good fit Designing or debugging message flows, reply handling, future-block execution, gas reservations, waitlists, and binary data in standard Gear or Vara Sails apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gear-foundation/vara-skills/gear-message-execution
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 gear-foundation/vara-skills --skill gear-message-execution
Clone the repo
git clone --depth 1 https://github.com/gear-foundation/vara-skills

Made for: Claude Code.

Or install vara-skills, the plugin that ships this one along with the rest of its 26 skills.

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 gear-message-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/gear-foundation/vara-skills/gear-message-execution/github.svg)](https://agentmods.dev/skills/gear-foundation/vara-skills/gear-message-execution)
Your own site
<a href="https://agentmods.dev/skills/gear-foundation/vara-skills/gear-message-execution"><img src="https://agentmods.dev/badge/skills/gear-foundation/vara-skills/gear-message-execution/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 gear-message-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/gear-foundation/vara-skills/gear-message-execution"><img src="https://agentmods.dev/badge/skills/gear-foundation/vara-skills/gear-message-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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.
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.00062 $0.00672
Opus 5 $0.00031 $0.00336
Sonnet 5 $0.00012 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 11d ago against content hash fe356fce521f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gear-message-execution 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 11d 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.

skills/gear-message-execution/SKILL.md · 54 lines

How it starts

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

Gear Message Execution

Goal

Provide a focused local path for reasoning about message flow and execution behavior in standard Gear/Vara Sails work.

Inputs

  • ../../references/gear-execution-model.md
  • ../../references/gear-sails-production-patterns.md
  • ../../references/gear-messaging-and-replies.md
  • ../../references/gear-gas-reservations-and-waitlist.md
  • ../../references/scale-binary-decoding-guide.md
  • ../../references/sails-syscall-mapping.md

Route Here When

  • replies, timeouts, or error replies are surprising
  • delayed work spans future blocks
  • reservations or waitlist behavior affect the design
  • a builder is mixing raw payload handling into an otherwise standard Sails flow
  • raw hex, reply bytes, event bytes, or metadata-vs-IDL decoding path is unclear
  • a reply from a hardcoded non-program ActorId does not decode as a Sails route; route to gear-builtin-actors for the matching gbuiltin_*::Response type

Working Model

  1. Confirm what executes now versus after the next block.
  2. If raw bytes are involved, classify the source first: constructor, service payload, reply, event, full state, or state-function output.
  3. Determine whether the bytes are Sails-routed, plain SCALE, or metadata-driven state output.
  4. Match the decoder artifact to the source: generated client or .idl, ProgramMetadata, or state.meta.wasm.
  5. Identify whether the path is fire-and-forget, reply-driven, delayed, or reservation-backed.
  6. Separate transport failure, timeout, and error reply.
  7. Check whether rollback should revert local state if a send or reply path fails.
  8. If the path is in tests, confirm the block-advance pattern and expected reply timing.

Guardrails

  • Treat reply, timeout, and late hook execution as distinct states.
  • Keep staged payload flows paired with their commit step.
  • Treat reservation duration and waitlist expiry as architecture constraints.
  • Use exec::gas_available() (or Syscall::gas_available() if using Sails) when checking available gas during the current execution.
  • Prefer generated Sails clients unless debugging the route or codec layer.
  • If a Sails route is involved, expect Sails Header-aware encoding rather than a raw struct payload.
  • Keep the guidance on the standard Gear/Vara Sails path.
  • Prefer local repo references over external skill dependencies.
  • Do not start with plain Decode::<T> on arbitrary bytes when a Sails route may be involved.
  • Match decode artifact to source: generated client or .idl for standard Sails interface paths, ProgramMetadata for full state, and state.meta.wasm for state-function output.
  • Treat gear-meta as a debugging fallback, not the first-choice default path.

Read the full file on GitHub · 54 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 54 lines · 62 tokens per session scan A fe356fce521f

Subscribe to this mod's changes

gear-message-execution is a skill published in the GitHub repository gear-foundation/vara-skills (17 stars, last pushed 1mo ago), licensed MIT. It adds 62 tokens to every session and 672 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

code-changes

Orchestration workflow for any task that ends in code changes: issue analysis, pull request review, feature implementation, bug fixes, refactors, or fleshing out an idea. MUST be invoked at the start of such a task, before reading or writing any code. Defines how to analyze first, gate on user approval, plan, pick the…

JanDeDobbeleer/oh-my-posh · 88 tokens

cross-environment-semantic-drift

L1 trigger - audits L1/L2 boundary bugs, precompile context assumptions, integer width mismatches at environment boundaries, and EVM-on-non-EVM drift.

PlamenTSV/plamen · 43 tokens

consensus-math-correctness

L1 trigger - audits consensus arithmetic for truncation, unused bounds, EMA direction, and threshold edge errors.

PlamenTSV/plamen · 30 tokens

alchemy-cli

Use the Alchemy CLI (@alchemy/cli) for live blockchain data, transaction lookups, NFT/token/portfolio queries, simulation, tracing/debugging, contract reads/writes, wallet-signed sends, swaps and cross-chain bridges, Solana RPC/DAS plus wallet sends, webhook management, and Alchemy app administration. Preferred…

alchemyplatform/skills · 166 tokens

finish-it

Scope-cutting and shipping discipline from Derek Yu's 'Finishing a Game' and 'Death Loops', jam culture, and veteran shipping practice — diagnose why a game project stalled, cut to a shippable core, define a binary finish line, ship it. Use when: a game project is stalled or sprawling, 'I keep adding features', 'it's…

kyh/vibedgames · 115 tokens

skmtc-debug

Diagnose failures in SKMTC sessions — no output, wrong output, error messages, bundle freshness, parseIssues, "Registered definition mismatch", ref cycles, "Module not found" in generated code, or any other broken behavior. Applies across both CLI usage and generator authoring contexts. Use this skill when the user…

skmtc/skmtc · 213 tokens