@vike-io/cli 0.12.1 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +26 -26
  3. package/package.json +1 -2
  4. package/scripts/postinstall.js +3 -3
  5. package/skills/vike/SKILL.md +35 -35
  6. package/skills/vike-alerts-setup/SKILL.md +12 -12
  7. package/skills/vike-alerts-webhook/SKILL.md +5 -5
  8. package/skills/vike-candles/SKILL.md +10 -10
  9. package/skills/vike-core/SKILL.md +12 -12
  10. package/skills/vike-cross-venue-perps/SKILL.md +3 -3
  11. package/skills/vike-hl-position-match/SKILL.md +3 -3
  12. package/skills/vike-hl-top-traders/SKILL.md +2 -2
  13. package/skills/vike-hl-trader-profile/SKILL.md +6 -6
  14. package/skills/vike-perp-funding-arb/SKILL.md +4 -4
  15. package/skills/vike-perp-screener/SKILL.md +4 -4
  16. package/skills/vike-perp-spread-arb/SKILL.md +3 -3
  17. package/skills/vike-polymarket-market-detail/SKILL.md +5 -5
  18. package/skills/vike-polymarket-markets/SKILL.md +5 -5
  19. package/skills/vike-polymarket-screener/SKILL.md +4 -4
  20. package/skills/vike-polymarket-smart-money/SKILL.md +4 -4
  21. package/skills/vike-polymarket-trader/SKILL.md +4 -4
  22. package/skills/vike-router/SKILL.md +8 -8
  23. package/skills/vike-smart-money-discovery/SKILL.md +5 -5
  24. package/skills/vike-token-holders/SKILL.md +7 -7
  25. package/skills/vike-token-research/SKILL.md +4 -4
  26. package/skills/vike-token-screener/SKILL.md +8 -8
  27. package/skills/vike-token-search/SKILL.md +4 -4
  28. package/skills/vike-token-transfers/SKILL.md +4 -4
  29. package/skills/vike-wallet-balances/SKILL.md +6 -6
  30. package/skills/vike-wallet-batch/SKILL.md +6 -6
  31. package/skills/vike-wallet-compare/SKILL.md +5 -5
  32. package/skills/vike-wallet-counterparties/SKILL.md +7 -7
  33. package/skills/vike-wallet-discover/SKILL.md +4 -4
  34. package/skills/vike-wallet-ens/SKILL.md +6 -6
  35. package/skills/vike-wallet-label-provenance/SKILL.md +4 -4
  36. package/skills/vike-wallet-pnl-history/SKILL.md +5 -5
  37. package/skills/vike-wallet-portfolio/SKILL.md +6 -6
  38. package/skills/vike-wallet-summary/SKILL.md +5 -5
  39. package/skills/vike-wallet-trace/SKILL.md +6 -6
  40. package/skills/vike-wallet-transactions/SKILL.md +9 -9
  41. package/src/auth.js +1 -1
  42. package/src/chains.js +1 -1
  43. package/src/commands/doctor.js +2 -2
  44. package/src/commands/init.js +1 -1
  45. package/src/commands/install.js +5 -5
  46. package/src/commands/labels.js +1 -1
  47. package/src/index.js +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-ens
3
3
  description: Reverse ENS lookup — turn a 0x address into a human-readable name like `vitalik.eth`. Cheap, single API call. Use whenever you have an address and want to display a friendlier identifier alongside it.
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-ens
@@ -9,16 +9,16 @@ allowed-tools: Bash(vike:*)
9
9
  ## Command
10
10
 
11
11
  ```bash
12
- vike wallet ens <address> [--json]
12
+ vike-data wallet ens <address> [--json]
13
13
  ```
14
14
 
15
15
  ## Example
16
16
 
17
17
  ```bash
18
- vike wallet ens 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
18
+ vike-data wallet ens 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
19
19
  # → { "address": "0xd8da...", "ens": "vitalik.eth" }
20
20
 
21
- vike wallet ens 0x28c6c06298d514db089934071355e5743bf21d60
21
+ vike-data wallet ens 0x28c6c06298d514db089934071355e5743bf21d60
22
22
  # → { "address": "0x28c6...", "ens": null } (most exchange wallets have no ENS)
23
23
  ```
