← 返回 Skills 市场
agnicpay-prog

Agnic Get Agent Identity

作者 Agnic.AI · GitHub ↗ · v2.0.2 · MIT-0
cross-platform ⚠ suspicious
108
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install get-agent-identity
功能描述
Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when the user wants to see agent identity, check trust score, view crede...
使用说明 (SKILL.md)

Getting Agent Identity

Check the user's on-chain ERC-8004 agent identity, trust score, and KYA (Know Your Agent) credentials.

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.

Check Agent Identity

npx agnic@latest agent-identity --json

Returns the agent's on-chain identity including:

  • Agent ID -- The ERC-721 token ID on the ERC-8004 Identity Registry
  • Owner address -- The wallet that owns the agent NFT
  • Trust score -- Reputation score (0-100) based on transaction history
  • Categories -- Authorized action categories (e.g., payment, general, alcohol)
  • Status -- Whether the agent is active or suspended

What is ERC-8004?

ERC-8004 ("Trustless Agents") is an Ethereum standard that gives AI agents:

Feature Description
On-chain identity An ERC-721 NFT representing the agent on the Identity Registry
Reputation score Trust score (0-100) based on on-chain transaction history
KYA credentials SD-JWT verifiable credentials for identity verification
Delegation Spending limits and category permissions via KYA delegation credentials

Contract Addresses

Contract Network Address
Identity Registry Base Mainnet 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
Identity Registry Base Sepolia 0x8004A818BFB912233c491871b3d84c89A494BD9e
Reputation Base Mainnet 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63
Reputation Base Sepolia 0x8004B663056A597Dffe9eCcC1965A193B7388713

Expected Output

{
  "agentId": 373,
  "ownerAddress": "0x046906b3cd9d73bf85eb01d795d333b364b75842",
  "status": "active",
  "registeredAt": "2024-12-15T10:30:00Z",
  "trustScore": 85,
  "categories": ["payment", "general"],
  "hasDelegation": true
}

Prerequisites

  • Must be authenticated (npx agnic@latest status to check)
  • Agent identity is automatically created during Agnic sign-up

Error Handling

Common errors:

  • "Not authenticated" -- Run npx agnic@latest auth login or set AGNIC_TOKEN
  • "No agent identity found" -- The user may not have an agent registered; create one at app.agnic.ai
  • "Agent suspended" -- The agent's delegation may have been revoked; contact support
安全使用建议
This skill appears to do what it says (query an Agnic agent identity) but note two practical risks: (1) the documentation refers to an AGNIC_TOKEN env var but the skill metadata doesn't declare it — don't export or paste tokens unless you trust the package and know what the token grants; (2) the commands use 'npx agnic@latest', which will download and execute code from npm at runtime. Before installing/use, confirm the upstream package (npm owner, project homepage/repo), consider running the commands manually first, and only provide an AGNIC_TOKEN with least privilege when required. If you need higher assurance, ask the publisher for a homepage/repository and explicit list of required env vars and capabilities.
功能分析
Type: OpenClaw Skill Name: get-agent-identity Version: 2.0.2 The skill is designed to allow an AI agent to check its on-chain identity, trust score, and credentials using the 'agnic' CLI tool (via npx). The instructions in SKILL.md and the allowed tools are strictly limited to querying identity status and registry information related to the ERC-8004 standard on the Base network. No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力标签
cryptorequires-walletcan-make-purchasescan-sign-transactionsrequires-sensitive-credentials
能力评估
Purpose & Capability
The name/description (check on‑chain ERC‑8004 identity, trust score, KYA) lines up with the SKILL.md, which instructs calling the 'agnic' CLI. However the skill metadata declares no required binaries or env vars while the instructions assume use of 'npx' and optionally an AGNIC_TOKEN — so the declared requirements are incomplete.
Instruction Scope
The instructions are narrowly focused: run 'npx agnic@latest status' and 'npx agnic@latest agent-identity' or use interactive auth. They do not instruct reading unrelated files or exfiltrating data to unexpected endpoints. They do, however, reference setting AGNIC_TOKEN and linking to app.agnic.ai for account creation/auth.
Install Mechanism
No install spec is present; instead the runtime uses 'npx agnic@latest', which will fetch and run code from the npm registry at execution time. This is expected for CLI usage but does involve executing remote code on-demand rather than depending only on preinstalled, declared binaries.
Credentials
The SKILL.md explicitly mentions AGNIC_TOKEN as a headless auth option, but the skill metadata lists no required environment variables or primary credential. That mismatch is concerning because a token with account privileges may be needed or requested but is not declared in the metadata for user review.
Persistence & Privilege
always is false and disable-model-invocation is false (the platform default). The skill does not request persistent system-wide settings or claim the ability to modify other skills. Autonomous invocation is allowed by default; that increases the importance of the other flagged issues but is not by itself unusual.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install get-agent-identity
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /get-agent-identity 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.2
v2.0.2 — Synced with upstream agnic-wallet-skills: - Standardized authentication (browser OAuth + headless AGNIC_TOKEN) - Rebranded references from "AgnicPay" to "Agnic" - Scoped allowed-tools patterns
v1.0.0
Initial publish of Get Agent Identity for Agnic wallet agent.
元数据
Slug get-agent-identity
版本 2.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Agnic Get Agent Identity 是什么?

Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when the user wants to see agent identity, check trust score, view crede... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 Agnic Get Agent Identity?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install get-agent-identity」即可一键安装,无需额外配置。

Agnic Get Agent Identity 是免费的吗?

是的,Agnic Get Agent Identity 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agnic Get Agent Identity 支持哪些平台?

Agnic Get Agent Identity 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agnic Get Agent Identity?

由 Agnic.AI(@agnicpay-prog)开发并维护,当前版本 v2.0.2。

💬 留言讨论