From e4023c01afab385dfa9b3309c4e95d94eb806eb3 Mon Sep 17 00:00:00 2001 From: "Clicksprotocol.xyz" Date: Thu, 9 Apr 2026 23:45:10 +0200 Subject: [PATCH 1/4] Add Clicks Protocol yield skill for AI agents --- skills/clicks-protocol/SKILL.md | 137 ++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 skills/clicks-protocol/SKILL.md diff --git a/skills/clicks-protocol/SKILL.md b/skills/clicks-protocol/SKILL.md new file mode 100644 index 0000000..9d4a3c0 --- /dev/null +++ b/skills/clicks-protocol/SKILL.md @@ -0,0 +1,137 @@ +--- +name: clicks-protocol +description: Autonomous yield infrastructure for AI agents. Earn yield on x402 payments with 80% liquid, 20% earning (no lockup). Built on Base with MCP server integration. +homepage: https://clicksprotocol.xyz +metadata: { + "category": "payments", + "subcategory": "yield", + "chains": ["base"], + "tokens": ["USDC"], + "x402": true, + "mcp": true, + "sdk": true +} +--- + +# Clicks Protocol + +Autonomous yield infrastructure for AI agents. + +## What is Clicks Protocol? + +Clicks Protocol provides yield infrastructure for AI agents on Base. Agents can earn yield on their x402 payments with: + +- **80% liquid, 20% earning** – No lockup, immediate liquidity +- **Built on Base** – Native x402 integration +- **MCP server** – Direct agent integration +- **TypeScript SDK** – Easy integration + +## Installation + +```bash +npx skills add base/skills@clicks-protocol +``` + +Or install globally: + +```bash +npx skills add base/skills@clicks-protocol -g +``` + +## Quick Start + +### 1. Configure your agent wallet + +Make sure your agent has a Base wallet with USDC (Bankr, CDP Agentic Wallet, or Sponge Wallet). + +### 2. Discover Clicks Protocol + +```bash +# Search for yield services +npx skills search yield + +# Or directly use Clicks +npx skills add base/skills@clicks-protocol +``` + +### 3. Earn yield on x402 payments + +When your agent receives x402 payments, Clicks automatically: +1. **Routes 20%** to yield strategies +2. **Keeps 80%** liquid for immediate use +3. **Accumulates yield** in USDC + +### 4. Check yield status + +```bash +# Check your agent's yield position +npx skills run clicks-protocol status +``` + +## Integration with x402 + +Clicks Protocol integrates natively with Base's x402 payment standard: + +### For Service Providers (Earning yield) + +When you receive x402 payments, Clicks automatically routes a portion to yield strategies. + +### For Service Consumers (Paying for services) + +No change needed – continue using x402 as normal. Clicks works transparently in the background. + +## MCP Server Integration + +Clicks Protocol includes a Model Context Protocol (MCP) server for direct agent integration: + +```bash +# Install MCP server +npm install @clicks-protocol/mcp-server + +# Or use with Claude Code / Cursor +npx @clicks-protocol/mcp-server +``` + +## SKD + +```bash +npm install @clicks-protocol/sdk +``` + +```typescript +import { ClicksClient } from '@clicks-protocol/sdk'; + +const clicks = new ClicksClient({ + chainId: 8453, // Base + wallet: yourAgentWallet +}); + +// Get yield info +const yieldInfo = await clicks.getYieldInfo(); +console.log(`APY : ${yieldInfo.apy}%`); +``` + +## Contract Addresses (Base Mainnet) + +- **Registry**: `0x...` (Clicks Protocol Registry) +- **Fee Contract**: `0x...` (Fee Distribution) +- **YieldRouter**: `0x...` (Yield Strategy Router) +- **Splitter**: `0x...` (80/20 Splitter) + +## Resources + +- **Website**: https://clicksprotocol.xyz +- **GitHub**: https://github.com/clicks-protocol +- **MCP Server**: https://www.npmjs.com/package/@clicks-protocol/mcp-server +- **SDK**: https://www.npmjs.com/package/@clicks-protocol/sdk +- **Documentation**: https://docs.clicksprotocol.xyz + +## Support + +- **Discord**: https://discord.gg/clicks-protocol +- **Twitter**: @ClicksProtocol +- **Email**: hello@clicksprotocol.xyz + +--- + +*Clicks Protocol – Yield infrastructure for the agent economy.* \ No newline at end of file From acde7a192dee69b7f295ae06cfdbb7ec57c9fce4 Mon Sep 17 00:00:00 2001 From: "Clicksprotocol.xyz" Date: Thu, 9 Apr 2026 23:45:32 +0200 Subject: [PATCH 2/4] Add package.json for Clicks Protocol skill --- skills/clicks-protocol/package.json | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 skills/clicks-protocol/package.json diff --git a/skills/clicks-protocol/package.json b/skills/clicks-protocol/package.json new file mode 100644 index 0000000..424958b --- /dev/null +++ b/skills/clicks-protocol/package.json @@ -0,0 +1,37 @@ +{ + "name": "@base/skills-clicks-protocol", + "version": "0.1.0", + "description": "Autonomous yield infrastructure for AI agents on Base", + "keywords": ["base", "ai-agents", "x402", "yield", "defi", "payments"], + "homepage": "https://clicksprotocol.xyz", + "repository": { + "type": "git", + "url": "https://github.com/base/skills.git", + "directory": "skills/clicks-protocol" + }, + "license": "MIT", + "author": "Clicks Protocol ", + "contributors": [], + "files": ["SKILL.md"], + "scripts": { + "test": "echo \"No tests specified\"" + }, + "dependencies": {}, + "peerDependencies": { + "@clicks-protocol/sdk": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "publishConfig": { + "access": "public" + }, + "base": { + "category": "payments", + "subcategory": "yield", + "chains": ["base"], + "x402": true, + "mcp": true, + "agentTypes": ["claude-code", "codex", "opencode", "cursor", "openclaw"] + } +} \ No newline at end of file From 35402a7414f3b91d7673ed1ba10d5bcccd70536d Mon Sep 17 00:00:00 2001 From: "Clicksprotocol.xyz" Date: Thu, 9 Apr 2026 23:45:59 +0200 Subject: [PATCH 3/4] Add README for Clicks Protocol skill --- skills/clicks-protocol/README.md | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 skills/clicks-protocol/README.md diff --git a/skills/clicks-protocol/README.md b/skills/clicks-protocol/README.md new file mode 100644 index 0000000..e54a687 --- /dev/null +++ b/skills/clicks-protocol/README.md @@ -0,0 +1,43 @@ +# Clicks Protocol Skill + + +This skill enables AI agents to earn yield on their x402 payments through Clicks Protocol. + +## Installation + +```bash +npx skills add base/skills@clicks-protocol +``` + +## Features + +- **Yield on x402 payments**: Automatically earn yield on incoming payments +- **80/20 split**: 80% liquid, 20% earning (no lockup) +- **Base-native**: Built specifically for Base AI agents +- **MCP integration**: Direct agent integration via MCP server +- **TypeScript SKD**: Full programmatic access + +## Usage + +After installation, your agent can do: + +1. **Discover Clicks Protocol** via skills search +2. **Configure yield preferences** (default: 20% to yield) +3. **Monitor yield earnings** via status commands +4. **Withdraw yield** when needed + +## Integration + +Clicks Protocol integrates with: + +- **Base x402 payments** (native support) +- **Bankr, CDP, Sponge wallets** (agent wallets) +- **MCP servers** (direct agent tooling) +- **Base Account** (smart wallet integration) + +## Links + +- [Website](https://clicksprotocol.xyz) +- [GitHub](https://github.com/clicks-protocol) +- [Documentation](https://docs.clicksprotocol.xyz) +- [MCP Server](https://www.npmjs.com/package/@clicks-protocol/mcp-server) \ No newline at end of file From aaabec3f0dd22d0d6d63a58f0377db851bf09bad Mon Sep 17 00:00:00 2001 From: "Clicksprotocol.xyz" Date: Fri, 10 Apr 2026 00:27:47 +0200 Subject: [PATCH 4/4] Fix: SKD typo and placeholder contract addresses --- skills/clicks-protocol/SKILL.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/skills/clicks-protocol/SKILL.md b/skills/clicks-protocol/SKILL.md index 9d4a3c0..21e1959 100644 --- a/skills/clicks-protocol/SKILL.md +++ b/skills/clicks-protocol/SKILL.md @@ -92,7 +92,7 @@ npm install @clicks-protocol/mcp-server npx @clicks-protocol/mcp-server ``` -## SKD +## SDK ```bash npm install @clicks-protocol/sdk @@ -113,10 +113,15 @@ console.log(`APY : ${yieldInfo.apy}%`); ## Contract Addresses (Base Mainnet) -- **Registry**: `0x...` (Clicks Protocol Registry) -- **Fee Contract**: `0x...` (Fee Distribution) -- **YieldRouter**: `0x...` (Yield Strategy Router) -- **Splitter**: `0x...` (80/20 Splitter) +Clicks Protocol contracts are deployed on Base Mainnet (Chain 8453): + +- **Registry**: `0x23bb0Ea69b2BD2e527D5DbA6093155A6E1D0C0a3` (Clicks Protocol Registry) +- **Fee Contract**: `0xc47B162D3c456B6C56a3cE6EE89A828CFd34E6bE` (Fee Distribution) +- **YieldRouter**: `0x4E29571FCCE958823c0B184a66EEb7bCbe1c849F` (Yield Strategy Router) +- **Splitter**: `0x24323A30626BBE78C00beA45A3c0eE36bA31FcB4` (80/20 Splitter) +- **Deployer/Treasury**: `0xf873BB73e10D24cD3CF9bBed917F5E2d07dA8B80` + +All contracts are verified on [Basescan](https://basescan.org). ## Resources