Payment-gated AI tools using x402 micropayments on Base network
npx claudepluginhub tzannetosgiannis/x402-tools-claudePayment-gated AI tools using x402 micropayments on Base network. Access X/Twitter search and OSINT research tools via skills.
Payment-gated AI tools using x402 micropayments on Base network. Access powerful X/Twitter search and OSINT research tools directly from Claude Code via skills.
AI-powered X/Twitter search agent for:
Open Source Intelligence (OSINT) agent for:
Market Oracle for prediction market intelligence:
Inside Claude Code, run:
/plugin marketplace add TzannetosGiannis/x402-tools-claude
/plugin install x402-tools@x402-tools-claude
git clone https://github.com/TzannetosGiannis/x402-tools-claude.git
cd x402-tools-claude
npm install
npm run build
Then load the plugin:
claude --plugin-dir .
You need to provide your Ethereum private key to sign payment transactions. The plugin checks for the key in this order:
Create .claude/x402-tools.json in your project directory:
{
"private_key": "your_private_key_here"
}
Set X402_PRIVATE_KEY in your .env file:
X402_PRIVATE_KEY=your_private_key_here
Security Warning:
- Never commit your private key to version control
- Use a dedicated wallet with only the USDC you need for testing
- The
.claude/x402-tools.jsonfile is automatically gitignored
Once the plugin is installed, Claude will have access to two new skills that it can use automatically:
Just ask Claude to search Twitter/X:
"What are people saying about AI agents on Twitter?"
Claude will use the x-search skill automatically.
Ask Claude to research someone:
"Find information about the founder of Ethereum"
Claude will use the find-people skill automatically.
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude Code │────▶│ Skills │────▶│ x402-axios │────▶│ 402box.io │
│ │ │ (npx CLI) │ │ (payment) │ │ (AI agents) │
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ Base Chain │
│ (USDC pay) │
└─────────────┘
You can also use the CLI directly:
# X/Twitter search
npx @itzannetos/x402-tools-claude x-search "AI trends 2024"
# Find people
npx @itzannetos/x402-tools-claude find-people "Vitalik Buterin"
# Alpha finder (prediction markets)
npx @itzannetos/x402-tools-claude alpha-finder "Bitcoin 100k prediction market odds"
Make sure you've configured your private key in either .claude/x402-tools.json or the X402_PRIVATE_KEY environment variable.
Your wallet needs USDC on the Base network. You can:
/plugin → Installed tabContributions are welcome! Please open an issue or submit a pull request.
MIT License - see LICENSE for details.
Built on top of the x402 protocol for micropayments on Base network.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.