hive-intelligence 1.1.2 → 1.1.3

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 (163) hide show
  1. package/README.md +232 -379
  2. package/agent-skills/.claude-plugin/plugin.json +105 -0
  3. package/{LICENSE → agent-skills/LICENSE} +1 -1
  4. package/agent-skills/README.md +146 -0
  5. package/agent-skills/SKILL.md +68 -0
  6. package/agent-skills/evals/README.md +20 -0
  7. package/agent-skills/evals/trigger-queries.json +194 -0
  8. package/agent-skills/package.json +49 -0
  9. package/agent-skills/packs/hive-build/SKILL.md +327 -0
  10. package/agent-skills/packs/hive-build/evals/evals.json +28 -0
  11. package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
  12. package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
  13. package/agent-skills/packs/hive-cli/SKILL.md +141 -0
  14. package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
  15. package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
  16. package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
  17. package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
  18. package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
  19. package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
  20. package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
  21. package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
  22. package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
  23. package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
  24. package/agent-skills/packs/hive-mcp/SKILL.md +224 -0
  25. package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
  26. package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
  27. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
  28. package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
  29. package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
  30. package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
  31. package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
  32. package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
  33. package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
  34. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
  35. package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
  36. package/agent-skills/packs/hive-query/SKILL.md +98 -0
  37. package/agent-skills/packs/hive-query/evals/evals.json +38 -0
  38. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
  39. package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
  40. package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
  41. package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
  42. package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
  43. package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
  44. package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
  45. package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
  46. package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
  47. package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
  48. package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
  49. package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
  50. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
  51. package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
  52. package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
  53. package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
  54. package/agent-skills/references/agents-routing.md +49 -0
  55. package/agent-skills/scripts/validate-agent-skills-package.mjs +178 -0
  56. package/agent-skills/skills.sh.json +40 -0
  57. package/bin/hive-mcp.js +33 -0
  58. package/build/{alias-INGXWFCG.js → alias-CZ3DEYHF.js} +3 -3
  59. package/build/api-client-I23XLSHU.js +28 -0
  60. package/build/auth-KKINNBXT.js +40 -0
  61. package/build/browser-auth-EEFGRHWY.js +9 -0
  62. package/build/{cache-US4LSZPI.js → cache-EGNMENNA.js} +3 -3
  63. package/build/chunk-2MYMHMBF.js +340 -0
  64. package/build/chunk-2MYMHMBF.js.map +1 -0
  65. package/build/chunk-2X3U4DFK.js +77369 -0
  66. package/build/chunk-2X3U4DFK.js.map +1 -0
  67. package/build/chunk-B6G222LS.js +265 -0
  68. package/build/chunk-B6G222LS.js.map +1 -0
  69. package/build/{chunk-WKVZVQTG.js → chunk-DYJBTKNR.js} +4 -4
  70. package/build/chunk-DYJBTKNR.js.map +1 -0
  71. package/build/chunk-IDZD2NVG.js +247 -0
  72. package/build/chunk-IDZD2NVG.js.map +1 -0
  73. package/build/chunk-IZTN7WFH.js +250 -0
  74. package/build/chunk-IZTN7WFH.js.map +1 -0
  75. package/build/{chunk-QMRVH5ZP.js → chunk-KBVPIZS4.js} +10 -2
  76. package/build/chunk-KGYBTXIN.js +86 -0
  77. package/build/chunk-KGYBTXIN.js.map +1 -0
  78. package/build/{chunk-CGXVV6WR.js → chunk-MPIUUE3T.js} +87 -105
  79. package/build/chunk-MPIUUE3T.js.map +1 -0
  80. package/build/chunk-PGBVNMNZ.js +127 -0
  81. package/build/chunk-PGBVNMNZ.js.map +1 -0
  82. package/build/chunk-QNCI4DEB.js +88 -0
  83. package/build/chunk-QNCI4DEB.js.map +1 -0
  84. package/build/chunk-RKICZ6DZ.js +497 -0
  85. package/build/chunk-RKICZ6DZ.js.map +1 -0
  86. package/build/chunk-UKHZIVDT.js +44 -0
  87. package/build/chunk-UKHZIVDT.js.map +1 -0
  88. package/build/{chunk-XQJ6PB2L.js → chunk-V77LO4RO.js} +1 -1
  89. package/build/chunk-V77LO4RO.js.map +1 -0
  90. package/build/{chunk-CP3FXEQA.js → chunk-XYBEFFZ3.js} +5 -6
  91. package/build/chunk-XYBEFFZ3.js.map +1 -0
  92. package/build/cli.js +133 -122
  93. package/build/cli.js.map +1 -1
  94. package/build/{completion-J6HFY6PS.js → completion-BELZL7ND.js} +55 -50
  95. package/build/completion-BELZL7ND.js.map +1 -0
  96. package/build/config-TDX4VUGW.js +58 -0
  97. package/build/{config-dir-IEOID7Q6.js → config-dir-V43W2WIA.js} +3 -3
  98. package/build/{doctor-7WZMCQC7.js → doctor-5K5UWHNX.js} +13 -13
  99. package/build/doctor-5K5UWHNX.js.map +1 -0
  100. package/build/{errors-U6UZWVSD.js → errors-E6MVUBNA.js} +3 -3
  101. package/build/format-TSFSI2K7.js +43 -0
  102. package/build/format-TSFSI2K7.js.map +1 -0
  103. package/build/{init-CAVIFVSH.js → init-YQ5NBICF.js} +2 -2
  104. package/build/init-all-6OWEQALB.js +274 -0
  105. package/build/init-all-6OWEQALB.js.map +1 -0
  106. package/build/mcpServer-AEX3RQ4U.js +20 -0
  107. package/build/mcpServer-AEX3RQ4U.js.map +1 -0
  108. package/build/{namespace-7JWWBWBL.js → namespace-PVHBFDW2.js} +3 -3
  109. package/build/namespace-PVHBFDW2.js.map +1 -0
  110. package/build/{open-FUXYIHFO.js → open-YUIJP37F.js} +6 -6
  111. package/build/open-YUIJP37F.js.map +1 -0
  112. package/build/{output-7PGQWJY2.js → output-IYJBFCYK.js} +3 -3
  113. package/build/output-IYJBFCYK.js.map +1 -0
  114. package/build/serve-KWNJK6EY.js +44 -0
  115. package/build/serve-KWNJK6EY.js.map +1 -0
  116. package/build/server.js +4749 -14124
  117. package/build/server.js.map +1 -1
  118. package/build/setup-YTUKMPNP.js +136 -0
  119. package/build/setup-YTUKMPNP.js.map +1 -0
  120. package/build/stdio.js +31 -0
  121. package/build/stdio.js.map +1 -0
  122. package/build/{telemetry-KNWMQURH.js → telemetry-5IPRKZBL.js} +4 -4
  123. package/build/telemetry-5IPRKZBL.js.map +1 -0
  124. package/build/{tools-VRRMBCZQ.js → tools-PJHWFCAG.js} +15 -15
  125. package/build/uninstall-HWXEIP6K.js +115 -0
  126. package/build/uninstall-HWXEIP6K.js.map +1 -0
  127. package/build/{watch-A75SVIQ6.js → watch-KZ5EDZK3.js} +7 -7
  128. package/package.json +118 -52
  129. package/bin/hive.js +0 -25
  130. package/build/auth-77MKFFBQ.js +0 -233
  131. package/build/auth-77MKFFBQ.js.map +0 -1
  132. package/build/chunk-CGXVV6WR.js.map +0 -1
  133. package/build/chunk-CP3FXEQA.js.map +0 -1
  134. package/build/chunk-DTUDM6HX.js +0 -3108
  135. package/build/chunk-DTUDM6HX.js.map +0 -1
  136. package/build/chunk-LBTLYTZS.js +0 -115
  137. package/build/chunk-LBTLYTZS.js.map +0 -1
  138. package/build/chunk-OK3LSM73.js +0 -22
  139. package/build/chunk-OK3LSM73.js.map +0 -1
  140. package/build/chunk-RRI526CJ.js +0 -212
  141. package/build/chunk-RRI526CJ.js.map +0 -1
  142. package/build/chunk-WKVZVQTG.js.map +0 -1
  143. package/build/chunk-XQJ6PB2L.js.map +0 -1
  144. package/build/completion-J6HFY6PS.js.map +0 -1
  145. package/build/config-ANFERP7A.js +0 -99
  146. package/build/config-ANFERP7A.js.map +0 -1
  147. package/build/doctor-7WZMCQC7.js.map +0 -1
  148. package/build/format-CVLLK6GD.js +0 -75
  149. package/build/format-CVLLK6GD.js.map +0 -1
  150. package/build/open-FUXYIHFO.js.map +0 -1
  151. package/build/version-3TZ3U4IR.js +0 -9
  152. /package/build/{alias-INGXWFCG.js.map → alias-CZ3DEYHF.js.map} +0 -0
  153. /package/build/{chunk-QMRVH5ZP.js.map → api-client-I23XLSHU.js.map} +0 -0
  154. /package/build/{config-dir-IEOID7Q6.js.map → auth-KKINNBXT.js.map} +0 -0
  155. /package/build/{errors-U6UZWVSD.js.map → browser-auth-EEFGRHWY.js.map} +0 -0
  156. /package/build/{cache-US4LSZPI.js.map → cache-EGNMENNA.js.map} +0 -0
  157. /package/build/{namespace-7JWWBWBL.js.map → chunk-KBVPIZS4.js.map} +0 -0
  158. /package/build/{output-7PGQWJY2.js.map → config-TDX4VUGW.js.map} +0 -0
  159. /package/build/{telemetry-KNWMQURH.js.map → config-dir-V43W2WIA.js.map} +0 -0
  160. /package/build/{version-3TZ3U4IR.js.map → errors-E6MVUBNA.js.map} +0 -0
  161. /package/build/{init-CAVIFVSH.js.map → init-YQ5NBICF.js.map} +0 -0
  162. /package/build/{tools-VRRMBCZQ.js.map → tools-PJHWFCAG.js.map} +0 -0
  163. /package/build/{watch-A75SVIQ6.js.map → watch-KZ5EDZK3.js.map} +0 -0
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: hive-defi-research
3
+ description: Use this skill for DeFi protocol and chain research covering TVL, fees, revenue, yields, stablecoins, bridges, protocol slugs, and chain-level DeFi metrics. Use it for current protocol comparisons and freshness-sensitive DeFi analysis.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "defi"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-defi-research — DeFi Protocol Analysis
13
+
14
+ Use this skill for protocol, TVL, fees, yield, stablecoin, bridge, or chain
15
+ DeFi questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `defi_protocol_analysis`.
20
+
21
+ Required identifiers: protocol name or chain.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs protocol comparison,
26
+ metric normalization, timestamp caveats, or a structured DeFi report.
27
+
28
+ 1. Resolve the protocol slug or chain name.
29
+ 2. Pull TVL, fee/revenue, yield, bridge, stablecoin, or chain metrics depending
30
+ on the user question.
31
+ 3. Compare protocols only with like-for-like metrics and timestamps.
32
+ 4. State if a metric is unavailable or stale.
33
+
34
+ ## Example
35
+
36
+ For "compare Aave and Compound", run protocol-level TVL and fee/yield checks for
37
+ each, then summarize differences in a table.
38
+
39
+ ## Runtime status handling
40
+
41
+ Treat unreliable or temporarily unavailable DeFi endpoints as `degraded`.
42
+ Do not silently omit a metric; mark it unavailable with the runtime status.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-defi-research",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Compare Aave and Compound by current TVL, fees, and yield context.",
7
+ "expected_output": "Uses defi_protocol_analysis, resolves protocol slugs, fetches like-for-like metrics with timestamps, and marks missing/stale data.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses defi_protocol_analysis.",
11
+ "Normalizes metrics and timestamps.",
12
+ "Caveats missing or stale metrics."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "What are the top DeFi protocols on Arbitrum right now?",
18
+ "expected_output": "Uses chain-level DeFi metrics with bounded limit, reports provider/freshness/runtime status, and avoids unsupported investment recommendations.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Uses chain-level DeFi workflow.",
22
+ "Bounds the result list.",
23
+ "Reports provider and freshness."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,41 @@
1
+ # DeFi Research Workflow
2
+
3
+ Use this reference for protocol TVL, fees, revenue, yields, stablecoins,
4
+ bridges, and chain-level DeFi metrics.
5
+
6
+ ## Required identifiers
7
+
8
+ - Protocol slug or chain.
9
+ - Optional: time window, metric type, yield pool, stablecoin, or bridge.
10
+
11
+ Ask for a protocol slug or choose a provider-supported slug only when the user
12
+ clearly named the protocol.
13
+
14
+ ## Tool selection order
15
+
16
+ 1. Resolve protocol or chain.
17
+ 2. Use `search_tools` for protocol, TVL, fee/revenue, yield, stablecoin, bridge,
18
+ or chain metrics.
19
+ 3. Inspect schemas before invocation.
20
+ 4. Pull only the metrics needed for the question.
21
+ 5. For comparisons, normalize metric type and timestamp.
22
+
23
+ ## Bounded calls
24
+
25
+ - Limit protocol lists and yield pools.
26
+ - Avoid comparing TVL snapshots from different dates without caveat.
27
+ - Mark missing fee/yield/stablecoin metrics instead of omitting them.
28
+
29
+ ## Report template
30
+
31
+ - Summary: protocol or chain DeFi read.
32
+ - Calls made: endpoints, protocol/chain, metric filters.
33
+ - Evidence: TVL, fees/revenue, yield, bridge/stablecoin metrics, freshness.
34
+ - Caveats: unavailable metrics, stale snapshots, methodology differences.
35
+ - Next action: compare peers, inspect yield pool, or add token/pool diligence.
36
+
37
+ ## Gotchas
38
+
39
+ - TVL, revenue, and fees answer different questions.
40
+ - High APY without liquidity/risk context is not a recommendation.
41
+ - Provider methodology can differ across chains and protocols.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: hive-dex-pool-analysis
3
+ description: Use this skill for on-chain DEX and pool analysis covering pools, pairs, swaps, liquidity, trades, OHLCV, trending pools, and token-level DEX flow. Use exact chain, pair, pool, or token identifiers before selecting tools.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "dex"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-dex-pool-analysis — DEX And Pool Analysis
13
+
14
+ Use this skill for pool, pair, swap, liquidity, DEX trend, or token flow
15
+ questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `onchain_dex_pool_analysis`.
20
+
21
+ Required identifiers: chain and pair address or token contract.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs pool/pair resolution,
26
+ liquidity context, trade-flow comparison, or a structured DEX report.
27
+
28
+ 1. Resolve the chain and pair/token identifier.
29
+ 2. Pull pool info, liquidity, trades, OHLCV, and pair stats only as needed.
30
+ 3. Distinguish pool-level facts from token-level facts.
31
+ 4. Report liquidity depth, recent flow, and data freshness.
32
+
33
+ ## Example
34
+
35
+ If the user provides only a token contract, first search for relevant pools or
36
+ pairs, then choose the pool with the most relevant liquidity/volume.
37
+
38
+ ## Runtime status handling
39
+
40
+ If a DEX/pool endpoint is `degraded`, fall back to pair search or token-pool
41
+ tools and state which exact metric is missing.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-dex-pool-analysis",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Analyze the main Uniswap pool for this token and summarize liquidity and recent flow.",
7
+ "expected_output": "Uses onchain_dex_pool_analysis, resolves chain/token/pool, fetches bounded pool/liquidity/trade data, and separates pool facts from token facts.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses onchain_dex_pool_analysis.",
11
+ "Resolves pool or asks for enough identifiers.",
12
+ "Caveats pool-specific liquidity."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Find which pool has the most relevant liquidity for this token contract.",
18
+ "expected_output": "Searches candidate pools, uses bounded limits, chooses based on liquidity/volume evidence, and reports provider/freshness.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Searches candidate pools before choosing.",
22
+ "Uses liquidity or volume evidence.",
23
+ "Reports source and freshness."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,42 @@
1
+ # DEX And Pool Analysis Workflow
2
+
3
+ Use this reference for pool, pair, liquidity, swap, trade, OHLCV, and DEX-flow
4
+ questions.
5
+
6
+ ## Required identifiers
7
+
8
+ - Chain/network.
9
+ - Pair/pool address, token contract, or both token sides.
10
+ - Optional: DEX name, time window, candle interval, trade direction.
11
+
12
+ If the user gives only one token, search candidate pools and prefer the pool
13
+ most relevant to liquidity/volume.
14
+
15
+ ## Tool selection order
16
+
17
+ 1. Resolve chain and pool/pair/token identifiers.
18
+ 2. Use `search_tools` for pair search, pool info, liquidity, trades, OHLCV, and
19
+ trending pool tools.
20
+ 3. Inspect schemas before invocation.
21
+ 4. Start with pool/pair metadata and liquidity.
22
+ 5. Add trades/OHLCV for flow or trend questions.
23
+
24
+ ## Bounded calls
25
+
26
+ - Limit trade lists and candle counts.
27
+ - Do not infer token-wide liquidity from one pool without saying so.
28
+ - Keep pool-level and token-level metrics separate.
29
+
30
+ ## Report template
31
+
32
+ - Summary: pool/liquidity/trade-flow read.
33
+ - Calls made: endpoints, chain, pair/pool/token identifiers.
34
+ - Evidence: liquidity, volume, trades, OHLCV, provider/freshness/runtime status.
35
+ - Caveats: missing pools, stale candles, thin liquidity, degraded provider.
36
+ - Next action: compare pools, widen time window, or add token diligence.
37
+
38
+ ## Gotchas
39
+
40
+ - Same token pair can have multiple pools with different fee tiers and liquidity.
41
+ - Trending pools are not necessarily safe or liquid.
42
+ - OHLCV data can be unavailable even when pair metadata exists.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: hive-market-research
3
+ description: Use this skill for live crypto market research including prices, liquidity, exchange data, OHLC candles, order books, tickers, funding rates, derivatives, and trading context. Use it whenever the user needs current market data or venue-specific market evidence.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "market"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-market-research — Market Research
13
+
14
+ Use this skill for live price, liquidity, exchange, OHLC, order book,
15
+ derivatives, or trading-context questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `market_research`.
20
+
21
+ Required identifiers: token symbol or contract, plus chain or exchange id when
22
+ the request is venue-specific.
23
+
24
+ ## Procedure
25
+
26
+ Read `references/workflow.md` when the request needs multi-step market
27
+ analysis, venue selection, freshness comparison, or a provenance-aware report
28
+ template.
29
+
30
+ 1. Resolve ambiguous symbols with `search_tools`.
31
+ 2. Inspect schemas for exact market tools before execution.
32
+ 3. Prefer focused calls for price, ticker, OHLC, order book, or funding data.
33
+ 4. Return freshness and avoid trading conclusions without liquidity context.
34
+
35
+ ## Example
36
+
37
+ Ask for the exchange id if the user says "check the order book" without naming
38
+ a venue. Use `binance`, `kraken`, or another explicit exchange id only when the
39
+ user provided it or asked you to choose a fixture.
40
+
41
+ ## Runtime status handling
42
+
43
+ Report `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, or
44
+ `failing` per tool/provider. If a venue endpoint is degraded, fall back to
45
+ another public market-data endpoint and state the substitution.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-market-research",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "What's the live BTC price, recent liquidity context, and source freshness?",
7
+ "expected_output": "Routes to market_research, resolves BTC to a provider-supported id, inspects schemas, makes bounded price/liquidity calls, and reports provider/freshness/runtime status.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses market_research.",
11
+ "Uses schema lookup before execution.",
12
+ "Reports provider and freshness."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Check the SOL order book on Kraken and tell me if liquidity is thin.",
18
+ "expected_output": "Requires or uses explicit venue id, performs venue-specific order book lookup, bounds depth, and avoids market-wide claims from one venue.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Treats Kraken as a venue-specific request.",
22
+ "Bounds order book depth.",
23
+ "Caveats venue-specific liquidity."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,47 @@
1
+ # Market Research Workflow
2
+
3
+ Use this reference for live prices, venue data, order books, OHLC, derivatives,
4
+ and liquidity context.
5
+
6
+ ## Required identifiers
7
+
8
+ - Asset: token id, symbol, or contract address.
9
+ - Quote currency, usually `usd`, when asking for prices.
10
+ - Venue/exchange id when the request is order-book, ticker, or derivatives
11
+ specific.
12
+ - Time window and candle interval for OHLC or trend questions.
13
+
14
+ Ask for missing venue or chain details when the choice changes the answer. For
15
+ general price questions, choose a broad market-data toolset and state the source.
16
+
17
+ ## Tool selection order
18
+
19
+ 1. Use `search_tools` with the asset, venue, and market-data intent.
20
+ 2. Inspect the exact schema with `get_api_endpoint_schema`.
21
+ 3. For spot context, prefer price, ticker, and liquidity tools.
22
+ 4. For chart context, prefer OHLC/OHLCV tools with explicit interval and limit.
23
+ 5. For venue context, use exchange/order-book tools only after venue resolution.
24
+ 6. For derivatives, include funding/open-interest context when available.
25
+
26
+ ## Bounded calls
27
+
28
+ - Use small limits for candles and order-book depth unless the user asks for
29
+ more.
30
+ - Avoid fetching all exchanges or all markets for a single-asset question.
31
+ - Do not compare data from different timestamps without saying so.
32
+
33
+ ## Report template
34
+
35
+ - Summary: current market read in one sentence.
36
+ - Calls made: task toolset and exact endpoints.
37
+ - Evidence: provider, venue, identifiers, freshness, and key metrics.
38
+ - Caveats: stale data, missing venue, fallback, degraded provider, or thin
39
+ liquidity.
40
+ - Next action: deeper venue, time-window, or liquidity drilldown if needed.
41
+
42
+ ## Gotchas
43
+
44
+ - Symbols collide. Prefer contract addresses, CoinGecko ids, or venue ids.
45
+ - Order-book liquidity is venue-specific; do not generalize it to the full
46
+ market.
47
+ - Market data can be fresh but still incomplete if a venue/provider is degraded.
@@ -0,0 +1,224 @@
1
+ ---
2
+ name: hive-mcp
3
+ description: Use this skill when installing, configuring, or debugging Hive MCP in Claude Code, Cursor, VS Code, Windsurf, Claude Desktop, ChatGPT Desktop, Gemini CLI, or any MCP-compatible client. Includes hosted-vs-stdio guidance, auth headers, skills installation, and verification.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "setup"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-mcp — Add Hive to an MCP Client
13
+
14
+ Walk the user through adding Hive's MCP endpoint to whichever AI client
15
+ they're using. The endpoint is the same everywhere; only the config
16
+ file path and shape vary per client.
17
+
18
+ ## Universal facts
19
+
20
+ - **MCP URL** — `https://mcp.hiveintelligence.xyz/mcp`
21
+ - **Transport** — Streamable HTTP (single endpoint, supports both
22
+ POST and GET; SSE is legacy)
23
+ - **Auth** — `Authorization: Bearer <HIVE_API_KEY>`. Legacy alias
24
+ `x-api-key: <HIVE_API_KEY>` also works.
25
+ - **Per-key cost** — one credit per tool call regardless of payload
26
+ size. 4xx errors don't consume credits; 5xx errors are refunded.
27
+
28
+ If the user doesn't have a key yet, route to `hive-build-onboarding`
29
+ first.
30
+
31
+ ## Fast path — one command
32
+
33
+ If the user is on a machine with multiple MCP-capable clients and just
34
+ wants Hive everywhere:
35
+
36
+ ```bash
37
+ npx -y -p hive-intelligence@latest hive init --all --browser
38
+ ```
39
+
40
+ This detects every client on the machine, registers Hive in each
41
+ config, and runs PKCE browser auth. Recommended.
42
+
43
+ For agents that support standalone skills, install or copy the Hive skills
44
+ after MCP is connected. In this repo, validate the package locally before
45
+ publishing it to npm or a public skills mirror:
46
+
47
+ ```bash
48
+ npx skills add ./agent-skills --list
49
+ npm --workspace @hiveintelligence/agent-skills run pack:check
50
+ ```
51
+
52
+ Read `references/client-install-matrix.md` when the user asks for install
53
+ strategy, hosted-vs-stdio tradeoffs, or package boundaries.
54
+
55
+ ## Per-client instructions
56
+
57
+ ### Claude Code
58
+
59
+ ```bash
60
+ claude mcp add --transport http hive https://mcp.hiveintelligence.xyz/mcp \
61
+ --header "Authorization: Bearer $HIVE_API_KEY"
62
+ ```
63
+
64
+ Add `--scope user` to install globally, or `--scope project` to commit
65
+ to the repo's `.mcp.json`. Default scope is local. Restart isn't
66
+ required — tools appear in the next chat session.
67
+
68
+ ### Cursor
69
+
70
+ Edit `~/.cursor/mcp.json`. Add the `hive` server block:
71
+
72
+ ```json
73
+ {
74
+ "mcpServers": {
75
+ "hive": {
76
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
77
+ "headers": {
78
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
79
+ }
80
+ }
81
+ }
82
+ }
83
+ ```
84
+
85
+ Reload the MCP server list from Cursor's command palette
86
+ (`Cmd+Shift+P` → "MCP: Reload Servers"). Or use the deeplink:
87
+
88
+ ```
89
+ cursor://anysphere.cursor-deeplink/mcp/install?name=hive&config=<base64-encoded-config>
90
+ ```
91
+
92
+ ### Claude Desktop
93
+
94
+ Settings → Developer → Edit Config. The file opens in your default
95
+ editor. Same shape as Cursor:
96
+
97
+ ```json
98
+ {
99
+ "mcpServers": {
100
+ "hive": {
101
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
102
+ "headers": {
103
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
104
+ }
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ Quit Claude Desktop fully (⌘Q on macOS — the menu bar icon must
111
+ disappear) and reopen. Tools become available on next chat.
112
+
113
+ ### VS Code (GitHub Copilot Chat)
114
+
115
+ Requires VS Code 1.101 or newer. Create `.vscode/mcp.json` in the
116
+ project root (or use User Settings for a global install):
117
+
118
+ ```json
119
+ {
120
+ "servers": {
121
+ "hive": {
122
+ "type": "http",
123
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
124
+ "headers": {
125
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
126
+ }
127
+ }
128
+ }
129
+ }
130
+ ```
131
+
132
+ Reload the window. Note the `type: "http"` field — this is required
133
+ in VS Code's schema and differs from Cursor / Claude Desktop.
134
+
135
+ ### Windsurf
136
+
137
+ Edit `~/.codeium/windsurf/mcp_config.json`:
138
+
139
+ ```json
140
+ {
141
+ "mcpServers": {
142
+ "hive": {
143
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
144
+ "headers": {
145
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
146
+ }
147
+ }
148
+ }
149
+ }
150
+ ```
151
+
152
+ Reload Windsurf.
153
+
154
+ ### ChatGPT Desktop
155
+
156
+ Paid tier required. Settings → Connectors → "Add MCP server" →
157
+
158
+ - **URL** — `https://mcp.hiveintelligence.xyz/mcp`
159
+ - **Auth header** — `Authorization: Bearer YOUR_HIVE_API_KEY`
160
+
161
+ ### Gemini CLI
162
+
163
+ Edit `~/.gemini/settings.json`:
164
+
165
+ ```json
166
+ {
167
+ "mcpServers": {
168
+ "hive": {
169
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
170
+ "headers": {
171
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
172
+ }
173
+ }
174
+ }
175
+ }
176
+ ```
177
+
178
+ ## Verifying the install
179
+
180
+ Run a test query in the connected client. Any of these works:
181
+
182
+ > "What is the current price of Bitcoin?"
183
+ > "Is the token at 0x6982508145454Ce325dDbE47a25d4ec3d2311933 safe?"
184
+ > "Show me the top 5 DeFi protocols by TVL."
185
+
186
+ If the agent calls a Hive tool (you'll see `get_price`,
187
+ `go_plus_token_security`, or `defillama_get_protocols` in the tool
188
+ log), the install worked. If the agent answers from training data
189
+ without a tool call, the MCP connection isn't wired correctly — check
190
+ the config file path and the auth header.
191
+
192
+ ## Common failures
193
+
194
+ - **"401 / Authentication failed"** — header format must be exactly
195
+ `"Authorization": "Bearer YOUR_KEY"` with one literal space after
196
+ `Bearer`. Don't wrap the key in quotes inside the JSON value. Verify
197
+ the key at https://www.hiveintelligence.xyz/dashboard/keys.
198
+
199
+ ## Runtime status handling
200
+
201
+ Hive reports runtime states as `ok`, `missing_key`, `plan_required`,
202
+ `rate_limited`, `degraded`, and `failing`. Installation succeeds when the MCP
203
+ server is connected; individual provider tools may still report non-`ok`
204
+ runtime states until credentials, plan access, or rate limits are resolved.
205
+ - **Connection error / timeout** — corporate proxy may block
206
+ `mcp.hiveintelligence.xyz`. Test on a non-corporate network. If you
207
+ must stay behind the firewall, use the stdio fallback documented at
208
+ https://www.hiveintelligence.xyz/install/claude-desktop.
209
+ - **"createPopperScope is not a function"** — webpack/dev-server
210
+ cache issue, not a Hive bug. Restart the client.
211
+
212
+ ## Source of truth
213
+
214
+ Canonical agent-readable install manifest:
215
+ https://www.hiveintelligence.xyz/agent-onboarding/SKILL.md
216
+
217
+ Per-client docs:
218
+ - https://www.hiveintelligence.xyz/install/claude-code
219
+ - https://www.hiveintelligence.xyz/install/claude-desktop
220
+ - https://www.hiveintelligence.xyz/install/cursor
221
+ - https://www.hiveintelligence.xyz/install/vs-code
222
+ - https://www.hiveintelligence.xyz/install/windsurf
223
+ - https://www.hiveintelligence.xyz/install/chatgpt
224
+ - https://www.hiveintelligence.xyz/install/gemini-cli
@@ -0,0 +1,38 @@
1
+ {
2
+ "skill_name": "hive-mcp",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Set up Hive MCP in Cursor and make sure the agent also gets Hive skills.",
7
+ "expected_output": "Provides Cursor MCP config for hosted HTTP, Authorization header format, reload step, and skills install path.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Uses https://mcp.hiveintelligence.xyz/mcp.",
11
+ "Shows Authorization: Bearer YOUR_HIVE_API_KEY.",
12
+ "Mentions Hive skills installation or package."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Should I use hosted Hive MCP or local stdio for Claude Desktop?",
18
+ "expected_output": "Recommends hosted remote MCP by default and local stdio for development, self-hosting, local-only clients, or provider-key experiments.",
19
+ "files": [],
20
+ "assertions": [
21
+ "States hosted remote MCP is the default product path.",
22
+ "Explains when stdio is appropriate.",
23
+ "Includes verification guidance."
24
+ ]
25
+ },
26
+ {
27
+ "id": 3,
28
+ "prompt": "How many Hive npm packages should we publish for MCP, adapters, and skills?",
29
+ "expected_output": "Separates server/CLI, typed client adapter, skills-only package, and compatibility CLI/docs surface with clear package responsibilities.",
30
+ "files": [],
31
+ "assertions": [
32
+ "Mentions hive-intelligence and the hive CLI.",
33
+ "Mentions @hiveintelligence/mcp-client.",
34
+ "Mentions @hiveintelligence/agent-skills."
35
+ ]
36
+ }
37
+ ]
38
+ }