← 返回 Skills 市场
224
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agnic-check-balance
功能描述
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...
使用说明 (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_TOKENenv 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 loginor setAGNIC_TOKEN - Network timeout -- Try again or specify a single network with
--network base
安全使用建议
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).
功能分析
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.
能力标签
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agnic-check-balance - 安装完成后,直接呼叫该 Skill 的名称或使用
/agnic-check-balance触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 224 次。
如何安装 Agnic Check Balance (x402)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agnic-check-balance」即可一键安装,无需额外配置。
Agnic Check Balance (x402) 是免费的吗?
是的,Agnic Check Balance (x402) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agnic Check Balance (x402) 支持哪些平台?
Agnic Check Balance (x402) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agnic Check Balance (x402)?
由 Agnic.AI(@agnicpay-prog)开发并维护,当前版本 v2.0.2。
推荐 Skills