24
24
 
@@ -36,5 +36,5 @@ vike wallet ens 0x28c6c06298d514db089934071355e5743bf21d60
36
36
 
37
37
  ## Pairs well with
38
38
 
39
- - `vike labels <addr>` — combine ENS + labels for the fullest identity view
40
- - `vike wallet summary <addr>` — ENS + activity profile
39
+ - `vike-data labels <addr>` — combine ENS + labels for the fullest identity view
40
+ - `vike-data wallet summary <addr>` — ENS + activity profile
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-label-provenance
3
3
  description: Multi-source label cascade for any ETH wallet — shows what every upstream label provider AND our in-house heuristic classifier says about an address, with consensus entity/type and per-source attribution. Use when the user asks "who is this address" / "what do you know about this wallet" / "is this address labeled".
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-label-provenance
@@ -11,13 +11,13 @@ The headline differentiator: we don't just show a label, we show **which sources
11
11
  ## Command
12
12
 
13
13
  ```bash
14
- vike labels <address> [--json]
14
+ vike-data labels <address> [--json]
15
15
  ```
16
16
 
17
17
  ## Example
18
18
 
19
19
  ```bash
20
- vike labels 0x28C6c06298d514Db089934071355E5743bf21d60 # Binance Hot Wallet 14
20
+ vike-data labels 0x28C6c06298d514Db089934071355E5743bf21d60 # Binance Hot Wallet 14
21
21
  ```
22
22
 
23
23
  ## Output shape
@@ -60,4 +60,4 @@ vike labels 0x28C6c06298d514Db089934071355E5743bf21d60 # Binance Hot Wallet
60
60
 
61
61
  ## Pairs well with
62
62
 
63
- - `vike wallet summary <addr>` — for the flow metrics of the labeled wallet
63
+ - `vike-data wallet summary <addr>` — for the flow metrics of the labeled wallet
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-pnl-history
3
3
  description: Daily net-flow series for a wallet over the last N days — a directional proxy for daily PnL. Use when the user asks "how has wallet X done over time" / "show me daily flows for Y" / "is this wallet trending up or down".
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-pnl-history
@@ -9,7 +9,7 @@ allowed-tools: Bash(vike:*)
9
9
  ## Command
10
10
 
11
11
  ```bash
12
- vike wallet pnl-history <address>
12
+ vike-data wallet pnl-history <address>
13
13
  [--chain ethereum|bsc|base]
14
14
  [--days N] (max 365, default 30)
15
15
  [--json]
@@ -35,7 +35,7 @@ vike wallet pnl-history <address>
35
35
 
36
36
  **This is NET INFLOW USD, not realized PnL.** True realized PnL requires WAC (weighted-average cost) accounting per token, which we don't do in this fast tool. A wallet that bought $10K and sold $10K of the same token at the SAME price would show $0 here — but if they sold higher, true PnL would be positive (and this tool wouldn't reflect that). Use this for direction + trend, not for tax-grade PnL.
37
37
 
38
- For lifetime realized PnL: `vike wallet discover --sort pnl --window all`.
38
+ For lifetime realized PnL: `vike-data wallet discover --sort pnl --window all`.
39
39
 
40
40
  ## Reading
41
41
 
@@ -53,5 +53,5 @@ For lifetime realized PnL: `vike wallet discover --sort pnl --window all`.
53
53
 
54
54
  ## Pairs well with
55
55
 
56
- - `vike wallet summary <addr>` for the aggregate context
57
- - `vike wallet counterparties <addr>` to see WHO they traded with
56
+ - `vike-data wallet summary <addr>` for the aggregate context
57
+ - `vike-data wallet counterparties <addr>` to see WHO they traded with
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-portfolio
3
3
  description: Composite wallet portfolio view — combines ENS + labels + ERC-20 balances + DeFi positions + recent net flow in one report. Use when the user gives a wallet address and asks for a complete picture ("full report on X" / "everything about this wallet" / "wallet snapshot").
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-portfolio
@@ -13,11 +13,11 @@ Multi-call playbook for a complete wallet snapshot.
13
13
  ```bash
