← Back to Skills Marketplace
agnicpay-prog

Agnic Check Balance (x402)

by Agnic.AI · GitHub ↗ · v2.0.2 · MIT-0
cross-platform ⚠ suspicious
224
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install agnic-check-balance
Description
Check USDC balance across networks (Base, Solana). Use when the user wants to check balance, see how much USDC is available, view funds, or verify wallet bal...
README (SKILL.md)

Checking USDC Balance

Use npx agnic@latest balance to check USDC balance across supported networks.

Authentication

Run npx agnic@latest status --json to verify. If not authenticated:

  • Headless (CI/server/agent): Set AGNIC_TOKEN env var or pass --token \x3Ctoken>
  • Interactive (has browser): Run npx agnic@latest auth login

See the authenticate-wallet skill for details.

Command Syntax

npx agnic@latest balance [--network \x3Cnetwork>] [--json]

Options

Option Description
--network \x3Cname> Filter by network (default: all networks)
--json Output result as JSON

Supported Networks

Network Description
base Base mainnet (primary)
base-sepolia Base testnet
solana Solana mainnet
solana-devnet Solana devnet

Examples

# Check balance on all networks
npx agnic@latest balance --json

# Check balance on Base mainnet only
npx agnic@latest balance --network base --json

Expected Output

Network       Balance      Address
base          125.50 USDC  0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
base-sepolia    0.00 USDC  0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
solana          0.00 USDC  N/A
solana-devnet   0.00 USDC  N/A

Error Handling

Common errors:

  • "Not authenticated" -- Run npx agnic@latest auth login or set AGNIC_TOKEN
  • Network timeout -- Try again or specify a single network with --network base
Usage Guidance
This skill asks you (or the agent) to run 'npx agnic@latest', which will download and execute code from the npm registry at runtime. Before using it: 1) Verify the agnic package source (homepage, repository, maintainers) and prefer a pinned version rather than @latest. 2) Understand what AGNIC_TOKEN is and the minimum scope needed — never provide private keys or broad-purpose credentials unless you trust the package and understand token permissions. 3) If possible, run the package in a sandboxed environment or inspect the package code before running. 4) If you only need read-only balances, prefer a provider or tool with documented, audited client code or an API where you can limit token scope. If you want, I can help look up the agnic npm package, its repository, and the token scope (if a homepage/repo is available).
Capability Analysis
Type: OpenClaw Skill Name: agnic-check-balance Version: 2.0.2 The skill bundle provides a standard interface for checking USDC balances on the Base and Solana networks using the 'agnic' CLI tool. The allowed commands are restricted to 'npx agnic@latest status' and 'npx agnic@latest balance', which align with the stated purpose. No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or _meta.json.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name/description match the runtime instructions (both direct the user/agent to run 'npx agnic@latest balance' to check USDC balances on Base and Solana). However, the SKILL.md refers to an authentication token (AGNIC_TOKEN) and an 'authenticate-wallet' skill that are not declared in the skill's metadata, creating a minor mismatch between stated requirements and runtime needs.
Instruction Scope
Instructions explicitly require running 'npx agnic@latest status' and 'npx agnic@latest balance' and instruct how to supply a token via AGNIC_TOKEN or --token. While the described actions (checking balances) stay within scope, they direct the agent to execute third-party code at runtime and to accept a credential which could expose wallet access. The instructions do not request or instruct reading unrelated local files, but they give broad discretion to run dynamic npm packages.
Install Mechanism
There is no install spec, but the SKILL.md depends on 'npx agnic@latest' — which will dynamically download and execute code from the npm registry at runtime. Dynamic npx installs are a supply-chain risk because arbitrary code from the registry will run without a pinned, reviewed release or source link. The skill metadata provides no homepage or source to verify the package.
Credentials
The registry metadata declares no required env vars, but the SKILL.md references AGNIC_TOKEN (and passing --token) for authentication. That token likely grants access to wallet/account data; the skill does not explain the token's scope. The missing declaration of this credential is an inconsistency and elevates risk because users may be asked to provide a sensitive token without clear justification or visibility into what the remote package will do with it.
Persistence & Privilege
The skill does not request always: true, does not claim persistent modifications to agent configuration, and is user-invocable with normal autonomous-invocation settings. There is no evidence it modifies other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agnic-check-balance
  3. After installation, invoke the skill by name or use /agnic-check-balance
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.2
v2.0.2 — Synced with upstream agnic-wallet-skills check-balance skill: - Standardized authentication (browser OAuth + headless AGNIC_TOKEN) - Rebranded references from "AgnicPay" to "Agnic"
v1.0.0
Initial release of check-balance skill. - Enables users to check their USDC balance across supported networks: Base and Solana (mainnets and testnets). - Supports authentication verification and clear user prompts for login if required. - Allows querying balances for all or specific networks. - Provides structured JSON output for easy integration. - Handles network and authentication errors with user-friendly messages.
Metadata
Slug agnic-check-balance
Version 2.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Agnic Check Balance (x402)?

Check USDC balance across networks (Base, Solana). Use when the user wants to check balance, see how much USDC is available, view funds, or verify wallet bal... It is an AI Agent Skill for Claude Code / OpenClaw, with 224 downloads so far.

How do I install Agnic Check Balance (x402)?

Run "/install agnic-check-balance" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agnic Check Balance (x402) free?

Yes, Agnic Check Balance (x402) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agnic Check Balance (x402) support?

Agnic Check Balance (x402) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agnic Check Balance (x402)?

It is built and maintained by Agnic.AI (@agnicpay-prog); the current version is v2.0.2.

💬 Comments