From doraemon
This skill should be used when the user asks to "run a Doraemon node", "set up the Doraemon gateway", "deploy my own AI gateway", "start a doraemon server", "configure doraemon", "host a decentralized LLM gateway", or wants to spin up their own doraemon instance to serve frontier model access to other agents in exchange for USDG payments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/doraemon:doraemon-deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the user run their own **doraemon** gateway node — a self-hostable, decentralized AI gateway that accepts USDG micropayments and routes requests to up to 18 frontier LLMs.
You are helping the user run their own doraemon gateway node — a self-hostable, decentralized AI gateway that accepts USDG micropayments and routes requests to up to 18 frontier LLMs.
Run these in order:
node --version # need v18+
npm --version
git --version
If Node < 18, tell the user to upgrade via https://nodejs.org.
git clone https://github.com/YunanL/doraemon.git
cd doraemon
npm install
cp config/.env.example config/.env
.envOpen config/.env. Walk the user through the required fields:
| Variable | Description |
|---|---|
DARLING_WALLET_ADDRESS | Their EVM wallet address on X Layer — receives USDG from buyers |
TOKEN_CONTRACT_ADDRESS | USDG contract address for X Layer (check OKX OnchainOS docs or https://docs.globaldollar.com) |
OKX_API_KEY | OKX OnchainOS API key |
OKX_API_SECRET | OKX API secret |
OKX_API_PASSPHRASE | OKX API passphrase |
Get OKX API keys at: https://www.okx.com/account/my-api
| Variable | Models unlocked |
|---|---|
ANTHROPIC_API_KEY | Claude Opus 4.6, Sonnet 4.6, Haiku 4.5 |
OPENAI_API_KEY | GPT-4o, GPT-4o mini, o1, o3-mini |
GOOGLE_API_KEY | Gemini 2.0 Flash, Gemini 2.5 Pro |
DEEPSEEK_API_KEY | DeepSeek V3, DeepSeek R1 |
XAI_API_KEY | Grok 3, Grok 3 Mini |
MISTRAL_API_KEY | Mistral Large, Mistral Small |
MINIMAX_API_KEY | MiniMax-Text-01, MiniMax-M1 |
COHERE_API_KEY | Command R+ |
Models without a configured key are automatically hidden from buyers — no errors.
npm start
The server starts on http://localhost:3000 (or PORT from .env).
curl -s -X POST http://localhost:3000/doraemon/setup \
-H "Content-Type: application/json" \
-d '{}'
Should return availableModels — only models with configured API keys appear.
npm test
42 tests covering payment flow, session management, model routing, and streaming.
To let agents on other machines access your node, expose it via:
ngrok http 3000cloudflared tunnel --url http://localhost:3000PRICE_MARKUP (default 1.2 = 20% service fee). You keep the margin.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub mastersamasama/master-plugin-repository --plugin doraemon