[new-plugin] axon-xlayer-intelligence v1.0.0#93
[new-plugin] axon-xlayer-intelligence v1.0.0#93MUTHUKUMARAN-K-1 wants to merge 1 commit intookx:mainfrom
Conversation
✅ Phase 1: Structure Validation — PASSED→ Proceeding to Phase 2: Build Verification |
There was a problem hiding this comment.
Pull request overview
Adds a new skill plugin, axon-xlayer-intelligence v1.0.0, providing X Layer (Chain ID 196) DeFi analytics via a hosted MCP API, including optional x402 payment-gated premium endpoints.
Changes:
- Added end-user skill documentation for calling MCP tools and the
/api/chatendpoint, including x402 payment flow details. - Added plugin manifest (
plugin.yaml) and Claude marketplace metadata (.claude-plugin/plugin.json). - Added MIT license file for the new skill.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| skills/axon-xlayer-intelligence/SKILL.md | Documents the skill’s endpoints, tool usage examples, premium gating, and error/security notes |
| skills/axon-xlayer-intelligence/plugin.yaml | Declares plugin metadata (name/version/tags/category/components/api_calls/link) for the registry |
| skills/axon-xlayer-intelligence/LICENSE | Adds MIT license text for the plugin submission |
| skills/axon-xlayer-intelligence/.claude-plugin/plugin.json | Adds Claude marketplace metadata used by registry tooling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ## Overview | ||
|
|
||
| AXON gives AI agents real-time onchain intelligence for **X Layer (Chain ID 196)** — OKX's zkEVM Layer 2 powered by OKB. It exposes 17 production-ready MCP tools covering gas analytics, block monitoring, Uniswap V3 pool data, wallet portfolio analysis (with AI risk scoring), DEX swap routing via OKX aggregator, yield farming discovery, and arbitrage signals. A natural language `/api/chat` endpoint lets agents skip tool selection and ask questions in plain English. Premium tools are gated behind an **x402 micro-payment** (OKB on X Layer) that is verified on-chain before execution. |
There was a problem hiding this comment.
The doc repeatedly states the skill exposes "17" MCP tools, but the Commands section only documents 12 tool endpoints (get_gas_price, get_block_info, get_market_overview, get_uniswap_top_pools, get_token_price, get_swap_quote, get_yield_opportunities, get_wallet_portfolio, analyze_wallet, find_arbitrage_opportunities, get_native_balance, get_xlayer_stats). Please either document the remaining tools (and keep the count) or update the stated number so it matches what’s actually available to users.
| ``` | ||
| 2. For premium tools (`analyze_wallet`, `compare_wallets`, `find_arbitrage_opportunities`), you need OKB on X Layer to pay via x402. Check pricing: | ||
| ```bash |
There was a problem hiding this comment.
Pre-flight check #2 lists compare_wallets as a premium tool, but there is no corresponding command/tool documentation later in the file. If compare_wallets is supported, add its usage/parameters like the other tools; if not, remove it from this list to avoid directing users to a non-existent endpoint.
| "author": { | ||
| "name": "MUTHUKUMARAN K", | ||
| "email": "" | ||
| }, |
There was a problem hiding this comment.
author.email is set to an empty string. Since this field is optional, it’s better to omit it entirely or provide a valid contact email; an empty value can fail schema validation in some consumers and isn’t actionable for security notifications.
AXON X Layer DeFi Intelligence — 17 MCP tools for gas, Uniswap V3 pools, wallet portfolio, swap quotes, yield farming, and x402 micro-payment gating on X Layer (Chain ID 196). Built for Build X Hackathon 2026. Live at https://axon-onld.onrender.com