/vara-skills:gear-builtin-actorsfrom vara-skills
Designs and debugs calls from Gear/Vara Sails programs into runtime builtin actors (BLS12-381, staking, proxy, ETH bridge). Covers ActorId derivation, request encoding, reply decoding, and gas/ED budgeting.
Ships in vara-skills. 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.
None: SKILL.md is the whole skill.
Treat builtin actors as a distinct call target: runtime-provided pseudo-programs at hardcoded ActorIds, reached via the normal msg::send_for_reply family but with request and reply types defined in the gbuiltin-* helper crates, not in a Sails IDL.
../../references/gear-builtin-actors.md — actor catalog, ActorId derivation, per-actor request/response shapes, calling pattern../../references/gear-messaging-and-replies.md — reply semantics for send_for_reply../../references/gear-gas-reservations-and-waitlist.md — gas budgeting and waitlist interaction when awaiting builtin replies../../references/gear-gstd-api-and-syscalls.md — the underlying gstd::msg API familysend_for_reply targets a hardcoded non-program ActorId and the reply does not decode as a Sails routegbuiltin_*::Response rather than a Sails-routed payloadActorId constants need revalidationBuiltinActors in gear/vara/runtime/vara/src/lib.rs (IDs 1 = BLS12-381, 2 = staking, 3 = ETH bridge, 4 = proxy). IDs are runtime-version-bound.gbuiltin-* helper crate: gbuiltin-staking, gbuiltin-proxy, gbuiltin-bls381, gbuiltin-eth-bridge. Import its Request (and Response where defined).ActorId from the builtin ID via hash((b"built/in", id).encode()), or take the stable hex from the reference. Store as a const ActorId in the module that owns the call.msg::send_bytes_for_reply(ACTOR_ID, &payload[..], value, reply_deposit)?.await. Value and reply deposit follow Substrate ED rules for the builtin's underlying pallet.gbuiltin_*::Response (where one is defined) or is empty for fire-and-forget variants; an error reply surfaces as the .await Err arm and carries a BuiltinActorError payload.max_gas() weight; block allowance failures manifest as error replies, not panics.read_state, and no code.ActorId literals without citing the runtime file or using hash((b"built/in", id).encode()) — IDs are runtime-version-bound and change with registration changes.Response::decode(&mut &bytes[..]) from the matching gbuiltin-* crate, not with a generated Sails client.#[gstd::async_main] or an async service method.value transferred.u64 registration key, the ActorId is its hashed account.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gear, vara, builtin-actors, sails, bls12-381, staking, proxy, eth-bridge
npx claudepluginhub gear-foundation/vara-skills --plugin vara-skills24 skills in this plugin
/awesome-sails-vftUse when a builder wants to add a fungible token to a standard Gear/Vara Sails app using awesome-sails building blocks, choose the right VFT-related crates, and wire roles, events, tests, and client integration. Do not use for NFT or RMRK work, abstract tokenomics-only analysis, or non-Sails projects./gear-architecture-plannerUse when an approved Gear or Vara spec must be mapped onto program boundaries, services, message flow, and integration surfaces. Do not use when the feature is still undefined or when the task is already reduced to code edits./gear-gstd-api-mapUse when a builder needs to choose the right gstd API for messaging, execution, reservations, async reply flows, or program creation, and trace that API to gcore or gsys when behavior must be confirmed. Do not use for Vara.eth or ethexe-first work, non-Gear repositories, or broad runtime-maintenance tasks./gear-message-executionUse when a builder needs to design or debug Gear message flow, replies, delayed execution, reservations, or waitlist behavior inside a standard Gear/Vara Sails app. Do not use for Vara.eth or ethexe-first work, non-Sails repositories, or broad protocol research./gtest-tdd-loopUse when Gear or Vara behavior changes need a deterministic local gtest loop before the work can be considered complete. Do not use for deploy-only work, live-node-only smoke checks, or features without a local test target./idea-to-specUse when a user has a new Gear or Vara feature idea, product request, or protocol change that must become an implementable spec. Do not use for deployment-only work, runtime review, or post-release observation.Other plugins' skills for the same job