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,83 @@
1
+ # Hive MCP Client Install Matrix
2
+
3
+ Hive's default product path is the hosted remote MCP endpoint:
4
+
5
+ ```text
6
+ https://mcp.hiveintelligence.xyz/mcp
7
+ ```
8
+
9
+ Use local `stdio` when the user is developing Hive itself, self-hosting, testing
10
+ provider keys, or using a desktop client that only supports local commands.
11
+
12
+ ## Package boundaries
13
+
14
+ | Package | Role | Who installs it |
15
+ | --- | --- | --- |
16
+ | `hive-intelligence` | MCP server, CLI, local stdio runtime, bundled skills installer. Exposes `hive`, `hive-intelligence`, and `hive-mcp` binaries. | End users, self-hosters, desktop clients |
17
+ | `@hiveintelligence/mcp-client` | Typed adapter for apps and agent frameworks | Developers integrating Hive into code |
18
+ | `@hiveintelligence/agent-skills` | Skills-only corpus for agents and skill registries | Agents, skill package managers, docs mirrors |
19
+ | `hive-intel` | Packaged user-facing CLI/docs surface retained for compatibility | Existing CLI/docs consumers |
20
+
21
+ ## Recommended setup flow
22
+
23
+ 1. Install hosted MCP first unless the user explicitly needs local `stdio`.
24
+ 2. Add the API key as `Authorization: Bearer <HIVE_API_KEY>`.
25
+ 3. Install or copy skills so the agent knows the workflow layer.
26
+ 4. Verify by asking a live query and checking that the agent calls Hive instead
27
+ of answering from memory.
28
+
29
+ ## Hosted remote MCP
30
+
31
+ Use for most agents:
32
+
33
+ ```json
34
+ {
35
+ "mcpServers": {
36
+ "hive": {
37
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
38
+ "headers": {
39
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## Local stdio MCP
47
+
48
+ Use when a client requires a command-based server:
49
+
50
+ ```json
51
+ {
52
+ "mcpServers": {
53
+ "hive": {
54
+ "command": "npx",
55
+ "args": ["-y", "-p", "hive-intelligence@latest", "hive"],
56
+ "env": {
57
+ "HIVE_API_KEY": "YOUR_HIVE_API_KEY"
58
+ }
59
+ }
60
+ }
61
+ }
62
+ ```
63
+
64
+ ## Skills install
65
+
66
+ Use the Hive CLI for detected local clients:
67
+
68
+ ```bash
69
+ npx -y -p hive-intelligence@latest hive init --all --browser
70
+ ```
71
+
72
+ Use the public skills CLI only after the dedicated GitHub skills mirror is
73
+ published and verified in CI. Before that, validate the local repo package:
74
+
75
+ ```bash
76
+ npx skills add ./agent-skills --list
77
+ ```
78
+
79
+ Check the npm package contents before publishing:
80
+
81
+ ```bash
82
+ npm --workspace @hiveintelligence/agent-skills run pack:check
83
+ ```
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: hive-network-infrastructure
3
+ description: Use this skill for chain infrastructure and RPC questions covering gas, blocks, receipts, logs, transaction status, supported networks, fee data, and diagnostics. Use it when the user needs current chain state or transaction evidence.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "network"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-network-infrastructure — Network Infrastructure
13
+
14
+ Use this skill for block, gas, transaction receipt, logs, supported network, or
15
+ RPC diagnostic questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `network_infrastructure`.
20
+
21
+ Required identifiers: chain. Optional identifiers include block number,
22
+ transaction hash, contract address, or log filter.
23
+
24
+ ## Procedure
25
+
26
+ Read `references/workflow.md` when the request needs transaction diagnostics,
27
+ RPC/provider comparison, gas/fee context, or a structured network report.
28
+
29
+ 1. Confirm the chain/network id.
30
+ 2. Use block/gas/chain-id tools for current state.
31
+ 3. Use transaction, receipt, or logs tools only when the user provides exact
32
+ identifiers.
33
+ 4. Report the block/slot/fetched time so the answer is auditable.
34
+
35
+ ## Example
36
+
37
+ If the user asks whether a transaction succeeded, ask for chain and transaction
38
+ hash before selecting a receipt or transaction lookup tool.
39
+
40
+ ## Runtime status handling
41
+
42
+ Use `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, and
43
+ `failing`. For transient RPC failures, retry once or fall back to another
44
+ network read and state the limitation.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-network-infrastructure",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Check whether this Ethereum transaction succeeded and summarize the receipt evidence.",
7
+ "expected_output": "Uses network_infrastructure, asks for chain/tx hash if missing, inspects receipt schema, and reports block/freshness/runtime status.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses network_infrastructure.",
11
+ "Requires chain and transaction hash.",
12
+ "Reports receipt/block evidence."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "What's current gas on Base and are RPC reads healthy?",
18
+ "expected_output": "Uses current chain/gas/RPC diagnostics, labels provider/source, and avoids broad health claims without diagnostics.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Uses gas or network state workflow.",
22
+ "Reports provider/source.",
23
+ "Caveats health based on available diagnostics."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,41 @@
1
+ # Network Infrastructure Workflow
2
+
3
+ Use this reference for gas, blocks, receipts, logs, transaction status,
4
+ supported networks, fee data, and RPC diagnostics.
5
+
6
+ ## Required identifiers
7
+
8
+ - Chain/network.
9
+ - Optional: transaction hash, block number/hash, contract address, log topic,
10
+ account address, or time window.
11
+
12
+ Ask for exact chain and transaction/block identifiers before status checks.
13
+
14
+ ## Tool selection order
15
+
16
+ 1. Resolve chain/network id.
17
+ 2. Use `search_tools` for gas, block, transaction, receipt, log, supported
18
+ network, or RPC diagnostic tools.
19
+ 3. Inspect schemas before invocation.
20
+ 4. Use current-state tools for gas and block questions.
21
+ 5. Use transaction/receipt/log tools only with exact identifiers.
22
+
23
+ ## Bounded calls
24
+
25
+ - Bound log queries by block range and topics.
26
+ - Do not run broad chain scans for a single transaction question.
27
+ - Retry transient RPC failures once when appropriate.
28
+
29
+ ## Report template
30
+
31
+ - Summary: network or transaction state.
32
+ - Calls made: endpoints, chain, identifiers, filters.
33
+ - Evidence: block/slot, gas/fee, receipt/log/status, freshness/runtime status.
34
+ - Caveats: provider mismatch, stale block, rate limit, incomplete logs.
35
+ - Next action: narrower log filter, alternate provider, or retry.
36
+
37
+ ## Gotchas
38
+
39
+ - A transaction hash is not globally unique without chain context.
40
+ - Logs require bounded block ranges.
41
+ - HTTP health does not prove provider data freshness.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: hive-nft-research
3
+ description: Use this skill for NFT collection, ownership, metadata, floor, sale, rarity, spam, or Solana asset research. Use it whenever the user needs current NFT evidence rather than a general explanation of NFTs.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "nft"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-nft-research — NFT Research
13
+
14
+ Use this skill for NFT ownership, metadata, collection, floor, sale, rarity, or
15
+ spam/authenticity questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `nft_research`.
20
+
21
+ Required identifiers: chain and collection contract or asset id.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs collection resolution,
26
+ ownership/floor/sale context, spam caveats, or a structured NFT report.
27
+
28
+ 1. Resolve collection contract, token id, wallet, or asset id.
29
+ 2. Pull metadata, owners, floors, sales, rarity, or spam checks as requested.
30
+ 3. Separate collection-level and token-level facts.
31
+ 4. Preserve raw metadata when the user asks about traits or provenance.
32
+
33
+ ## Example
34
+
35
+ For a collection-level question, ask for the chain and contract if the user only
36
+ gave a collection name.
37
+
38
+ ## Runtime status handling
39
+
40
+ If market data is `degraded`, still return metadata/ownership that succeeded
41
+ and label floor or sales metrics as unavailable.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-nft-research",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Research this NFT collection's floor, recent sales, owners, and metadata freshness.",
7
+ "expected_output": "Uses nft_research, asks for or resolves chain/collection contract, fetches bounded floor/sales/owner/metadata data, and reports marketplace/provider caveats.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses nft_research.",
11
+ "Requires chain and collection/asset identifier.",
12
+ "Reports floor/sales metadata caveats."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Is this NFT in my wallet spam or a legitimate asset?",
18
+ "expected_output": "Routes to NFT ownership/metadata/spam checks, preserves wallet and asset identifiers, and avoids unsupported authenticity claims.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Includes spam/authenticity workflow.",
22
+ "Uses wallet and asset identifiers.",
23
+ "Avoids absolute legitimacy claims without evidence."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,42 @@
1
+ # NFT Research Workflow
2
+
3
+ Use this reference for NFT collections, ownership, metadata, floors, sales,
4
+ rarity, spam checks, and Solana assets.
5
+
6
+ ## Required identifiers
7
+
8
+ - Chain/network.
9
+ - Collection contract, token id, asset id, wallet address, or mint.
10
+ - Optional: marketplace, time window, trait filter, or owner.
11
+
12
+ Ask for chain and contract/asset identifiers when the user gives only a
13
+ collection name.
14
+
15
+ ## Tool selection order
16
+
17
+ 1. Resolve collection, token, wallet, or asset id.
18
+ 2. Use `search_tools` for metadata, owners, floor, sales, rarity, spam, and
19
+ Solana DAS asset tools.
20
+ 3. Inspect schemas before invocation.
21
+ 4. Start with metadata/identity.
22
+ 5. Add floor/sales or owner/rarity only when relevant.
23
+
24
+ ## Bounded calls
25
+
26
+ - Limit owner and sales lists.
27
+ - Keep collection-level and token-level evidence separate.
28
+ - Do not treat one marketplace floor as the entire market without caveat.
29
+
30
+ ## Report template
31
+
32
+ - Summary: collection/token ownership or market read.
33
+ - Calls made: endpoints, chain, contract/asset/token identifiers.
34
+ - Evidence: metadata, owner/floor/sales/rarity/spam, freshness/runtime status.
35
+ - Caveats: marketplace coverage, stale floor, missing metadata, degraded data.
36
+ - Next action: trait drilldown, ownership verification, or market comparison.
37
+
38
+ ## Gotchas
39
+
40
+ - NFT metadata can be mutable or stale.
41
+ - Spam checks can lag new collections.
42
+ - Solana assets often require Solana-native DAS identifiers.
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: hive-prediction-markets
3
+ description: Use this skill for prediction market research covering Polymarket, Kalshi, events, markets, outcomes, odds, prices, liquidity, stats, traders, holders, and trades. Never present market probability as ground truth.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "prediction-markets"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-prediction-markets — Prediction Markets
13
+
14
+ Use this skill for prediction market discovery, including Polymarket, Kalshi,
15
+ odds, pricing, event stats, traders, holders, trades, or outcome questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `prediction_markets`.
20
+
21
+ Required identifiers: market id, event id, token id, trader address, or search
22
+ query depending on the request.
23
+
24
+ ## Procedure
25
+
26
+ Read `references/workflow.md` when the request needs market/event discovery,
27
+ liquidity/probability caveats, trader context, or a structured prediction
28
+ market report.
29
+
30
+ 1. Search/filter markets or events when the user starts with a topic.
31
+ 2. Resolve exact market/event/token ids before stats, holders, or trades.
32
+ 3. Report market price, volume/liquidity, outcomes, and freshness.
33
+ 4. Do not present market probability as ground truth.
34
+
35
+ ## Example
36
+
37
+ For "Bitcoin election prediction markets" or "Polymarket vs Kalshi odds",
38
+ search markets/events first, then ask which specific market to inspect if
39
+ multiple candidates match.
40
+
41
+ ## Runtime status handling
42
+
43
+ If a market search succeeds but stats are `degraded`, return the candidates and
44
+ label the missing market details clearly.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-prediction-markets",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Find active prediction markets about the next Fed decision and show the top outcomes with liquidity caveats.",
7
+ "expected_output": "Uses prediction_markets, searches markets/events first, resolves candidate ids, bounds results, and reports price/liquidity/freshness caveats.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses prediction_markets.",
11
+ "Searches markets/events before stats.",
12
+ "States market price is not ground truth."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "For this Polymarket market id, summarize traders, holders, and recent trades.",
18
+ "expected_output": "Uses exact market/token identifiers, fetches bounded traders/holders/trades, and reports provider/runtime status.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Uses exact market or token id.",
22
+ "Bounds traders/holders/trades.",
23
+ "Reports provider and runtime status."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,42 @@
1
+ # Prediction Markets Workflow
2
+
3
+ Use this reference for prediction market discovery, events, outcomes, prices,
4
+ liquidity, stats, traders, holders, and trades.
5
+
6
+ ## Required identifiers
7
+
8
+ - Topic/search query, event id, market id, token id, or trader address.
9
+ - Optional: status filter, limit, date range, outcome, or liquidity threshold.
10
+
11
+ If the user starts with a topic, search candidates first and ask for selection
12
+ when multiple markets match.
13
+
14
+ ## Tool selection order
15
+
16
+ 1. Use `search_tools` for prediction market search, event, market, stats,
17
+ holders, traders, or trade tools.
18
+ 2. Inspect schemas before invocation.
19
+ 3. Search events/markets for topic prompts.
20
+ 4. Resolve exact market/event/token ids before stats, holders, or trades.
21
+ 5. Add liquidity/volume and freshness context before interpreting prices.
22
+
23
+ ## Bounded calls
24
+
25
+ - Use small search limits and page through only when needed.
26
+ - Do not fetch all trades or holders unless the user asks for a deep dive.
27
+ - Keep outcome token prices separate from event-level interpretation.
28
+
29
+ ## Report template
30
+
31
+ - Summary: market/event read and top outcomes.
32
+ - Calls made: endpoints, market/event/token/trader identifiers.
33
+ - Evidence: price, liquidity, volume, outcomes, holders/traders, freshness.
34
+ - Caveats: market probability is not truth, thin liquidity, stale/incomplete
35
+ stats, candidate ambiguity.
36
+ - Next action: inspect selected market, holders, trades, or related events.
37
+
38
+ ## Gotchas
39
+
40
+ - Market prices reflect trading/liquidity, not verified probability.
41
+ - Similar markets can have different resolution criteria.
42
+ - Event-level and outcome-token-level data are not interchangeable.
@@ -0,0 +1,98 @@
1
+ ---
2
+ name: hive-query
3
+ description: Use this skill for any live crypto intelligence question before answering from memory. Route wallet, token, DeFi, NFT, Solana, security, market, DEX, network, or prediction-market requests through Hive task toolsets, schema lookup, and bounded endpoint invocation.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "discovery"
8
+ requires_network: "true"
9
+ version: 2.0.0
10
+ ---
11
+
12
+ # hive-query — Route Crypto Questions Through Hive
13
+
14
+ Use this skill when Hive MCP is connected and the user asks a crypto question.
15
+ Do not answer from model memory when the answer depends on live data.
16
+
17
+ ## Routing rule
18
+
19
+ Read `references/root-mcp-workflow.md` when the user asks how Hive MCP is
20
+ organized, what tools are available, or how an agent should navigate the root
21
+ endpoint without loading the full provider catalog into context.
22
+
23
+ 1. Read `hive://toolsets` or call `search_tools` with the user's intent.
24
+ 2. Select one canonical task toolset.
25
+ 3. Ask for missing identifiers before execution if the toolset requires them.
26
+ 4. Call `get_api_endpoint_schema` for the exact tool you plan to call.
27
+ 5. Call the exact endpoint through `invoke_api_endpoint`.
28
+ 6. Report freshness, provider/runtime status, and any missing-data caveats.
29
+
30
+ ## Canonical task toolsets
31
+
32
+ | Intent | Toolset id |
33
+ | --- | --- |
34
+ | Price, exchange, OHLC, liquidity, derivatives | `market_research` |
35
+ | Token metadata, holders, liquidity, enrichment, risk | `token_diligence` |
36
+ | Wallet balances, transfers, PnL, NFTs, DeFi positions | `wallet_investigation` |
37
+ | Token, approval, phishing, address, simulation risk | `security_risk` |
38
+ | Pools, pairs, trades, OHLCV, DEX flow | `onchain_dex_pool_analysis` |
39
+ | TVL, fees, yields, stablecoins, bridges | `defi_protocol_analysis` |
40
+ | NFT ownership, metadata, floors, sales, rarity | `nft_research` |
41
+ | Blocks, gas, logs, receipts, RPC diagnostics | `network_infrastructure` |
42
+ | Solana wallets, SPL accounts, DAS assets, priority fees | `solana_analysis` |
43
+ | Events, markets, outcomes, traders, holders | `prediction_markets` |
44
+ | Ambiguous request or schema lookup | `search_discovery` |
45
+
46
+ ## Example
47
+
48
+ User: "Investigate this wallet on Ethereum."
49
+
50
+ Use `wallet_investigation`. Required identifiers are wallet address and chain.
51
+ Then search for the current wallet-balance endpoint, inspect its schema, and
52
+ only then invoke it. Do not hardcode stale endpoint names in the skill. Use this
53
+ sequence: `search_tools` for `wallet investigation ethereum balances`,
54
+ `get_api_endpoint_schema` for the selected endpoint, then `invoke_api_endpoint`
55
+ with schema-valid `address` and `network` or chain arguments.
56
+
57
+ Then use schema lookup and add transfer, NFT, or DeFi-position tools only when
58
+ the user's question needs that detail.
59
+
60
+ ## Report template
61
+
62
+ Use this structure for Hive-backed answers:
63
+
64
+ ```markdown
65
+ ## Summary
66
+ [One or two sentences answering the user.]
67
+
68
+ ## Calls made
69
+ - Toolset: [task toolset]
70
+ - Endpoint(s): [exact endpoint names]
71
+ - Identifiers: [chain, wallet, contract, market, protocol, etc.]
72
+
73
+ ## Evidence
74
+ - Provider/source: [provider names]
75
+ - Freshness: [timestamp, block/slot, or fetched_at when available]
76
+ - Runtime status: [ok/missing_key/plan_required/rate_limited/degraded/failing]
77
+
78
+ ## Caveats
79
+ [Fallbacks, stale data, unavailable providers, missing identifiers, limits.]
80
+
81
+ ## Next action
82
+ [Only include if a retry, deeper check, or user choice is needed.]
83
+ ```
84
+
85
+ ## Runtime status handling
86
+
87
+ Hive uses `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, and
88
+ `failing`. Do not treat a non-`ok` provider state as a missing tool. Tell the
89
+ user which task/tool failed, why, and what can be retried or upgraded.
90
+
91
+ ## Guardrails
92
+
93
+ - Never invent token, wallet, market, or event identifiers.
94
+ - Prefer exact contract addresses, wallet addresses, pair addresses, market ids,
95
+ or exchange ids over fuzzy names.
96
+ - Keep raw provider endpoints callable; task toolsets are only the selection
97
+ layer.
98
+ - If a tool is absent from the skill, use `search_tools` instead of guessing.
@@ -0,0 +1,38 @@
1
+ {
2
+ "skill_name": "hive-query",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Use Hive MCP to investigate whether wallet 0x0000000000000000000000000000000000000000 has meaningful Ethereum token activity. Show the tools you would call and the caveats.",
7
+ "expected_output": "Routes through wallet_investigation, requests or infers eth-mainnet, looks up schemas before exact endpoint calls, avoids inventing activity, and reports provider/runtime/freshness caveats.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Mentions wallet_investigation or the wallet task toolset.",
11
+ "Uses get_api_endpoint_schema before invoke_api_endpoint.",
12
+ "Reports provider/runtime status and does not answer from memory."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "A user pasted an Ethereum token contract and asks if it is safe and liquid enough to trade. What Hive workflow should the agent use?",
18
+ "expected_output": "Combines token_diligence and security_risk only as needed, asks for or preserves the exact contract address and chain, inspects schemas, and plans bounded calls.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Chooses token_diligence and/or security_risk.",
22
+ "Requires exact contract address and chain.",
23
+ "Includes provenance, liquidity, and risk reporting expectations."
24
+ ]
25
+ },
26
+ {
27
+ "id": 3,
28
+ "prompt": "Find active prediction markets about the next US Fed decision and summarize the top outcomes with source caveats.",
29
+ "expected_output": "Routes to prediction_markets, searches for market/event tools, inspects schemas, bounds result limits, and cites source, freshness, and missing data caveats.",
30
+ "files": [],
31
+ "assertions": [
32
+ "Chooses prediction_markets.",
33
+ "Uses search_tools or hive://toolsets before endpoint selection.",
34
+ "Reports freshness and source caveats."
35
+ ]
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,54 @@
1
+ # Hive Root MCP Workflow
2
+
3
+ Hive is an agent-facing crypto intelligence product, not a flat endpoint
4
+ catalog. The root MCP endpoint stays compact so agents can decide quickly and
5
+ only pull deeper schemas when needed.
6
+
7
+ ## Architecture
8
+
9
+ ```mermaid
10
+ flowchart LR
11
+ User["User crypto question"] --> Agent["Agent with Hive skill"]
12
+ Agent --> Root["Root MCP /mcp"]
13
+ Root --> Resources["Resources: hive://toolsets, hive://tools, hive://providers, hive://status"]
14
+ Root --> MetaTools["Meta tools: search_tools, get_api_endpoint_schema, invoke_api_endpoint"]
15
+ Root --> Toolsets["Task toolsets"]
16
+ MetaTools --> Registry["Provider endpoint registry"]
17
+ Registry --> Providers["CoinGecko, DeFiLlama, GoPlus, Codex, CCXT, Tenderly, Moralis, Helius, Alchemy, Polymarket"]
18
+ Agent --> Answer["Answer with provenance, freshness, runtime status"]
19
+ ```
20
+
21
+ ## Default agent loop
22
+
23
+ 1. Start from user intent, not provider names.
24
+ 2. Read `hive://toolsets` or call `search_tools`.
25
+ 3. Select the closest task toolset.
26
+ 4. Ask for required identifiers that are missing: chain, wallet, contract,
27
+ token id, pair id, protocol slug, market id, or time window.
28
+ 5. Call `get_api_endpoint_schema` for each exact endpoint before execution.
29
+ 6. Call `invoke_api_endpoint` with bounded arguments. Respect `limit`,
30
+ `page`, `per_page`, `offset`, time windows, and response-size safeguards.
31
+ 7. Report provider, freshness, fallback/degraded state, missing keys, rate
32
+ limits, and caveats.
33
+
34
+ ## Root versus category endpoints
35
+
36
+ - Root `/mcp` should expose a small meta-tool surface. It is optimized for
37
+ agents that need routing, schema lookup, and bounded invocation.
38
+ - Category endpoints expose direct scoped tools for clients that explicitly
39
+ need broad `tools/list` results.
40
+ - Do not treat root `tools/list` as the full product. Full provider coverage is
41
+ discoverable through resources, category listing tools, schema lookup, and
42
+ `invoke_api_endpoint`.
43
+
44
+ ## Reporting standard
45
+
46
+ Every answer that used Hive should include enough context to debug the result:
47
+
48
+ - Toolset or endpoint used.
49
+ - Provider or data source.
50
+ - Chain/network and identifiers.
51
+ - Freshness or timestamp if available.
52
+ - Runtime state: `ok`, `missing_key`, `plan_required`, `rate_limited`,
53
+ `degraded`, or `failing`.
54
+ - Any fallback, cache use, unavailable provider, or omitted data.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: hive-security-risk
3
+ description: Use this skill before advising on swaps, approvals, signatures, dApps, contracts, URLs, or transaction payloads where token, address, approval, phishing, or simulation risk matters. Report severity, evidence, and remediation instead of guessing.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "security"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-security-risk — Security Risk
13
+
14
+ Use this skill before explaining swaps, approvals, signatures, dApps, or
15
+ unknown contracts.
16
+
17
+ ## Task toolset
18
+
19
+ Use `security_risk`.
20
+
21
+ Required identifiers: chain and token contract, wallet address, spender,
22
+ dApp URL, or transaction payload depending on the request.
23
+
24
+ ## Procedure
25
+
26
+ Read `references/workflow.md` when the request involves signing, approvals,
27
+ dApps, simulations, or any risk report that needs severity and remediation.
28
+
29
+ 1. Identify the asset, address, approval, dApp, or transaction payload.
30
+ 2. Run token/address/approval/phishing/simulation checks as appropriate.
31
+ 3. Report severity, evidence, and remediation steps.
32
+ 4. Do not provide signing guidance when critical risk is unresolved.
33
+
34
+ ## Example
35
+
36
+ For an ERC-20 approval concern, collect chain, token contract, owner wallet, and
37
+ spender before selecting the approval or allowance tool.
38
+
39
+ ## Runtime status handling
40
+
41
+ `rate_limited` and `degraded` can be retried with backoff. `plan_required` means
42
+ the tool exists but the upstream account cannot execute it right now.