14
14
  ADDR=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
15
15
 
16
- vike wallet ens $ADDR --json & # cheap, ~1 credit
17
- vike labels $ADDR --json & # cheap, ~1 credit
18
- vike wallet summary $ADDR --json & # cheap, ~2 credits
19
- vike wallet balances $ADDR --json & # multi-chain, ~3 credits
20
- vike wallet pnl-history $ADDR --days 30 --json &
16
+ vike-data wallet ens $ADDR --json & # cheap, ~1 credit
17
+ vike-data labels $ADDR --json & # cheap, ~1 credit
18
+ vike-data wallet summary $ADDR --json & # cheap, ~2 credits
19
+ vike-data wallet balances $ADDR --json & # multi-chain, ~3 credits
20
+ vike-data wallet pnl-history $ADDR --days 30 --json &
21
21
  wait
22
22
  ```
23
23
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-summary
3
3
  description: Aggregate metrics for a single wallet — volume, inflow, outflow, net flow, tx count, tokens traded across 24h / 7d / 30d / 90d / all windows. Use when the user gives an address and asks "what's this wallet doing".
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-summary
@@ -9,7 +9,7 @@ allowed-tools: Bash(vike:*)
9
9
  ## Command
10
10
 
11
11
  ```bash
12
- vike wallet summary <address> [--json]
12
+ vike-data wallet summary <address> [--json]
13
13
  ```
14
14
 
15
15
  ## Output
@@ -26,10 +26,10 @@ Per-window rows: `window`, `volume_usd`, `inflow_usd`, `outflow_usd`, `net_flow_
26
26
 
27
27
  ## Anti-patterns
28
28
 
29
- - Don't claim a wallet is "smart money" based on summary alone — cross-reference with labels and PnL: `vike wallet discover --sort pnl` to see if this address is in the top-PnL set.
29
+ - Don't claim a wallet is "smart money" based on summary alone — cross-reference with labels and PnL: `vike-data wallet discover --sort pnl` to see if this address is in the top-PnL set.
30
30
  - A single big inflow can dominate `net_flow_usd` for a window — eyeball `tx_count` to gauge whether it's one trade or many.
31
31
 
32
32
  ## Pairs well with
33
33
 
34
- - `vike wallet discover` to see if this wallet ranks in any leaderboard
35
- - `vike token transfers` after identifying which tokens the wallet trades
34
+ - `vike-data wallet discover` to see if this wallet ranks in any leaderboard
35
+ - `vike-data token transfers` after identifying which tokens the wallet trades
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-trace
3
3
  description: Counterparty graph traversal from a root wallet outward. At each hop, expand to the top N counterparties by USD volume. Use when the user asks "where did funds from X go" / "follow the money 3 hops out" / "trace the network around this wallet" / wallet investigation.
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-trace
@@ -9,7 +9,7 @@ allowed-tools: Bash(vike:*)
9
9
  ## Command
10
10
 
