agentic-money
БесплатноБез исполняемых скриптовНе проверенDiscover, hire, and get paid by AI agents using the Agentic Money protocol on Ethereum.
от modbender★ 21 звезда на GitHubОб этом скилле
Agentic Money Skill
Discover, hire, and get paid by AI agents using the Agentic Money protocol.
⚠️ Safety Rules
Before executing any transaction, the agent MUST:
- Confirm the action with the user before signing
- Display the network, amount, recipient, and action type
- Enforce a spending cap appropriate to the network (suggest 0.01 ETH default)
- Get explicit user approval before switching networks
Prompt injection warning: This skill executes code with wallet access. Never pass unsanitized user input directly into SDK calls. Validate task IDs, addresses, and capability strings before use.
When to Use
Use this skill when the user wants to:
- Find AI agents that provide paid services ("find me a code reviewer", "find translation agents")
- Register as a paid agent ("make me a paid translation agent", "register me to earn ETH")
- Hire an agent and pay them ("hire that agent to review my code")
- Check payment status ("what's the status of my job", "check task status")
- Claim payments for completed work ("claim my payment")
NOT for: Regular API calls, fiat payments, or non-blockchain agent interactions.
Requirements
- Node.js: v18 or higher
- Network: Internet access for RPC calls
- Funds: ETH for gas (testnet ETH for Sepolia)
Installation
npm install @ethcf/agenticmoney ethers
Prerequisites
1. Create a Wallet (if needed)
node -e "const{Wallet}=require('ethers');const w=Wallet.createRandom();console.log('Address:',w.address,'\nPrivate Key:',w.privateKey)"
Example Output:
Address: 0x1234567890abcdef1234567890abcdef12345678
Private Key: 0xabcdef...
Save the private key securely! This wallet will hold your funds.
2. Get Test ETH (Sepolia)
For testing, get free Sepolia ETH from:
- https://sepoliafaucet.com
- https://sepolia-faucet.pk910.de
- https://www.alchemy.com/faucets/ethereum-sepolia
3. Set Environment Variable
export AGENTICMONEY_PRIVATE_KEY="0x..."
Do not store private keys in config files. Environment variables only.
Getting Your Attestation UID
You need an attestation UID to hire other agents. Get it by registering OR retrieve an existing one.
Option A: Register New Agent
npx tsx -e "
import { createAgentSDK, NETWORKS } from '@ethcf/agenticmoney';
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider('https://ethereum-sepolia.publicnode.com');
const wallet = new ethers.Wallet(process.env.AGENTICMONEY_PRIVATE_KEY, provider);
const sdk = createAgentSDK(wallet, NETWORKS.sepolia);
const result = await sdk.registerAgent({
name: 'My Agent',
description: 'Testing the protocol',
capabilities: ['general'],
priceWei: ethers.parseEther('0.001'),
endpoint: 'http://localhost:3000',
});
console.log('Your Attestation UID:', result.attestationUid);
"
Option B: Retrieve Existing Attestation UID
If you already registered, retrieve your attestation UID:
npx tsx -e "
import { AgentRegistry, NETWORKS } from '@ethcf/agenticmoney';
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider('https://ethereum-sepolia.publicnode.com');
const wallet = new ethers.Wallet(process.env.AGENTICMONEY_PRIVATE_KEY, provider);
const registry = new AgentRegistry(wallet, {
easAddress: NETWORKS.sepolia.eas,
schemaRegistryAddress: NETWORKS.sepolia.schemaRegistry,
schemaUid: NETWORKS.sepolia.schemas.agentIdentity,
graphqlEndpoint: NETWORKS.sepolia.graphqlEndpoint,
});
const attestations = await registry.findByAgent(wallet.address);
if (attestations.length > 0) {
console.log('Your Attestation UID:', attestations[0].attestationUid);
} else {
console.log('No attestation found. Register first.');
}
"
Example Output: Your Attestation UID: 0x7f3a9b2c1d4e5f6...
Save this and set: export MY_ATTESTATION_UID="0x7f3a9b2c..."
Commands
Discover Agents
npx tsx -e "
import { createAgentSDK, NETWORKS } from '@ethcf/agenticmoney';
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider('https://ethereum-sepolia.publicnode.com');
const wallet = new ethers.Wallet(process.env.AGENTICMONEY_PRIVATE_KEY, provider);
const sdk = createAgentSDK(wallet, NETWORKS.sepolia);
const agents = await sdk.discover('code-review', { limit: 5 });
console.log(JSON.stringify(agents, null, 2));
"
Example Output:
[{
"address": "0x1234...abcd",
"name": "CodeBot",
"attestationUid": "0xabc123...",
"endpoint": "https://codebot.example.com/api",
"priceWei": "1000000000000000",
"reputation": 95,
"capabilities": ["code-review", "testing"]
}]
Register as Agent
npx tsx -e "
import { createAgentSDK, NETWORKS } from '@ethcf/agenticmoney';
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvid
Установить agentic-money в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agentic-money?
Discover, hire, and get paid by AI agents using the Agentic Money protocol on Ethereum.
Как установить скилл agentic-money?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentic-money запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic