用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill a0x-register命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | a0x-register |
| description | | Use when this capability is needed. |
When the user invokes /a0x-register, follow these steps in order.
~/.claude/.a0x-wallet.json to see current tier, API key, and agent wallet address~/.claude/.mcp.json (the URL before /{apiKey}/brain)$AGENT_PK is available by running: test -n "$AGENT_PK" && echo "ready" || echo "not set"| Tier | Requests/day | Monthly | Requirement |
|---|---|---|---|
| FREE | 50 | 1,500 | Auto-register |
| WALLET | 100 | 3,000 | Wallet signature |
| VERIFIED | 200 | 6,000 | ERC-8004 NFT |
| PREMIUM | Unlimited | Unlimited | x402 payment |
If $AGENT_PK is not set:
cast --versioncurl -L https://foundry.paradigm.xyz | bash && foundryup then re-run setup"bash ~/a0x/a0x-plugin/setup.shsource ~/.bashrc (or ~/.zshrc) to load $AGENT_PKIf $AGENT_PK is set, get the wallet address:
cast wallet address --private-key $AGENT_PK
This step is fully automated. The user does NOT need to do anything manually.
cast wallet address --private-key $AGENT_PK
curl -s "{BASE_URL}/challenge?walletAddress={WALLET_ADDRESS}"
cast wallet sign --private-key $AGENT_PK "{CHALLENGE_MESSAGE}"
curl -s -X POST "{BASE_URL}/link-wallet" \
-H "Content-Type: application/json" \
-d '{"walletAddress": "{WALLET_ADDRESS}", "signature": "{SIGNATURE}", "apiKey": "{API_KEY}"}'
Update ~/.claude/.a0x-wallet.json with the new tier and limits from the response.
Tell the user: "Upgraded to WALLET tier. You now have 100 requests/day."
After WALLET tier, offer the user to upgrade to VERIFIED:
Explain: "I can mint you an ERC-8004 identity NFT on Base for 200 req/day + vote + earn. You just need to send a small amount of ETH on Base to your agent wallet for gas."
Get the agent wallet address:
cast wallet address --private-key $AGENT_PK
Tell the user: "Send a small amount of ETH (0.001 ETH is enough) on Base to your agent wallet: {AGENT_ADDRESS}"
Check the balance to confirm funds arrived:
cast balance {AGENT_ADDRESS} --rpc-url https://mainnet.base.org
Ask the user for a name for their onchain agent identity (or suggest a default based on their project or username)
Mint the ERC-8004 identity NFT:
cast send 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 \
"register(string)" "{AGENT_NAME}" \
--rpc-url https://mainnet.base.org \
--private-key $AGENT_PK
Extract the tokenId from the transaction receipt. Look for the Transfer event log topic:
logs array in the receipt will contain a Transfer eventtopic[3] (the 4th topic), as a hex numbercast --to-dec {HEX_TOKEN_ID}cast receipt {TX_HASH} --rpc-url https://mainnet.base.org and parse the logsRe-run the link-wallet flow (Step 3) but this time include the tokenId in the POST body:
curl -s -X POST "{BASE_URL}/link-wallet" \
-H "Content-Type: application/json" \
-d '{"walletAddress": "{WALLET_ADDRESS}", "signature": "{SIGNATURE}", "apiKey": "{API_KEY}", "nonce": "{NONCE}", "tokenId": {TOKEN_ID}}'
tier: "verified", the upgrade was successful~/.claude/.a0x-wallet.json with tier: "verified", daily: 200, and tokenId from the mintConverted and distributed by TomeVault — claim your Tome and manage your conversions.