hive-intelligence 1.1.2 → 1.1.4

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 (148) hide show
  1. package/LICENSE +12 -10
  2. package/README.md +325 -351
  3. package/agent-skills/.claude-plugin/plugin.json +111 -0
  4. package/agent-skills/.mcp.json +11 -0
  5. package/agent-skills/AGENTS.md +37 -0
  6. package/agent-skills/LICENSE +21 -0
  7. package/agent-skills/README.md +145 -0
  8. package/agent-skills/SKILL.md +80 -0
  9. package/agent-skills/evals/README.md +20 -0
  10. package/agent-skills/evals/trigger-queries.json +464 -0
  11. package/agent-skills/package.json +49 -0
  12. package/agent-skills/packs/hive-build/SKILL.md +328 -0
  13. package/agent-skills/packs/hive-build/evals/evals.json +28 -0
  14. package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
  15. package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
  16. package/agent-skills/packs/hive-cli/SKILL.md +141 -0
  17. package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
  18. package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
  19. package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
  20. package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
  21. package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
  22. package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
  23. package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
  24. package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
  25. package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
  26. package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
  27. package/agent-skills/packs/hive-mcp/SKILL.md +147 -0
  28. package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
  29. package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
  30. package/agent-skills/packs/hive-mcp/references/clients.md +141 -0
  31. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
  32. package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
  33. package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
  34. package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
  35. package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
  36. package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
  37. package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
  38. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
  39. package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
  40. package/agent-skills/packs/hive-query/SKILL.md +99 -0
  41. package/agent-skills/packs/hive-query/evals/evals.json +38 -0
  42. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
  43. package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
  44. package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
  45. package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
  46. package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
  47. package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
  48. package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
  49. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +75 -0
  50. package/agent-skills/packs/hive-stateful-monitoring/evals/evals.json +49 -0
  51. package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
  52. package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
  53. package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
  54. package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
  55. package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
  56. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
  57. package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
  58. package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
  59. package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
  60. package/agent-skills/references/agents-routing.md +51 -0
  61. package/agent-skills/scripts/validate-agent-skills-package.mjs +216 -0
  62. package/agent-skills/skills.sh.json +41 -0
  63. package/bin/hive-mcp.js +33 -0
  64. package/build/{alias-INGXWFCG.js → alias-3OPMQF4X.js} +2 -3
  65. package/build/api-client-EPF6FD7A.js +28 -0
  66. package/build/auth-Q5Q24IRI.js +39 -0
  67. package/build/browser-auth-VPF5LZMZ.js +8 -0
  68. package/build/{cache-US4LSZPI.js → cache-T6KC5YEY.js} +2 -3
  69. package/build/{chunk-QMRVH5ZP.js → chunk-3WYWXTNN.js} +9 -2
  70. package/build/chunk-4F5CI6LX.js +340 -0
  71. package/build/chunk-5XXI25JE.js +496 -0
  72. package/build/chunk-7JWXBKEJ.js +252 -0
  73. package/build/chunk-CEWCB5YS.js +71 -0
  74. package/build/{chunk-CGXVV6WR.js → chunk-FH3YGSY5.js} +86 -105
  75. package/build/chunk-FRXMGRZQ.js +102 -0
  76. package/build/chunk-GZPDEXO4.js +126 -0
  77. package/build/chunk-IZPAMRHP.js +43 -0
  78. package/build/chunk-JTUKQWIO.js +79720 -0
  79. package/build/{chunk-CP3FXEQA.js → chunk-NP6NSOG2.js} +4 -6
  80. package/build/{chunk-XQJ6PB2L.js → chunk-POT2MBEK.js} +0 -1
  81. package/build/chunk-VBOKVQ74.js +280 -0
  82. package/build/{chunk-WKVZVQTG.js → chunk-YZ2PXBJK.js} +6 -4
  83. package/build/chunk-ZCU7XQKF.js +14 -0
  84. package/build/chunk-ZTJVOWDQ.js +85 -0
  85. package/build/chunk-ZXB53E7H.js +246 -0
  86. package/build/cli.js +138 -125
  87. package/build/{completion-J6HFY6PS.js → completion-46K674EL.js} +54 -50
  88. package/build/config-XE6Q5P4I.js +57 -0
  89. package/build/{config-dir-IEOID7Q6.js → config-dir-MAWX5AUF.js} +2 -3
  90. package/build/{doctor-7WZMCQC7.js → doctor-HGMQE6IN.js} +37 -13
  91. package/build/{errors-U6UZWVSD.js → errors-J2PH3NLJ.js} +2 -3
  92. package/build/format-5X2HIVDT.js +42 -0
  93. package/build/{init-CAVIFVSH.js → init-JMDNM7ZZ.js} +1 -2
  94. package/build/init-all-5SKNV75X.js +273 -0
  95. package/build/mcpServer-5TKKSKJM.js +21 -0
  96. package/build/monitor-worker.js +1140 -0
  97. package/build/{namespace-7JWWBWBL.js → namespace-FSX2G3NM.js} +2 -3
  98. package/build/{open-FUXYIHFO.js → open-5A6ZQMGC.js} +5 -6
  99. package/build/{output-7PGQWJY2.js → output-V3D4YZ6U.js} +2 -3
  100. package/build/serve-AGCOXXFM.js +49 -0
  101. package/build/server.js +5042 -14125
  102. package/build/setup-RMETGJWK.js +135 -0
  103. package/build/stdio.js +32 -0
  104. package/build/{telemetry-KNWMQURH.js → telemetry-WCME5XEU.js} +4 -4
  105. package/build/{tools-VRRMBCZQ.js → tools-KAB6QBZC.js} +15 -15
  106. package/build/uninstall-FLJMBBSC.js +114 -0
  107. package/build/update-check-LNZQK3XA.js +18 -0
  108. package/build/upgrade-DTUIHVPS.js +171 -0
  109. package/build/version-I6HDAF4L.js +14 -0
  110. package/build/{watch-A75SVIQ6.js → watch-YNN255QX.js} +7 -7
  111. package/package.json +124 -53
  112. package/bin/hive.js +0 -25
  113. package/build/alias-INGXWFCG.js.map +0 -1
  114. package/build/auth-77MKFFBQ.js +0 -233
  115. package/build/auth-77MKFFBQ.js.map +0 -1
  116. package/build/cache-US4LSZPI.js.map +0 -1
  117. package/build/chunk-CGXVV6WR.js.map +0 -1
  118. package/build/chunk-CP3FXEQA.js.map +0 -1
  119. package/build/chunk-DTUDM6HX.js +0 -3108
  120. package/build/chunk-DTUDM6HX.js.map +0 -1
  121. package/build/chunk-LBTLYTZS.js +0 -115
  122. package/build/chunk-LBTLYTZS.js.map +0 -1
  123. package/build/chunk-OK3LSM73.js +0 -22
  124. package/build/chunk-OK3LSM73.js.map +0 -1
  125. package/build/chunk-QMRVH5ZP.js.map +0 -1
  126. package/build/chunk-RRI526CJ.js +0 -212
  127. package/build/chunk-RRI526CJ.js.map +0 -1
  128. package/build/chunk-WKVZVQTG.js.map +0 -1
  129. package/build/chunk-XQJ6PB2L.js.map +0 -1
  130. package/build/cli.js.map +0 -1
  131. package/build/completion-J6HFY6PS.js.map +0 -1
  132. package/build/config-ANFERP7A.js +0 -99
  133. package/build/config-ANFERP7A.js.map +0 -1
  134. package/build/config-dir-IEOID7Q6.js.map +0 -1
  135. package/build/doctor-7WZMCQC7.js.map +0 -1
  136. package/build/errors-U6UZWVSD.js.map +0 -1
  137. package/build/format-CVLLK6GD.js +0 -75
  138. package/build/format-CVLLK6GD.js.map +0 -1
  139. package/build/init-CAVIFVSH.js.map +0 -1
  140. package/build/namespace-7JWWBWBL.js.map +0 -1
  141. package/build/open-FUXYIHFO.js.map +0 -1
  142. package/build/output-7PGQWJY2.js.map +0 -1
  143. package/build/server.js.map +0 -1
  144. package/build/telemetry-KNWMQURH.js.map +0 -1
  145. package/build/tools-VRRMBCZQ.js.map +0 -1
  146. package/build/version-3TZ3U4IR.js +0 -9
  147. package/build/version-3TZ3U4IR.js.map +0 -1
  148. package/build/watch-A75SVIQ6.js.map +0 -1
