Agent skill
w3rt-balance
Check Solana balance (SOL + optional SPL tokens) using w3rt runtime via a simple Node CLI wrapper.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/w3rt-balance
Metadata
Additional technical details for this skill
- openclaw
-
{ "emoji": "\ud83d\udcb0", "requires": { "bins": [ "node" ], "config": [ "~/.w3rt/config.yaml" ] } }
SKILL.md
w3rt-balance
Use this skill when the user asks to check SOL balance or token balances.
Preconditions
~/.w3rt/config.yamlexistswallet.keyPathpoints to a valid Solana keypair JSON (64-byte array)
Command
Run:
cd /home/davirain/clawd/web3AIRuntime
node scripts/w3rt_balance.mjs
Optional:
# Query a specific address
node scripts/w3rt_balance.mjs --address <SOLANA_PUBKEY>
# Include SPL tokens
node scripts/w3rt_balance.mjs --include-tokens
# Only one token mint
node scripts/w3rt_balance.mjs --include-tokens --token-mint <MINT>
Output handling
- Parse JSON output.
- Provide a concise summary: SOL amount, and (if requested) a short list of SPL tokens.
- If the tool returns
ok:falseor throws, surface the error and suggest verifying~/.w3rt/config.yamlandwallet.keyPath.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?