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.
- package/LICENSE +12 -10
- package/README.md +325 -351
- package/agent-skills/.claude-plugin/plugin.json +111 -0
- package/agent-skills/.mcp.json +11 -0
- package/agent-skills/AGENTS.md +37 -0
- package/agent-skills/LICENSE +21 -0
- package/agent-skills/README.md +145 -0
- package/agent-skills/SKILL.md +80 -0
- package/agent-skills/evals/README.md +20 -0
- package/agent-skills/evals/trigger-queries.json +464 -0
- package/agent-skills/package.json +49 -0
- package/agent-skills/packs/hive-build/SKILL.md +328 -0
- package/agent-skills/packs/hive-build/evals/evals.json +28 -0
- package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
- package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
- package/agent-skills/packs/hive-cli/SKILL.md +141 -0
- package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
- package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
- package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
- package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
- package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
- package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
- package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
- package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
- package/agent-skills/packs/hive-mcp/SKILL.md +147 -0
- package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
- package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
- package/agent-skills/packs/hive-mcp/references/clients.md +141 -0
- package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
- package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
- package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
- package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
- package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
- package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
- package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
- package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
- package/agent-skills/packs/hive-query/SKILL.md +99 -0
- package/agent-skills/packs/hive-query/evals/evals.json +38 -0
- package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
- package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
- package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
- package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
- package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
- package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
- package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
- package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +75 -0
- package/agent-skills/packs/hive-stateful-monitoring/evals/evals.json +49 -0
- package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
- package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
- package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
- package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
- package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
- package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
- package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
- package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
- package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
- package/agent-skills/references/agents-routing.md +51 -0
- package/agent-skills/scripts/validate-agent-skills-package.mjs +216 -0
- package/agent-skills/skills.sh.json +41 -0
- package/bin/hive-mcp.js +33 -0
- package/build/{alias-INGXWFCG.js → alias-3OPMQF4X.js} +2 -3
- package/build/api-client-EPF6FD7A.js +28 -0
- package/build/auth-Q5Q24IRI.js +39 -0
- package/build/browser-auth-VPF5LZMZ.js +8 -0
- package/build/{cache-US4LSZPI.js → cache-T6KC5YEY.js} +2 -3
- package/build/{chunk-QMRVH5ZP.js → chunk-3WYWXTNN.js} +9 -2
- package/build/chunk-4F5CI6LX.js +340 -0
- package/build/chunk-5XXI25JE.js +496 -0
- package/build/chunk-7JWXBKEJ.js +252 -0
- package/build/chunk-CEWCB5YS.js +71 -0
- package/build/{chunk-CGXVV6WR.js → chunk-FH3YGSY5.js} +86 -105
- package/build/chunk-FRXMGRZQ.js +102 -0
- package/build/chunk-GZPDEXO4.js +126 -0
- package/build/chunk-IZPAMRHP.js +43 -0
- package/build/chunk-JTUKQWIO.js +79720 -0
- package/build/{chunk-CP3FXEQA.js → chunk-NP6NSOG2.js} +4 -6
- package/build/{chunk-XQJ6PB2L.js → chunk-POT2MBEK.js} +0 -1
- package/build/chunk-VBOKVQ74.js +280 -0
- package/build/{chunk-WKVZVQTG.js → chunk-YZ2PXBJK.js} +6 -4
- package/build/chunk-ZCU7XQKF.js +14 -0
- package/build/chunk-ZTJVOWDQ.js +85 -0
- package/build/chunk-ZXB53E7H.js +246 -0
- package/build/cli.js +138 -125
- package/build/{completion-J6HFY6PS.js → completion-46K674EL.js} +54 -50
- package/build/config-XE6Q5P4I.js +57 -0
- package/build/{config-dir-IEOID7Q6.js → config-dir-MAWX5AUF.js} +2 -3
- package/build/{doctor-7WZMCQC7.js → doctor-HGMQE6IN.js} +37 -13
- package/build/{errors-U6UZWVSD.js → errors-J2PH3NLJ.js} +2 -3
- package/build/format-5X2HIVDT.js +42 -0
- package/build/{init-CAVIFVSH.js → init-JMDNM7ZZ.js} +1 -2
- package/build/init-all-5SKNV75X.js +273 -0
- package/build/mcpServer-5TKKSKJM.js +21 -0
- package/build/monitor-worker.js +1140 -0
- package/build/{namespace-7JWWBWBL.js → namespace-FSX2G3NM.js} +2 -3
- package/build/{open-FUXYIHFO.js → open-5A6ZQMGC.js} +5 -6
- package/build/{output-7PGQWJY2.js → output-V3D4YZ6U.js} +2 -3
- package/build/serve-AGCOXXFM.js +49 -0
- package/build/server.js +5042 -14125
- package/build/setup-RMETGJWK.js +135 -0
- package/build/stdio.js +32 -0
- package/build/{telemetry-KNWMQURH.js → telemetry-WCME5XEU.js} +4 -4
- package/build/{tools-VRRMBCZQ.js → tools-KAB6QBZC.js} +15 -15
- package/build/uninstall-FLJMBBSC.js +114 -0
- package/build/update-check-LNZQK3XA.js +18 -0
- package/build/upgrade-DTUIHVPS.js +171 -0
- package/build/version-I6HDAF4L.js +14 -0
- package/build/{watch-A75SVIQ6.js → watch-YNN255QX.js} +7 -7
- package/package.json +124 -53
- package/bin/hive.js +0 -25
- package/build/alias-INGXWFCG.js.map +0 -1
- package/build/auth-77MKFFBQ.js +0 -233
- package/build/auth-77MKFFBQ.js.map +0 -1
- package/build/cache-US4LSZPI.js.map +0 -1
- package/build/chunk-CGXVV6WR.js.map +0 -1
- package/build/chunk-CP3FXEQA.js.map +0 -1
- package/build/chunk-DTUDM6HX.js +0 -3108
- package/build/chunk-DTUDM6HX.js.map +0 -1
- package/build/chunk-LBTLYTZS.js +0 -115
- package/build/chunk-LBTLYTZS.js.map +0 -1
- package/build/chunk-OK3LSM73.js +0 -22
- package/build/chunk-OK3LSM73.js.map +0 -1
- package/build/chunk-QMRVH5ZP.js.map +0 -1
- package/build/chunk-RRI526CJ.js +0 -212
- package/build/chunk-RRI526CJ.js.map +0 -1
- package/build/chunk-WKVZVQTG.js.map +0 -1
- package/build/chunk-XQJ6PB2L.js.map +0 -1
- package/build/cli.js.map +0 -1
- package/build/completion-J6HFY6PS.js.map +0 -1
- package/build/config-ANFERP7A.js +0 -99
- package/build/config-ANFERP7A.js.map +0 -1
- package/build/config-dir-IEOID7Q6.js.map +0 -1
- package/build/doctor-7WZMCQC7.js.map +0 -1
- package/build/errors-U6UZWVSD.js.map +0 -1
- package/build/format-CVLLK6GD.js +0 -75
- package/build/format-CVLLK6GD.js.map +0 -1
- package/build/init-CAVIFVSH.js.map +0 -1
- package/build/namespace-7JWWBWBL.js.map +0 -1
- package/build/open-FUXYIHFO.js.map +0 -1
- package/build/output-7PGQWJY2.js.map +0 -1
- package/build/server.js.map +0 -1
- package/build/telemetry-KNWMQURH.js.map +0 -1
- package/build/tools-VRRMBCZQ.js.map +0 -1
- package/build/version-3TZ3U4IR.js +0 -9
- package/build/version-3TZ3U4IR.js.map +0 -1
- package/build/watch-A75SVIQ6.js.map +0 -1
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Per-client install instructions
|
|
2
|
+
|
|
3
|
+
The MCP endpoint is the same everywhere — `https://mcp.hiveintelligence.xyz/mcp`
|
|
4
|
+
with `Authorization: Bearer <HIVE_API_KEY>`. Only the config file path and JSON
|
|
5
|
+
shape vary. Read the block for the user's specific client.
|
|
6
|
+
|
|
7
|
+
## Claude Code
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
claude mcp add --transport http hive https://mcp.hiveintelligence.xyz/mcp \
|
|
11
|
+
--header "Authorization: Bearer $HIVE_API_KEY"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Add `--scope user` to install globally, or `--scope project` to commit to the
|
|
15
|
+
repo's `.mcp.json`. Default scope is local. Restart isn't required — tools
|
|
16
|
+
appear in the next chat session.
|
|
17
|
+
|
|
18
|
+
## Cursor
|
|
19
|
+
|
|
20
|
+
Edit `~/.cursor/mcp.json`. Add the `hive` server block:
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"mcpServers": {
|
|
25
|
+
"hive": {
|
|
26
|
+
"url": "https://mcp.hiveintelligence.xyz/mcp",
|
|
27
|
+
"headers": {
|
|
28
|
+
"Authorization": "Bearer YOUR_HIVE_API_KEY"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Reload the MCP server list from Cursor's command palette (`Cmd+Shift+P` → "MCP:
|
|
36
|
+
Reload Servers"). Or use the deeplink:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
cursor://anysphere.cursor-deeplink/mcp/install?name=hive&config=<base64-encoded-config>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Claude Desktop
|
|
43
|
+
|
|
44
|
+
Settings → Developer → Edit Config. The file opens in your default editor. Same
|
|
45
|
+
shape as Cursor:
|
|
46
|
+
|
|
47
|
+
```json
|
|
48
|
+
{
|
|
49
|
+
"mcpServers": {
|
|
50
|
+
"hive": {
|
|
51
|
+
"url": "https://mcp.hiveintelligence.xyz/mcp",
|
|
52
|
+
"headers": {
|
|
53
|
+
"Authorization": "Bearer YOUR_HIVE_API_KEY"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Quit Claude Desktop fully (⌘Q on macOS — the menu bar icon must disappear) and
|
|
61
|
+
reopen. Tools become available on next chat.
|
|
62
|
+
|
|
63
|
+
## VS Code (GitHub Copilot Chat)
|
|
64
|
+
|
|
65
|
+
Requires VS Code 1.101 or newer. Create `.vscode/mcp.json` in the project root
|
|
66
|
+
(or use User Settings for a global install):
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"servers": {
|
|
71
|
+
"hive": {
|
|
72
|
+
"type": "http",
|
|
73
|
+
"url": "https://mcp.hiveintelligence.xyz/mcp",
|
|
74
|
+
"headers": {
|
|
75
|
+
"Authorization": "Bearer YOUR_HIVE_API_KEY"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Reload the window. Note the `type: "http"` field — this is required in VS Code's
|
|
83
|
+
schema and differs from Cursor / Claude Desktop.
|
|
84
|
+
|
|
85
|
+
## Windsurf
|
|
86
|
+
|
|
87
|
+
Edit `~/.codeium/windsurf/mcp_config.json`:
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"mcpServers": {
|
|
92
|
+
"hive": {
|
|
93
|
+
"url": "https://mcp.hiveintelligence.xyz/mcp",
|
|
94
|
+
"headers": {
|
|
95
|
+
"Authorization": "Bearer YOUR_HIVE_API_KEY"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Reload Windsurf.
|
|
103
|
+
|
|
104
|
+
## OpenAI Responses API
|
|
105
|
+
|
|
106
|
+
Use Hive as a server-side remote MCP tool from your application code. Keep the
|
|
107
|
+
Hive API key on your server and pass it in the remote MCP tool headers.
|
|
108
|
+
|
|
109
|
+
Direct ChatGPT app connector setup is beta and auth-dependent; do not promise a
|
|
110
|
+
verified bearer-token ChatGPT app connector unless Hive has shipped the auth
|
|
111
|
+
shape that workspace requires.
|
|
112
|
+
|
|
113
|
+
## Codex CLI
|
|
114
|
+
|
|
115
|
+
Edit `~/.codex/config.toml`:
|
|
116
|
+
|
|
117
|
+
```toml
|
|
118
|
+
[mcp_servers.hive]
|
|
119
|
+
url = "https://mcp.hiveintelligence.xyz/mcp"
|
|
120
|
+
bearer_token_env_var = "HIVE_API_KEY"
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Set `HIVE_API_KEY` in the shell that launches Codex, then verify with `codex
|
|
124
|
+
/mcp` after restart.
|
|
125
|
+
|
|
126
|
+
## Gemini CLI
|
|
127
|
+
|
|
128
|
+
Edit `~/.gemini/settings.json`:
|
|
129
|
+
|
|
130
|
+
```json
|
|
131
|
+
{
|
|
132
|
+
"mcpServers": {
|
|
133
|
+
"hive": {
|
|
134
|
+
"url": "https://mcp.hiveintelligence.xyz/mcp",
|
|
135
|
+
"headers": {
|
|
136
|
+
"Authorization": "Bearer YOUR_HIVE_API_KEY"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
@@ -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,99 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-query
|
|
3
|
+
description: Use this skill as the default entry point 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 and bounded endpoint invocation. If routing does not surface the exact tool or schema, hand off to hive-tool-discovery.
|
|
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
|
+
| Durable monitors, alerts, scheduled reports, agent memory | `stateful_monitoring` |
|
|
45
|
+
| Ambiguous request or schema lookup | `search_discovery` |
|
|
46
|
+
|
|
47
|
+
## Example
|
|
48
|
+
|
|
49
|
+
User: "Investigate this wallet on Ethereum."
|
|
50
|
+
|
|
51
|
+
Use `wallet_investigation`. Required identifiers are wallet address and chain.
|
|
52
|
+
Then search for the current wallet-balance endpoint, inspect its schema, and
|
|
53
|
+
only then invoke it. Do not hardcode stale endpoint names in the skill. Use this
|
|
54
|
+
sequence: `search_tools` for `wallet investigation ethereum balances`,
|
|
55
|
+
`get_api_endpoint_schema` for the selected endpoint, then `invoke_api_endpoint`
|
|
56
|
+
with schema-valid `address` and `network` or chain arguments.
|
|
57
|
+
|
|
58
|
+
Then use schema lookup and add transfer, NFT, or DeFi-position tools only when
|
|
59
|
+
the user's question needs that detail.
|
|
60
|
+
|
|
61
|
+
## Report template
|
|
62
|
+
|
|
63
|
+
Use this structure for Hive-backed answers:
|
|
64
|
+
|
|
65
|
+
```markdown
|
|
66
|
+
## Summary
|
|
67
|
+
[One or two sentences answering the user.]
|
|
68
|
+
|
|
69
|
+
## Calls made
|
|
70
|
+
- Toolset: [task toolset]
|
|
71
|
+
- Endpoint(s): [exact endpoint names]
|
|
72
|
+
- Identifiers: [chain, wallet, contract, market, protocol, etc.]
|
|
73
|
+
|
|
74
|
+
## Evidence
|
|
75
|
+
- Provider/source: [provider names]
|
|
76
|
+
- Freshness: [Hive execution fetched_at plus provider timestamp, block, or slot when relevant]
|
|
77
|
+
- Runtime status: [ok/missing_key/plan_required/rate_limited/degraded/failing]
|
|
78
|
+
|
|
79
|
+
## Caveats
|
|
80
|
+
[Fallbacks, stale data, unavailable providers, missing identifiers, limits.]
|
|
81
|
+
|
|
82
|
+
## Next action
|
|
83
|
+
[Only include if a retry, deeper check, or user choice is needed.]
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Runtime status handling
|
|
87
|
+
|
|
88
|
+
Hive uses `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, and
|
|
89
|
+
`failing`. Do not treat a non-`ok` provider state as a missing tool. Tell the
|
|
90
|
+
user which task/tool failed, why, and what can be retried or upgraded.
|
|
91
|
+
|
|
92
|
+
## Guardrails
|
|
93
|
+
|
|
94
|
+
- Never invent token, wallet, market, or event identifiers.
|
|
95
|
+
- Prefer exact contract addresses, wallet addresses, pair addresses, market ids,
|
|
96
|
+
or exchange ids over fuzzy names.
|
|
97
|
+
- Keep raw provider endpoints callable; task toolsets are only the selection
|
|
98
|
+
layer.
|
|
99
|
+
- 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 (Polymarket/Kalshi), CCXT, Tenderly, Moralis, Helius, Alchemy"]
|
|
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.
|