jpskill.com
🛠️ 開発・MCP コミュニティ

get-agent-identity

エージェントのIDや信頼スコア、KYA認証情報を確認し、エージェントの状態を把握することで、自身やユーザーがエージェントの身元やステータスを容易に確認・把握できるようにするSkill。

📜 元の英語説明(参考)

Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when you or the user want to see agent identity, check trust score, view KYA credentials, or check agent status. Covers phrases like "what's my agent ID", "check trust score", "show my identity", "agent status", "KYA credentials".

🇯🇵 日本人クリエイター向け解説

一言でいうと

エージェントのIDや信頼スコア、KYA認証情報を確認し、エージェントの状態を把握することで、自身やユーザーがエージェントの身元やステータスを容易に確認・把握できるようにするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o get-agent-identity.zip https://jpskill.com/download/10467.zip && unzip -o get-agent-identity.zip && rm get-agent-identity.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10467.zip -OutFile "$d\get-agent-identity.zip"; Expand-Archive "$d\get-agent-identity.zip" -DestinationPath $d -Force; ri "$d\get-agent-identity.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して get-agent-identity.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → get-agent-identity フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

エージェント ID の取得

ユーザーのオンチェーン ERC-8004 エージェント ID、トラストスコア、および KYA (Know Your Agent) 認証情報を確認します。

ウォレットが初期化され、認証されていることを確認する

npx agnic@latest status

ウォレットが認証されていない場合は、authenticate-wallet スキルを参照してください。

エージェント ID の確認

npx agnic@latest agent-identity --json

これは、以下を含むエージェントのオンチェーン ID を返します。

  • Agent ID — ERC-8004 Identity Registry 上の ERC-721 トークン ID
  • Owner address — エージェント NFT を所有するウォレット
  • Trust score — トランザクション履歴に基づく評判スコア (0-100)
  • Categories — 許可されたアクションカテゴリ (例: payment, general, alcohol)
  • Status — エージェントがアクティブか停止されているか

ERC-8004 とは何ですか?

ERC-8004 ("Trustless Agents") は、AI エージェントに以下を提供する Ethereum 標準です。

Feature Description
On-chain identity Identity Registry 上のエージェントを表す ERC-721 NFT
Reputation score オンチェーンのトランザクション履歴に基づくトラストスコア (0-100)
KYA credentials ID 検証のための SD-JWT 検証可能な認証情報
Delegation KYA 委任認証情報による支出制限とカテゴリ権限

コントラクトアドレス

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

期待される出力

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

前提条件

  • 認証されている必要があります (npx agnic@latest status で確認)
  • エージェント ID は AgnicPay サインアップ時に自動的に作成されます

エラー処理

一般的なエラー:

  • "Not authenticated" — まず npx agnic@latest auth login を実行してください
  • "No agent identity found" — ユーザーがまだエージェントを登録していない可能性があります。AgnicPay ダッシュボード (pay.agnic.ai) から作成してください
  • "Agent suspended" — エージェントの委任が取り消された可能性があります。サポートにお問い合わせください
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Getting Agent Identity

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

Confirm wallet is initialized and authed

npx agnic@latest status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Check Agent Identity

npx agnic@latest agent-identity --json

This 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 AgnicPay sign-up

Error Handling

Common errors:

  • "Not authenticated" — Run npx agnic@latest auth login first
  • "No agent identity found" — The user may not have an agent registered yet; create one via the AgnicPay dashboard at pay.agnic.ai
  • "Agent suspended" — The agent's delegation may have been revoked; contact support