11
11
  ```bash
12
- vike wallet trace <address>
12
+ vike-data wallet trace <address>
13
13
  [--chain ethereum|bsc|base]
14
14
  [--depth N] (1-5, default 2)
15
15
  [--width N] (1-10, default 5)
@@ -45,7 +45,7 @@ vike wallet trace <address>
45
45
  - **Depth 2-3** = "friend-of-friend" — useful for finding where funds end up.
46
46
  - **Edge volume_usd** = the volume between those two specific addresses, NOT cumulative.
47
47
  - **`wallet_type = "cex"`** at depth 1 = funds went to / came from an exchange. Often the END of the trail (anonymous from there).
48
- - **Unlabeled wallet with high volume at depth 1-2** = potentially related wallet, investigate with `vike labels`.
48
+ - **Unlabeled wallet with high volume at depth 1-2** = potentially related wallet, investigate with `vike-data labels`.
49
49
 
50
50
  ## Parameter tuning
51
51
 
@@ -80,6 +80,6 @@ Tell them to click the **Graph** tab. It renders the same trace data as a force-
80
80
 
81
81
  ## Pairs well with
82
82
 
83
- - `vike labels <addr>` — identify any interesting node
84
- - `vike wallet compare <addr_a> <addr_b>` — confirm relatedness once trace surfaces candidates
85
- - `vike wallet transactions <addr>` — drill into specific transfers between two nodes
83
+ - `vike-data labels <addr>` — identify any interesting node
84
+ - `vike-data wallet compare <addr_a> <addr_b>` — confirm relatedness once trace surfaces candidates
85
+ - `vike-data wallet transactions <addr>` — drill into specific transfers between two nodes
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vike-wallet-transactions
3
3
  description: Raw per-wallet transfer list (individual transactions, not aggregates) with direction, day, USD, and token filters. Use when the user asks "show me recent transfers for X" / "last 100 transactions of Y" / "all USDC moves from this wallet" / any forensic audit query.
4
- allowed-tools: Bash(vike:*)
4
+ allowed-tools: Bash(vike-data:*)
5
5
  ---
6
6
 
7
7
  # vike-wallet-transactions
@@ -9,7 +9,7 @@ allowed-tools: Bash(vike:*)
9
9
  ## Command
10
10
 
11
11
  ```bash
12
- vike wallet transactions <address> # alias: vike wallet txs
12
+ vike-data wallet transactions <address> # alias: vike-data wallet txs
13
13
  [--chain ethereum|bsc|base]
14
14
  [--direction in|out|all]
15
15
  [--days N] (max 365)
@@ -23,13 +23,13 @@ vike wallet transactions <address> # alias: vike wallet txs
23
23
 
24
24
  ```bash
25
25
  # Recent in+out transfers, last 7 days
26
- vike wallet txs 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --days 7 --limit 20
26
+ vike-data wallet txs 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --days 7 --limit 20
27
27
 
28
28
  # Only outgoing > $10k in last 30d
29
- vike wallet txs 0xabc... --direction out --min-usd 10000
29
+ vike-data wallet txs 0xabc... --direction out --min-usd 10000
30
30
 
31
31
  # Only USDC transfers
32
- vike wallet txs 0xabc... --token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
32
+ vike-data wallet txs 0xabc... --token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
33
33
  ```
34
34
 
35
35
  ## Output columns
@@ -53,7 +53,7 @@ Sorted descending by time (most recent first).
53
53
 
54
54
  ## Pairs well with
55
55
 
56
- - `vike wallet summary <addr>` — aggregate metrics over same window
57
- - `vike wallet counterparties <addr>` — who they trade with most
58
- - `vike wallet trace <addr>` — graph-traverse outward from this wallet
59
- - `vike labels <addr>` — identify the wallet itself
56
+ - `vike-data wallet summary <addr>` — aggregate metrics over same window
57
+ - `vike-data wallet counterparties <addr>` — who they trade with most
58
+ - `vike-data wallet trace <addr>` — graph-traverse outward from this wallet
59
+ - `vike-data labels <addr>` — identify the wallet itself
package/src/auth.js CHANGED
@@ -47,7 +47,7 @@ export function requireApiKey() {
47
47
  const key = getApiKey();
48
48
  if (!key) {
49
49
  throw new Error(
50
- 'No API key. Run `vike login --api-key <key>` or set VIKE_API_KEY. ' +
50
+ 'No API key. Run `vike-data login --api-key <key>` or set VIKE_API_KEY. ' +
51
51
  'Get a key at https://vike.io/account?tab=api-keys',
52
52
  );
53
53
  }
package/src/chains.js CHANGED
@@ -62,7 +62,7 @@ export function normaliseChain(input, fallback = 'ethereum') {
62
62
  return CHAIN_ALIASES[key] ?? input;
63
63
  }
64
64
 
65
- // Address-format expectations per chain. Used by `vike doctor` and
65
+ // Address-format expectations per chain. Used by `vike-data doctor` and
66
66
  // future input validation. EVM = 0x + 40 hex; Solana = base58 32-44 chars;
67
67
  // BTC = various encodings; privacy chains = chain-specific.
68
68
  export const ADDRESS_FORMATS = {
@@ -24,7 +24,7 @@ export function registerDoctor(program) {
24
24
  ok: Boolean(key),
25
25
  detail: key
26
26
  ? `${key.slice(0, 8)}... (source: ${process.env.VIKE_API_KEY ? 'env' : 'config'})`
27
- : 'Not set. Run `vike init` or `vike login --api-key <key>`',
27
+ : 'Not set. Run `vike-data init` or `vike-data login --api-key <key>`',
28
28
  });
29
29
 
30
30
  // 3. Endpoint
@@ -81,7 +81,7 @@ export function registerDoctor(program) {
81
81
  console.log(`\n${failed} check(s) failed.`);
82
82
  process.exitCode = 1;
83
83
  } else {
84
- console.log('\nAll checks passed. Try: vike token search BTC');
84
+ console.log('\nAll checks passed. Try: vike-data token search BTC');
85
85
  }
86
86
  });