@@ -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.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-security-risk",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Is it safe to approve this spender for my ERC-20 token?",
7
+ "expected_output": "Uses security_risk, asks for chain/token/owner/spender if missing, checks approval risk, and avoids signing guidance until risk is resolved.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses security_risk.",
11
+ "Requests missing approval identifiers.",
12
+ "Does not tell the user to sign while risk is unresolved."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Check whether this dApp URL and contract look phishing-related before I connect my wallet.",
18
+ "expected_output": "Routes to dApp/address/phishing checks, reports severity/evidence/remediation, and caveats missing provider data.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Includes phishing or dApp risk checks.",
22
+ "Reports severity and evidence.",
23
+ "Provides remediation or next action."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,46 @@
1
+ # Security Risk Workflow
2
+
3
+ Use this reference for token, address, approval, dApp, phishing, contract, and
4
+ transaction simulation risk.
5
+
6
+ ## Required identifiers
7
+
8
+ - Chain/network.
9
+ - One or more of: token contract, wallet address, spender address, dApp URL,
10
+ contract address, or transaction payload.
11
+
12
+ Ask for missing chain and actor details before approval or simulation checks.
13
+ Never invent a spender, owner, calldata, or URL.
14
+
15
+ ## Tool selection order
16
+
17
+ 1. Identify the risk object: token, address, approval, dApp, contract, or
18
+ transaction.
19
+ 2. Use `search_tools` for the matching security/risk endpoints.
20
+ 3. Inspect schemas before invocation.
21
+ 4. Run the narrowest risk check first.
22
+ 5. Add simulation or approval analysis only when the required payload/owner
23
+ details exist.
24
+
25
+ ## Bounded calls
26
+
27
+ - Keep risk checks scoped to the provided contract, address, or payload.
28
+ - Avoid broad scans unless the user explicitly asks for an audit.
29
+ - Use severity and evidence rather than unsupported certainty.
30
+
31
+ ## Report template
32
+
33
+ - Summary: risk level and safest recommendation.
34
+ - Calls made: endpoints, chain, risk object, identifiers.
35
+ - Evidence: flags, simulation results, approval exposure, source/freshness.
36
+ - Caveats: missing payload, incomplete provider coverage, degraded/rate-limited
37
+ provider.
38
+ - Next action: revoke approval, avoid signing, retry simulation, or provide
39
+ missing payload.
40
+
41
+ ## Gotchas
42
+
43
+ - A token can pass metadata checks and still be risky.
44
+ - `plan_required` means the tool exists but cannot run under current upstream
45
+ credentials.
46
+ - Do not provide signing instructions when a critical risk is unresolved.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: hive-solana-analysis
3
+ description: Use this skill for Solana-specific analysis covering wallets, SPL token accounts, DAS assets, parsed transactions, priority fees, launch data, mints, or Solana NFT assets. Prefer Solana-native identifiers and providers over EVM assumptions.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "solana"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-solana-analysis — Solana Analysis
13
+
14
+ Use this skill for Solana wallets, mints, SPL accounts, DAS assets, parsed
15
+ transactions, priority fees, or Solana token safety questions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `solana_analysis`.
20
+
21
+ Required identifiers: Solana wallet, mint, asset id, or transaction signature.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs Solana-native identifier
26
+ handling, DAS/SPL routing, priority-fee context, or a structured Solana report.
27
+
28
+ 1. Confirm the identifier type: wallet, mint, asset id, program id, or
29
+ transaction signature.
30
+ 2. Use Solana-native tools instead of EVM assumptions.
31
+ 3. For wallets, combine balances, token accounts, assets, and parsed history.
32
+ 4. For execution context, include slot/priority fee/freshness.
33
+
34
+ ## Example
35
+
36
+ If the user gives a mint, use token/security or asset search paths. If the user
37
+ gives a wallet, use owner/balance paths.
38
+
39
+ ## Runtime status handling
40
+
41
+ Classify Helius or Solana provider issues as `missing_key`, `rate_limited`,
42
+ `degraded`, or `failing`. Ask for a retry only when the status is transient.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-solana-analysis",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Analyze this Solana wallet's SPL token accounts and recent parsed activity.",
7
+ "expected_output": "Uses solana_analysis, treats the identifier as Solana-native, inspects schemas, bounds token/history calls, and reports slot/freshness/runtime status.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses solana_analysis.",
11
+ "Avoids EVM assumptions.",
12
+ "Reports Solana-specific freshness such as slot or fetched time."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Check this Solana mint and whether there are any asset or launch-data signals.",
18
+ "expected_output": "Classifies the identifier as a mint, uses Solana token/DAS/launch paths, and reports provider caveats.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Classifies mint versus wallet.",
22
+ "Uses Solana-native tool discovery.",
23
+ "Reports provider/runtime caveats."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,42 @@
1
+ # Solana Analysis Workflow
2
+
3
+ Use this reference for Solana wallets, SPL accounts, DAS assets, parsed
4
+ transactions, priority fees, launch data, mints, and Solana NFTs.
5
+
6
+ ## Required identifiers
7
+
8
+ - Solana wallet, mint, token account, asset id, program id, or transaction
9
+ signature.
10
+ - Optional: slot/time window, owner, collection, or token filter.
11
+
12
+ Do not apply EVM address, chain id, or approval assumptions to Solana requests.
13
+
14
+ ## Tool selection order
15
+
16
+ 1. Classify the identifier: wallet, mint, token account, asset, program, or
17
+ transaction.
18
+ 2. Use `search_tools` for Solana wallet, SPL token, DAS, parsed transaction,
19
+ priority fee, or launch-data tools.
20
+ 3. Inspect schemas before invocation.
21
+ 4. Use wallet paths for owner/balance/history questions.
22
+ 5. Use mint/asset paths for token/NFT questions.
23
+
24
+ ## Bounded calls
25
+
26
+ - Limit parsed history, asset lists, and token accounts.
27
+ - Include slot or fetched time where available.
28
+ - Avoid multi-provider mixing without source labels.
29
+
30
+ ## Report template
31
+
32
+ - Summary: Solana-specific read.
33
+ - Calls made: endpoints, identifiers, filters.
34
+ - Evidence: balances/assets/transactions/fees, source/freshness/runtime status.
35
+ - Caveats: missing key, rate limit, DAS coverage, stale slot, truncated history.
36
+ - Next action: transaction drilldown, asset verification, or risk check.
37
+
38
+ ## Gotchas
39
+
40
+ - Wallets, mints, token accounts, and asset ids are different identifiers.
41
+ - Priority fee estimates are time-sensitive.
42
+ - Parsed transaction coverage can vary by provider and transaction type.
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: hive-stateful-monitoring
3
+ description: Use this skill when a user asks Hive to remember, monitor, schedule, alert, or report on crypto intelligence across sessions. Creates durable monitor intent through Hive's stateful monitoring tools.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "stateful-monitoring"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-stateful-monitoring - Stateful Monitoring
13
+
14
+ Use this skill when the user wants Hive to remember a wallet, token, protocol,
15
+ market, prediction market, watchlist digest, token discovery risk workflow, or
16
+ risk watch workflow and keep reporting on it later.
17
+
18
+ ## Task toolset
19
+
20
+ Use `stateful_monitoring`.
21
+
22
+ Required identifiers: monitor kind and target object.
23
+
24
+ For B2B adapter mode, Hive state is isolated by server-injected subject context:
25
+ `partner API key -> Hive owner user_id -> tenant_id -> end_user_id -> subject_id`.
26
+ The adapter must sign `METHOD + "\n" + PATH + "\n" + TENANT_ID + "\n" +
27
+ END_USER_ID + "\n" + TIMESTAMP` with HMAC-SHA256 and send the
28
+ `X-Hive-Tenant-Id`, `X-Hive-End-User-Id`, `X-Hive-Subject-Timestamp`, and
29
+ `X-Hive-Subject-Signature` headers. Never ask the model or end user to provide
30
+ `__hive_user_id` or `__hive_subject_id`; those are hidden server-injected args.
31
+ In TypeScript backends with controlled source or release-tarball access, use
32
+ `hive-mcp-client` with `subjectSigningSecret` and per-call
33
+ `subject`/`withSubject(...)` context instead of hand-building these headers.
34
+
35
+ ## Procedure
36
+
37
+ 1. Convert the user's durable intent into a monitor `kind`, `target`, `rules`,
38
+ and `cadence`.
39
+ 2. Use `hive_create_monitor` for new watch requests.
40
+ 3. Use `hive_list_monitors` before creating a duplicate monitor.
41
+ 4. Use `hive_update_monitor` to change cadence, rules, target, metadata, or
42
+ status.
43
+ 5. Use `hive_archive_monitor` when the user asks Hive to stop watching.
44
+ 6. Use `hive_get_monitor_runs`, `hive_list_observations`,
45
+ `hive_list_alerts`, `hive_get_latest_snapshot`, or
46
+ `hive_generate_monitor_report` when the user asks what changed, what is
47
+ alerting, or what Hive remembers from previous runs.
48
+ 7. Use `hive_update_alert_status` when the user acknowledges, reopens, or
49
+ resolves an alert.
50
+ 8. Use `hive_remember_fact`, `hive_list_memory_facts`, and
51
+ `hive_forget_memory_fact` for durable user-scoped facts that should appear
52
+ in future monitor reports.
53
+ 9. Use `hive_list_subjects`, `hive_get_subject`, `hive_archive_subject`, and
54
+ `hive_list_subject_audit_events` only when operating or auditing a B2B
55
+ adapter's downstream state boundaries.
56
+ 10. Explain that monitor execution is handled by Hive workers, not by the
57
+ current chat session. Worker-supported monitor kinds are wallet, token,
58
+ protocol, market, prediction_market, watchlist_digest,
59
+ token_discovery_risk, and risk_watch.
60
+
61
+ ## Example
62
+
63
+ For "Watch this Ethereum wallet and tell me when it moves more than $100k",
64
+ create a wallet monitor with an Ethereum address target, a large-transfer rule,
65
+ and the requested cadence or default cadence.
66
+
67
+ For "Send every customer a daily crypto watchlist brief", create a
68
+ `watchlist_digest` monitor per B2B subject with saved wallets, tokens,
69
+ protocols, markets, and optional prediction markets in the target.
70
+
71
+ ## Runtime status handling
72
+
73
+ If stateful tools return `missing_key` or an auth-required error, explain that
74
+ hosted MCP authentication or the Hive persistence backend must be configured
75
+ before durable monitoring can be used. Do not pretend the monitor was saved.
@@ -0,0 +1,49 @@
1
+ {
2
+ "skill_name": "hive-stateful-monitoring",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Watch this Ethereum wallet and alert me when it transfers more than $100k.",
7
+ "expected_output": "Uses stateful_monitoring, creates or updates a wallet monitor with an Ethereum address target, a large-transfer rule, and a durable cadence.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses stateful_monitoring.",
11
+ "Maps the request to a wallet monitor target.",
12
+ "States that Hive workers execute the monitor later."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Show me the crypto monitors Hive already remembers and pause the one watching PEPE.",
18
+ "expected_output": "Lists existing monitors before mutation, identifies the relevant token monitor, and updates its status to paused instead of creating a duplicate.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Calls hive_list_monitors before updating.",
22
+ "Uses hive_update_monitor for pause behavior.",
23
+ "Does not claim success if auth or persistence is unavailable."
24
+ ]
25
+ },
26
+ {
27
+ "id": 3,
28
+ "prompt": "Summarize what changed on my ETH whale wallet monitor and show open alerts.",
29
+ "expected_output": "Uses the stateful monitoring report/read tools to fetch monitor runs, observations, alerts, and latest snapshot before summarizing changed state.",
30
+ "files": [],
31
+ "assertions": [
32
+ "Chooses stateful_monitoring.",
33
+ "Uses hive_generate_monitor_report or the read tools for observations, alerts, runs, and latest snapshot.",
34
+ "Does not invent monitor history if the persistence backend is unavailable."
35
+ ]
36
+ },
37
+ {
38
+ "id": 4,
39
+ "prompt": "Remember that I care most about protocol revenue growth, then include that context in future Aave monitor reports.",
40
+ "expected_output": "Persists the preference with hive_remember_fact in the protocol or default namespace and uses monitor reports for future summaries.",
41
+ "files": [],
42
+ "assertions": [
43
+ "Uses hive_remember_fact for durable user-scoped memory.",
44
+ "Does not encode the preference only in the chat transcript.",
45
+ "Uses hive_generate_monitor_report when asked for future monitor context."
46
+ ]
47
+ }
48
+ ]
49
+ }
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: hive-token-diligence
3
+ description: Use this skill when the user asks whether a token is real, liquid, risky, enriched, investable, tradeable, or worth researching further. Investigate exact chain and token identifiers across metadata, market context, holders, DEX liquidity, enrichment, and risk signals.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "token"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-token-diligence — Token Diligence
13
+
14
+ Use this skill when the user asks whether a token is real, liquid, risky, or
15
+ worth researching further.
16
+
17
+ ## Task toolset
18
+
19
+ Use `token_diligence`.
20
+
21
+ Required identifiers: chain and token contract or exact token id.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs multi-source diligence,
26
+ risk/liquidity prioritization, fallback handling, or a structured token report.
27
+
28
+ 1. Resolve the token with exact chain and contract.
29
+ 2. Pull metadata, price, pair/liquidity, holder, and risk tools as needed.
30
+ 3. Separate facts from interpretation: metadata, market, liquidity, holders,
31
+ security, enrichment.
32
+ 4. Preserve raw provider details when a risk flag depends on source-specific
33
+ fields.
34
+
35
+ ## Example
36
+
37
+ For Ethereum USDC, use the chain plus contract address fixture rather than just
38
+ the symbol `USDC`.
39
+
40
+ ## Runtime status handling
41
+
42
+ Use Hive's runtime statuses directly. If Moralis enrichment is
43
+ `plan_required`, keep the rest of the diligence report and mark enrichment as
44
+ unavailable rather than claiming token diligence failed.
@@ -0,0 +1,27 @@
1
+ {
2
+ "skill_name": "hive-token-diligence",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Run diligence on this Ethereum token contract before I trade it: 0x0000000000000000000000000000000000000000",
7
+ "expected_output": "Uses token_diligence, preserves exact chain/contract, plans metadata/liquidity/holder/risk checks, and reports caveats without trading advice.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses token_diligence.",
11
+ "Requires exact chain and contract.",
12
+ "Includes liquidity and risk evidence sections."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Is this token real or a scam? I only have the ticker.",
18
+ "expected_output": "Does not assume a contract from ticker alone, asks for chain/contract or performs discovery, and explains ambiguity.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Does not treat ticker as unique.",
22
+ "Asks for chain and contract or resolves explicitly.",
23
+ "Avoids unsupported safety conclusion."
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,45 @@
1
+ # Token Diligence Workflow
2
+
3
+ Use this reference when a token needs metadata, liquidity, holder, enrichment,
4
+ and risk evidence.
5
+
6
+ ## Required identifiers
7
+
8
+ - Chain/network.
9
+ - Exact token contract or provider-specific token id.
10
+ - Optional: quote token, pool address, wallet holder, or time window.
11
+
12
+ If the user gives only a ticker or name, resolve the exact contract before
13
+ execution. Do not assume a ticker maps to one asset.
14
+
15
+ ## Tool selection order
16
+
17
+ 1. Resolve chain and contract from the prompt or ask for them.
18
+ 2. Use `search_tools` for token metadata, market, holder, DEX liquidity, and
19
+ risk capabilities.
20
+ 3. Inspect schemas before calling each endpoint.
21
+ 4. Start with metadata and market/liquidity checks.
22
+ 5. Add holder distribution and enrichment only when the user needs depth.
23
+ 6. Add security/risk checks when the user asks whether to trade, approve, or
24
+ trust the token.
25
+
26
+ ## Bounded calls
27
+
28
+ - Limit holder lists and pool searches.
29
+ - Separate token-level data from pool-level data.
30
+ - Preserve provider-specific risk fields when they drive the conclusion.
31
+
32
+ ## Report template
33
+
34
+ - Summary: token identity and overall diligence posture.
35
+ - Calls made: endpoints and identifiers.
36
+ - Evidence: metadata, liquidity, holders, risk/enrichment, source/freshness.
37
+ - Caveats: missing provider keys, plan gates, stale liquidity, unresolved
38
+ contract ambiguity.
39
+ - Next action: security drilldown, liquidity venue check, or holder analysis.
40
+
41
+ ## Gotchas
42
+
43
+ - A verified name/logo is not proof of safety.
44
+ - High FDV or high volume without pool depth can still be risky.
45
+ - Missing enrichment is not the same as a clean risk result.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: hive-tool-discovery
3
+ description: Use this skill only when the exact Hive MCP tool, task toolset, provider, endpoint name, schema, or argument shape is unknown and hive-query routing was not enough. Discover first with Hive resources and search_tools, then inspect schema before any invoke_api_endpoint call.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "discovery"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-tool-discovery — Find The Right Hive Tool
13
+
14
+ Use this skill before calling Hive when the user's request is ambiguous or the
15
+ exact endpoint name is unknown.
16
+
17
+ ## Procedure
18
+
19
+ Read `references/discovery-surfaces.md` when the user asks what discovery
20
+ surfaces exist, how agents know available endpoints, or when to use resources
21
+ instead of tool calls.
22
+
23
+ 1. Read `hive://toolsets` for task-level routing.
24
+ 2. Call `search_tools` with the user's intent and optional provider/category.
25
+ 3. Pick the most specific tool or task toolset.
26
+ 4. Call `get_api_endpoint_schema` before execution.
27
+ 5. Call `invoke_api_endpoint` with only schema-valid arguments.
28
+
29
+ ## Example
30
+
31
+ ```json
32
+ {
33
+ "query": "wallet investigation ethereum balances transfers",
34
+ "limit": 5
35
+ }
36
+ ```
37
+
38
+ ## Runtime status handling
39
+
40
+ Hive uses `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, and
41
+ `failing`. Missing keys, plan gates, quota exhaustion, and rate limits are
42
+ runtime states. Do not say a tool does not exist unless discovery fails to find
43
+ it.
44
+
45
+ ## Guardrails
46
+
47
+ - Do not hardcode stale endpoint names.
48
+ - Use `hive://skills` when the question matches a recurring workflow.
49
+ - Use `hive://status` when the user asks whether Hive or a provider is healthy.
@@ -0,0 +1,38 @@
1
+ {
2
+ "skill_name": "hive-tool-discovery",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "I know Hive has a lot of tools. Which one should I use to get token holders for an Ethereum contract?",
7
+ "expected_output": "Uses discovery before execution, searches token holder intent, selects the most specific endpoint, and inspects the endpoint schema.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Calls or recommends search_tools with token holders, ethereum, contract.",
11
+ "Uses get_api_endpoint_schema before invocation.",
12
+ "Does not hardcode an endpoint without discovery."
13
+ ]
14
+ },
15
+ {
16
+ "id": 2,
17
+ "prompt": "Show me all the ways an agent can discover Hive MCP endpoints and provider availability.",
18
+ "expected_output": "Explains resources, meta tools, category listing tools, schema lookup, and runtime status surfaces.",
19
+ "files": [],
20
+ "assertions": [
21
+ "Mentions hive://toolsets, hive://tools, hive://providers, and hive://status.",
22
+ "Mentions search_tools, get_api_endpoint_schema, and invoke_api_endpoint.",
23
+ "Separates discovery from execution."
24
+ ]
25
+ },
26
+ {
27
+ "id": 3,
28
+ "prompt": "A Hive provider is missing an API key. Should the agent say the tool does not exist?",
29
+ "expected_output": "Classifies missing keys as runtime availability, not catalog absence, and tells the user the provider/tool state and next action.",
30
+ "files": [],
31
+ "assertions": [
32
+ "Explains missing_key as a runtime state.",
33
+ "Does not describe the endpoint as unavailable from the catalog.",
34
+ "Gives an actionable diagnostic step."
35
+ ]
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,62 @@
1
+ # Hive Discovery Surfaces
2
+
3
+ Use this reference when the exact Hive endpoint is unknown. Discovery is a
4
+ first-class workflow, not a fallback after a failed tool call.
5
+
6
+ ## Surfaces
7
+
8
+ | Surface | Use when | Output |
9
+ | --- | --- | --- |
10
+ | `hive://toolsets` | The user described a task or workflow | Canonical task toolsets, required inputs, recommended tools |
11
+ | `hive://tools` | The user asks what Hive can call | Full catalog summary without flooding root `tools/list` |
12
+ | `hive://providers` | The user asks about provider coverage or provenance | Provider names, categories, auth/runtime notes |
13
+ | `hive://status` | The user asks if Hive or a provider is healthy | Classified provider/runtime state |
14
+ | `hive://skills` | The request matches a recurring workflow | Agent skills and when to apply them |
15
+ | `search_tools` | Intent is known but exact endpoint is not | Ranked endpoint/toolset candidates |
16
+ | Category listing tools | The user is inside a known category | Scoped tool lists for market, wallet, DeFi, NFT, security, and other domains |
17
+ | `get_api_endpoint_schema` | Before any exact invocation | Parameters, required fields, validation shape |
18
+ | `invoke_api_endpoint` | After schema validation | Bounded provider call with normalized output and provenance |
19
+
20
+ ## Decision rules
21
+
22
+ - For broad crypto questions, start with `hive://toolsets`.
23
+ - For "what tools do you have?" questions, read `hive://tools`.
24
+ - For "which provider/source?" questions, read `hive://providers`.
25
+ - For health, quota, key, or degradation questions, read `hive://status`.
26
+ - For exact execution, never skip schema lookup unless the schema was already
27
+ loaded in the current turn.
28
+
29
+ ## Search query shape
30
+
31
+ Good `search_tools` queries combine workflow, domain, chain, and identifier
32
+ type:
33
+
34
+ ```json
35
+ {
36
+ "query": "wallet investigation ethereum token balances transfers",
37
+ "limit": 5
38
+ }
39
+ ```
40
+
41
+ ```json
42
+ {
43
+ "query": "token security ethereum contract honeypot approvals",
44
+ "limit": 5
45
+ }
46
+ ```
47
+
48
+ ```json
49
+ {
50
+ "query": "prediction markets event outcomes traders polymarket",
51
+ "limit": 5
52
+ }
53
+ ```
54
+
55
+ ## Common failure states
56
+
57
+ - `missing_key`: the endpoint exists, but the configured key is absent.
58
+ - `plan_required`: the endpoint exists, but the account plan does not allow it.
59
+ - `rate_limited`: retry later or reduce the call volume.
60
+ - `degraded`: provider returned partial, fallback, cached, or stale data.
61
+ - `failing`: provider or Hive path failed. Return the classified failure and
62
+ the next diagnostic step.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: hive-wallet-investigation
3
+ description: Use this skill for wallet, portfolio, holder, whale, transfer, PnL, NFT exposure, DeFi position, or notable on-chain activity investigations. Require wallet address and chain before executing Hive wallet tools.
4
+ license: MIT
5
+ metadata:
6
+ package: "@hiveintelligence/agent-skills"
7
+ category: "wallet"
8
+ requires_network: "true"
9
+ version: 1.0.0
10
+ ---
11
+
12
+ # hive-wallet-investigation — Wallet Investigation
13
+
14
+ Use this skill when the user asks to investigate a wallet, portfolio, holdings,
15
+ transfers, PnL, NFT exposure, or DeFi positions.
16
+
17
+ ## Task toolset
18
+
19
+ Use `wallet_investigation`.
20
+
21
+ Required identifiers: wallet address and chain.
22
+
23
+ ## Procedure
24
+
25
+ Read `references/workflow.md` when the request needs multi-chain handling,
26
+ activity triage, risk caveats, or a structured wallet investigation report.
27
+
28
+ 1. Validate the address format for the requested chain.
29
+ 2. Start with balances and native balance.
30
+ 3. Add transfers, NFT holdings, DeFi positions, or PnL only when relevant.
31
+ 4. Summarize exposure, concentration, notable activity, and missing data.
32
+
33
+ ## Example
34
+
35
+ If the user provides an EVM wallet but no chain, ask whether they want Ethereum,
36
+ Base, Arbitrum, Polygon, or a multi-chain investigation.
37
+
38
+ ## Runtime status handling
39
+
40
+ Classify provider failures as `missing_key`, `plan_required`, `rate_limited`,
41
+ `degraded`, or `failing`. A single blocked enrichment tool should not suppress
42
+ balances or transfers that did succeed.