vike-core
Install + auth + conventions. Read this first; every other vike-* skill assumes it.
How to call Vike
Use the first of these that is available, in this order:
- Vike MCP tools. If your tools include the
vikeMCP server (the Claude Code pluginvike@vike-ioadds it, and it works without signing in: 50 requests a day on a free anonymous token; for 400 runvike-data login, after which Claude Code's own sign-in to the server applies, as it does whenever no anonymous token is saved), call the tools directly (thevikeskill's routing table names the tool for each question). No install needed. - The CLI. If
vike-datais on PATH (vike-data --version), use it as below. It needs no account: it gets a free anonymous token by itself. - curl (macOS, Linux, Windows 10+; no Node needed). On Windows run
curl.exe; if the shell strips the JSON quotes (Windows PowerShell 5.1), put the body in a file and send-d @body.json.- The credential:
VIKE_API_KEYif set, elseapi_keyoranon_tokenfrom~/.vike/config.json(Windows:%USERPROFILE%\.vike\config.json). If there is none, get a free anonymous token:
Savecurl -s -X POST https://data.vike.io/v1/anon -H 'Content-Type: application/json' -d '{"source":"skill-curl"}' # {"token":"vk_anon_...","daily_limit":50,...}tokenin that file as"anon_token"(create~/.vike/if missing, keep any keys already there, readable by the user only:chmod 600on macOS and Linux), so the CLI uses the same token later. - Send it in
X-API-KEY:
Every other route and its parameters: https://vike.io/data/openapi.json.curl -s "https://data.vike.io/v1/search?q=PEPE&limit=5" -H "X-API-KEY: $TOKEN" # search: tokens, wallets, markets curl -s "https://data.vike.io/v1/hl-cohorts/symbols/BTC/cohort-metrics?axis=size&hours=1" -H "X-API-KEY: $TOKEN" # Hyperliquid BTC long/short per wallet-size cohort curl -s "https://data.vike.io/v1/polymarket/markets?query=bitcoin&active=true&limit=10" -H "X-API-KEY: $TOKEN" # Polymarket markets - Limits: 50 requests a day without an account, shared by MCP, CLI and REST. On HTTP 429 show the user the server's
message(it says how to get 400 a day withvike-data loginor a free key) and stop; do not retry. If a response has anX-Vike-Noticeheader, show it to the user.
- The credential:
Install
npm install -g @vike-io/cli
Authenticate (optional)
No account is needed to start: with no key and no sign-in, the first command gets a free anonymous token (50 requests a day, reset at 00:00 UTC), saves it and says so once on stderr. Do not ask the user to sign in before the first query. For more (400 a day), one of these:
vike-data login # opens the browser: sign in on vike.io, click Allow (waits up to 5 min)
vike-data login --api-key vk_... # or save an API key (servers, CI: no browser needed)
export VIKE_API_KEY=vk_... # env (wins over the saved key, sign-in or anonymous token)
vike-data init # interactive: prompt for an API key + verify
A skill pack can tag the anonymous tokens it creates with VIKE_ANON_SOURCE=<name> ([a-z0-9-], up to 40
characters). VIKE_NO_ANON=1 turns the anonymous token off.
The browser sign-in is saved to ~/.vike/config.json and refreshed by itself. The browser returns to
http://127.0.0.1:<port> on the machine running vike-data login: on a machine with no browser, use an API key
(https://vike.io/account?tab=api-keys), or vike-data login --no-browser plus ssh -L <port>:127.0.0.1:<port>.
Verify
vike-data doctor # Node version + credential (sign-in, API key or anonymous token, masked, with its source) + endpoint reachability + tool count
vike-data whoami # which credential is in use: auth oauth | api_key | anonymous (with remaining_today), masked
vike-data schema --pretty # every MCP tool with its parameters
vike-data --help # command list; add --help to any command for its flags
Conventions
- All commands accept
--jsonfor pipe-friendly output. Without it, you get a human-readable table. - Addresses: pass full 0x-prefixed hex (42 chars). Never truncate when reporting back to the user.
- USD amounts: integers/decimals (e.g.
--min-usd 10000). - Chain identifiers:
ethereum,bsc,base,hyperevmon the token and wallet commands (alertsandstreamspell Ethereumeth). Exceptions:wallet discoveronbaseandhyperevmneeds--window all(the shorter windows there answer only while freshly rebuilt);token screener --smart-money-onlyand--sort smart_infloware Ethereum only;labelsreads the Ethereum label table.wallet summaryhas no chain flag: it answers for one chain and names it inchain(vike-data call wallet_summary --args '{"address":"0x...","chain":"base"}'asks one). Non-EVM chains and Arbitrum are not served (wallet balanceslists them underchain_errors). - Time windows:
24h,7d,30d,90d,all(per command; checkvike-data <cmd> --help). Windows are counted in UTC calendar days.
Errors
Not signed in→ runvike-data login(browser), orvike-data login --api-key <key>/ setVIKE_API_KEY.- Exit code 3 → the anonymous token's limit (50 a day, or a tool it may not call): the server's message is on stderr. Do not retry; tell the user to run
vike-data login(400 a day). A warning on stderr while it works means few requests are left today. The vike.io sign-in has expired or was revoked→ runvike-data loginagain.HTTP 429/MCP error -32000: ... limit exceededwith a key or sign-in → the plan's request limit (free account 400 requests a day; paid plans at https://vike.io/pricing). Do not retry in a loop.Network error/ timeout → checkvike-data doctor; the endpoint ishttps://data.vike.io/mcp.503from a tool → upstream data source temporarily down; retry in 30s.- A tool that refuses its input (
{"error": ...}) exits 1 in every mode,--jsonincluded: read the message, it names the fix. - A tool with no command of its own:
vike-data call <tool> --args '{"key":"value"}'prints its raw result. vike-data streamexits 1 onreplaced (4410): another program took this key's connection on that address; give each program its own key. OnHTTP 401or4401fix the key. Every other drop reconnects by itself.
Cost awareness
Credits are an accounting figure on each call and never block one. The limit is the number of requests, shared by the MCP server and the REST API: no account 50 requests a day, free account (vike-data login) 400 requests a day, paid plans at https://vike.io/pricing. Free (0 credits): token search, alerts list, alerts channels. Every hl command, every predictfun command, search, and the Polymarket tape, order book, stats, trades, settlement and archive commands are 1 credit. Heaviest: wallet trace (4), then token screener, wallet compare, wallet balances (3).
Which skill to use
- The umbrella skill
vikeholds the routing table — use it when the user is exploring or unsure which command they need. - Task skills (
vike-wallet-who-is,vike-follow-the-money,vike-hl-asset-briefing,vike-pm-market-diligence,vike-daily-brief,vike-smart-money-discovery,vike-perp-funding, etc.) — when the user has a specific question that maps to a known workflow. - If unsure between two, prefer the task skill (a workflow) over the per-tool skill (one command). For raw data, use the per-tool skill with
--json.