87
87
  }
@@ -44,7 +44,7 @@ export function registerInit(program) {
44
44
  server: info.name,
45
45
  version: info.version,
46
46
  protocol: body?.result?.protocolVersion,
47
- next: 'Try: vike token search BTC',
47
+ next: 'Try: vike-data token search BTC',
48
48
  });
49
49
  });
50
50
  }
@@ -1,4 +1,4 @@
1
- // `vike install` — copy SKILL.md into the agent-discoverable locations for
1
+ // `vike-data install` — copy SKILL.md into the agent-discoverable locations for
2
2
  // supported IDEs/agents so the skill loads without the user having to wire
3
3
  // it up manually.
4
4
  //
@@ -95,8 +95,8 @@ export function registerInstall(program) {
95
95
  if (!targets.claude && !targets.cursor && !targets.copilot && !targets.agents) {
96
96
  console.error('No target selected. Use --claude / --cursor / --copilot / --agents / --all.');
97
97
  console.error('Examples:');
98
- console.error(' vike install --claude');
99
- console.error(' vike install --all');
98
+ console.error(' vike-data install --claude');
99
+ console.error(' vike-data install --all');
100
100
  process.exitCode = 1;
101
101
  return;
102
102
  }
@@ -104,7 +104,7 @@ export function registerInstall(program) {
104
104
  try {
105
105
  skill = readSkillSource();
106
106
  } catch (e) {
107
- console.error(`vike install: ${e.message}`);
107
+ console.error(`vike-data install: ${e.message}`);
108
108
  process.exitCode = 1;
109
109
  return;
110
110
  }
@@ -115,7 +115,7 @@ export function registerInstall(program) {
115
115
  if (targets.copilot) results.push(installCopilot(skill, cwd));
116
116
  if (targets.agents) results.push(installAgents(skill, cwd));
117
117
  } catch (e) {
118
- console.error(`vike install: ${e.message}`);
118
+ console.error(`vike-data install: ${e.message}`);
119
119
  process.exitCode = 1;
120
120
  return;
121
121
  }
@@ -2,7 +2,7 @@ import { callTool } from '../mcp-client.js';
2
2
  import { emit, emitError } from '../format.js';
3
3
 
4
4
  export function registerLabels(program) {
5
- // `vike labels <address>` — multi-source label provenance for one wallet
5
+ // `vike-data labels <address>` — multi-source label provenance for one wallet
6
6
  program
7
7
  .command('labels <address>')
8
8
  .description('Multi-source label cascade for a wallet (10+ providers + in-house heuristic + consensus view)')
package/src/index.js CHANGED
@@ -34,7 +34,7 @@ if (updateNotice) process.stderr.write(updateNotice);
34
34
  const program = new Command();
35
35
 
36
36
  program
37
- .name('vike')
37
+ .name('vike-data')
38
38
  .description('AI-agent CLI for vike.io on-chain analytics')
39
39
  .version(version, '-v, --version', 'Show CLI version');
40
40