hive-intelligence 1.6.7 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +10 -4
  2. package/agent-skills/.claude-plugin/plugin.json +10 -0
  3. package/agent-skills/README.md +2 -0
  4. package/agent-skills/SKILL.md +18 -6
  5. package/agent-skills/evals/trigger-queries.json +70 -0
  6. package/agent-skills/package.json +3 -1
  7. package/agent-skills/packs/hive/SKILL.md +382 -0
  8. package/agent-skills/packs/hive/evals/evals.json +50 -0
  9. package/agent-skills/packs/hive/evals/triggers.json +15 -0
  10. package/agent-skills/packs/hive-build-onboarding/SKILL.md +1 -1
  11. package/agent-skills/packs/hive-cli/SKILL.md +2 -2
  12. package/agent-skills/packs/hive-mcp/SKILL.md +9 -5
  13. package/agent-skills/packs/hive-prediction-markets/SKILL.md +145 -0
  14. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +29 -0
  15. package/agent-skills/packs/hive-prediction-markets/evals/triggers.json +14 -0
  16. package/agent-skills/packs/hive-query/SKILL.md +2 -1
  17. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +3 -3
  18. package/agent-skills/references/agents-routing.md +4 -1
  19. package/agent-skills/scripts/validate-agent-skills-package.mjs +2 -0
  20. package/agent-skills/skills.sh.json +9 -1
  21. package/build/{api-client-6AM3HVHQ.js → api-client-UGNFUZ2L.js} +12 -3
  22. package/build/{auth-4LPSQJXD.js → auth-5TLYP2DC.js} +1 -1
  23. package/build/call-args-NVOYX6DL.js +27 -0
  24. package/build/{chunk-G23ZAW36.js → chunk-2C5FBG7B.js} +3 -2
  25. package/build/{chunk-J2PXISXW.js → chunk-3SQPLZW6.js} +42810 -39335
  26. package/build/{chunk-S4HBVZ7O.js → chunk-3Z5VR53Z.js} +36 -7
  27. package/build/{chunk-GADPH72D.js → chunk-4QDGA6GP.js} +52 -1
  28. package/build/{chunk-2SPCKQBJ.js → chunk-5QAXJON7.js} +71 -0
  29. package/build/{chunk-GYVF75XB.js → chunk-FQNW6SZ6.js} +1 -1
  30. package/build/{chunk-LW2DHE32.js → chunk-L4KVJDA7.js} +1 -1
  31. package/build/chunk-POPAEM4E.js +474 -0
  32. package/build/{chunk-P7NLFSZQ.js → chunk-TWYGJEVN.js} +100 -9
  33. package/build/{chunk-32NRUWXA.js → chunk-UPWYFTTJ.js} +3 -3
  34. package/build/{chunk-KUF754NT.js → chunk-WII7MTYZ.js} +52 -12
  35. package/build/chunk-XN3T6YOG.js +32 -0
  36. package/build/chunk-XT6RURQV.js +394 -0
  37. package/build/{chunk-LP5ECG7A.js → chunk-ZDXMZPC6.js} +26 -2
  38. package/build/cli.js +120 -48
  39. package/build/{completion-YVSWWF6D.js → completion-ROZAH667.js} +1 -1
  40. package/build/{doctor-AM6QST7Z.js → doctor-44WSVNGJ.js} +42 -5
  41. package/build/{errors-EL6UMXNJ.js → errors-W3GXQN34.js} +7 -1
  42. package/build/feedback-FRRLZDAF.js +113 -0
  43. package/build/{init-all-54G3CVZA.js → init-all-LYRFE2YQ.js} +5 -5
  44. package/build/{mcpServer-NWOKFR7Q.js → mcpServer-43LTLURB.js} +2 -2
  45. package/build/monitor-worker.js +62 -10
  46. package/build/{namespace-PA2IDNRT.js → namespace-XMFFW47T.js} +1 -1
  47. package/build/{output-XGTE4EWJ.js → output-BBHBJI32.js} +5 -1
  48. package/build/release.json +4 -4
  49. package/build/routing-CP43PP5F.js +43 -0
  50. package/build/{serve-XRNMHIJX.js → serve-LTMDRKXS.js} +1 -1
  51. package/build/server.js +295 -41
  52. package/build/stdio.js +2 -2
  53. package/build/{tools-FNPMELSU.js → tools-VA7JXD3K.js} +81 -33
  54. package/build/{uninstall-P3JJZCXT.js → uninstall-3KJLHTNM.js} +26 -7
  55. package/build/{upgrade-ATIFZANV.js → upgrade-3NR3LAGU.js} +2 -2
  56. package/build/{watch-FG2C5Y2Z.js → watch-HJOTI32P.js} +5 -3
  57. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ {
2
+ "skill_name": "hive",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Show me BTC funding settlements across venues since January 2024 and tell me where funding diverged most.",
7
+ "expected_output": "Detects the transport, calls archive_get_funding_history (or hive archive funding) with base_coin BTC, a from bound and a limit, reports per-venue rates with settled_at and funding_annualized, names the divergence, and ends with a receipt built from _hive.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Uses the archive funding tool rather than a live venue endpoint.",
11
+ "Bounds the call with limit and a time window.",
12
+ "Reports funding_annualized as computed from each row's own interval.",
13
+ "Ends with receipt ids, provider, and runtime status."
14
+ ]
15
+ },
16
+ {
17
+ "id": 2,
18
+ "prompt": "What is ethereum trading at right now?",
19
+ "expected_output": "Calls get_token_price with token ethereum on the detected transport, answers with price, provider, and fetch time, and does not print the credit balance.",
20
+ "files": [],
21
+ "assertions": [
22
+ "Uses the hero tool, not a discovery walk.",
23
+ "Does not answer from memory.",
24
+ "Reports provider and fetched_at."
25
+ ]
26
+ },
27
+ {
28
+ "id": 3,
29
+ "prompt": "I have no Hive account. Can you still check whether 0x6982508145454Ce325dDbE47a25d4ec3d2311933 is a honeypot?",
30
+ "expected_output": "Runs check_token_safety keyless without asking for a key first; on ANON_QUOTA_EXCEEDED shows the keyless-exhausted message once with the setup incantation and does not retry.",
31
+ "files": [],
32
+ "assertions": [
33
+ "Tries the call before mentioning keys.",
34
+ "Handles ANON_QUOTA_EXCEEDED by message, not retry.",
35
+ "Never asks the user to paste a key into chat."
36
+ ]
37
+ },
38
+ {
39
+ "id": 4,
40
+ "prompt": "That funding answer was useless, it only showed one exchange.",
41
+ "expected_output": "Asks once whether to send feedback, and on yes calls hive feedback or report_feedback with a one-line summary and the tool name, then retries the question with a cross-venue call.",
42
+ "files": [],
43
+ "assertions": [
44
+ "Asks before submitting feedback.",
45
+ "Keeps the feedback message to one line without keys or addresses.",
46
+ "Re-attempts with the cross-venue archive tool."
47
+ ]
48
+ }
49
+ ]
50
+ }
@@ -0,0 +1,15 @@
1
+ [
2
+ { "query": "BTC funding history across exchanges since 2024", "should_trigger": true },
3
+ { "query": "what is solana trading at right now", "should_trigger": true },
4
+ { "query": "is this token a honeypot 0x6982508145454Ce325dDbE47a25d4ec3d2311933", "should_trigger": true },
5
+ { "query": "compare basis between binance and hyperliquid for ETH over the last quarter", "should_trigger": true },
6
+ { "query": "set up hive in this project", "should_trigger": true },
7
+ { "query": "polymarket odds on the next fed cut", "should_trigger": true },
8
+ { "query": "run the hive cli to get the top defi protocols by tvl", "should_trigger": true },
9
+ { "query": "what does this wallet hold 0xd8dA6BF26964aF9D7eEd9e03E51415D37aA96045", "should_trigger": true },
10
+ { "query": "explain how perpetual funding rates work in theory", "should_trigger": false },
11
+ { "query": "write a python function that parses a csv", "should_trigger": false },
12
+ { "query": "what was bitcoin's price at the 2017 peak", "should_trigger": false },
13
+ { "query": "should I buy ethereum", "should_trigger": false },
14
+ { "query": "summarize this whitepaper", "should_trigger": false }
15
+ ]
@@ -24,7 +24,7 @@ If the user has a browser available on the same machine as their
24
24
  terminal:
25
25
 
26
26
  ```bash
27
- npx -y -p hive-intelligence@latest hive init --browser
27
+ npx -y -p hive-intelligence@latest hive init --all --skip-verify --browser
28
28
  ```
29
29
 
30
30
  What happens:
@@ -24,8 +24,8 @@ installer. One install, multiple agent entrypoints.
24
24
  If the user doesn't have the CLI installed:
25
25
 
26
26
  ```bash
27
- # One-time install + auth
28
- npx -y -p hive-intelligence@latest hive init --browser
27
+ # One-time install (adds --browser to sign in at the same time)
28
+ npx -y -p hive-intelligence@latest hive init --all --skip-verify --browser
29
29
 
30
30
  # Or, install globally for repeated use
31
31
  npm install -g hive-intelligence
@@ -25,10 +25,12 @@ file path and shape vary per client.
25
25
  `Authorization: Bearer <HIVE_API_KEY>` from secret storage; `x-api-key` is a
26
26
  legacy fallback. Check protected-resource metadata before claiming the
27
27
  interactive path is live.
28
- - **Cost** — one credit per material endpoint execution regardless of payload
29
- size. Search, schema lookup, task-result validation, category listing,
30
- `tools/list`, and resource reads cost zero credits. 4xx errors don't consume
31
- credits; 5xx errors are refunded.
28
+ - **Cost** — discovery tools are free; every other tool costs one credit.
29
+ Keyed lanes debit only after validation and client resolution, so a
30
+ validation error or missing provider key costs 0 and a call that reaches the
31
+ provider costs 1 even when the provider fails. The keyless lane consumes one
32
+ allowance call per material request, valid or not. Every material response
33
+ reports `credit_cost`, `credits_used`, and `credits_remaining`.
32
34
 
33
35
  After hosted OAuth activation, interactive MCP setup does not require the user
34
36
  to create or paste an API key. Route to `hive-build-onboarding` for direct CLI,
@@ -41,9 +43,11 @@ If the user is on a machine with multiple MCP-capable clients and just
41
43
  wants Hive everywhere:
42
44
 
43
45
  ```bash
44
- npx -y -p hive-intelligence@latest hive init --all
46
+ npx -y -p hive-intelligence@latest hive init --all --skip-verify
45
47
  ```
46
48
 
49
+ `--skip-verify` keeps it non-interactive; add `--browser` to sign in too.
50
+
47
51
  This writes URL-only config for supported local clients and prints the native
48
52
  UI steps for clients such as Claude and ChatGPT. When protected-resource
49
53
  metadata is live, each interactive client opens Hive browser authorization on
@@ -0,0 +1,145 @@
1
+ ---
2
+ name: hive-prediction-markets
3
+ description: Use this skill when the user asks about prediction markets, meaning Polymarket events, markets, outcomes, odds, prices, order books, liquidity, odds history, or a wallet's positions and trades, including "what are the odds of X", "find markets about Y", or Kalshi questions (answer from Polymarket and say Kalshi is not covered). Use it whenever live prediction-market evidence is needed. 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.7.0
10
+ ---
11
+
12
+ # hive-prediction-markets: Prediction Markets
13
+
14
+ Discover and analyze Polymarket prediction markets with prices, order books,
15
+ odds history, and wallet positions and trades, always framed as
16
+ market-implied odds rather than truth. Polymarket's Gamma, CLOB, and Data
17
+ APIs are keyless, so these tools work on the keyless lane. Kalshi is not
18
+ covered: its developer agreement requires a data license Hive does not hold,
19
+ so answer Kalshi questions from Polymarket where a matching market exists and
20
+ say plainly that the Kalshi side is unavailable.
21
+
22
+ ## Task toolset and identifiers
23
+
24
+ Toolset: `prediction_markets`. Read `hive://toolsets/prediction_markets` before
25
+ execution; it is authoritative for the current output schema, material-call
26
+ budget, phases, fallback condition, and stop conditions.
27
+
28
+ - Polymarket: `polymarket_search_markets` (topic), `polymarket_get_events`
29
+ (event slug), `polymarket_get_market` (market slug or condition id),
30
+ `polymarket_get_price_history` and `polymarket_get_orderbook` (CLOB token
31
+ id), `polymarket_get_wallet_positions` and `polymarket_get_wallet_activity`
32
+ (EVM wallet address).
33
+ - Required: a market slug, condition id, token id, wallet address, or a
34
+ search query, depending on the request.
35
+ - Optional: status filter, limit, interval, depth, outcome.
36
+
37
+ If the user starts with a topic, search candidates first and ask for selection
38
+ when multiple markets match; similar markets can have different resolution
39
+ criteria.
40
+
41
+ Before choosing endpoints, select exactly one matching entry from the exact
42
+ workflow's routes[]. Follow its ordered steps, use a fallback only under that
43
+ step's published condition, stop at three material calls, and preserve the
44
+ selected route_id in the typed result. The broad coverageCatalog is discovery
45
+ coverage, not an execution plan.
46
+
47
+ ## Procedure
48
+
49
+ 1. Call `search_tools` with the venue and need, or read
50
+ `hive://toolsets/prediction_markets`.
51
+ 2. Call `get_api_endpoint_schema` for each endpoint before calling it.
52
+ 3. Search markets or events for topic prompts; resolve the exact slug,
53
+ ticker, condition id, or token id before pulling books, history, or
54
+ trades.
55
+ 4. Add liquidity, spread, and freshness context before interpreting prices.
56
+ 5. Report the implied odds per outcome, volume or liquidity, venue, provider,
57
+ and freshness, and never present probability as ground truth.
58
+
59
+ ## Bounded calls
60
+
61
+ - Use small search limits and page through only when needed.
62
+ - Do not fetch all trades or a wallet's full history unless the user asks
63
+ for a deep dive.
64
+ - Keep outcome-token prices separate from event-level interpretation.
65
+
66
+ ## Worked example
67
+
68
+ User: "What are the odds on the next Fed rate decision, and how has that
69
+ moved this month?"
70
+
71
+ 1. `polymarket_search_markets` with `{"query": "fed rate decision", "limit": 5}`.
72
+ 2. If several markets match, list candidates with resolution criteria and ask
73
+ which to inspect, or pick the highest-liquidity exact match and say so.
74
+ 3. `polymarket_get_orderbook` for the YES token, then
75
+ `polymarket_get_price_history` with `{"token_id": "...", "interval": "1m"}`,
76
+ and report bid, ask, mid, spread, liquidity, and the month's move.
77
+ 4. Frame the prices as market-implied odds with volume and freshness.
78
+
79
+ ## Report template
80
+
81
+ ```markdown
82
+ ## Summary
83
+ [Market or event read and top outcomes in one or two sentences.]
84
+
85
+ ## Calls made
86
+ - Toolset: prediction_markets
87
+ - Endpoint(s): [exact endpoint names]
88
+ - Identifiers: [slug, condition id, token id, wallet]
89
+
90
+ ## Evidence
91
+ - Outcomes and prices: [per outcome, per venue]
92
+ - Liquidity, spread, volume: [values plus as-of]
93
+ - Provenance: [provider, fetched_at, observed_at or cache_age_ms, runtime status per call]
94
+
95
+ ## Caveats
96
+ [Market probability is not truth, thin liquidity, stale history, candidate ambiguity.]
97
+
98
+ ## Next action
99
+ [Inspect the selected market, book, history, or wallet, only if needed.]
100
+ ```
101
+
102
+ ## Gotchas
103
+
104
+ - Market prices reflect trading and liquidity, not verified probability.
105
+ - Similar markets can have different resolution criteria; quote them when
106
+ comparing venues.
107
+ - Prices are per outcome token in the 0 to 1 range; the YES and NO tokens of
108
+ one market are separate books.
109
+ - Event-level and market-level data are not interchangeable.
110
+
111
+ ## Evidence receipt (required)
112
+
113
+ End every Hive-backed answer with a compact receipt built from the `_hive`
114
+ object on each material tool response:
115
+
116
+ - `provider`, `tool`, `fetched_at`, `observed_at`, `cache_age_ms`, and `runtime_status`
117
+ - `receipt_id`, `receipt_version`, server/build version, and SHA-256 input/result
118
+ digests when present (self-checks, not signatures)
119
+ - `source`, `cache_status`, `truncated`, and any warnings
120
+ - canonical market identifiers (slug, condition id, token id) present
121
+ in provider data
122
+ - material provider disagreements and how they were handled
123
+ - checks that were unavailable, gated, stale, truncated, or intentionally not run
124
+ - a `claims[]` citation from each material statement to exact receipt IDs
125
+ - one `coverage[]` entry for every canonical evidence phase, with each gap explained
126
+
127
+ Never turn missing evidence into a clean result, silently merge conflicting
128
+ provider values, or omit a degraded/fallback call from the receipt.
129
+ `observed_at` is Hive's first-observation/original cache-population time, and
130
+ `cache_age_ms: 0` only means newly retrieved by Hive. Use provider time or
131
+ trade time for source recency; if absent, mark it unknown. Run
132
+ `validate_task_result` before presenting the typed workflow result; it checks
133
+ structure but cannot authenticate an invented receipt.
134
+
135
+ ## Runtime status handling
136
+
137
+ If a market search succeeds but the book or history read is `degraded`,
138
+ return the candidates and label the missing market details clearly.
139
+
140
+ ## Hand-offs
141
+
142
+ - General crypto market prices: `hive-market-research`.
143
+ - A trader's full wallet activity outside Polymarket: `hive-wallet-investigation`.
144
+ - Standing "alert me when odds move" requests: `hive-stateful-monitoring`
145
+ with a `prediction_market` monitor.
@@ -0,0 +1,29 @@
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 Polymarket markets first, resolves candidate slugs, bounds results, reports price, liquidity, and freshness caveats, and ends with a runtime evidence receipt.",
8
+ "files": [],
9
+ "assertions": [
10
+ "Chooses prediction_markets.",
11
+ "Selects polymarket_odds_snapshot for an odds read and preserves route_id.",
12
+ "Searches markets before books or history.",
13
+ "States market price is not ground truth.",
14
+ "Includes receipt ids and missing evidence."
15
+ ]
16
+ },
17
+ {
18
+ "id": 2,
19
+ "prompt": "For this Polymarket wallet, summarize its open positions and recent trades.",
20
+ "expected_output": "Uses the exact wallet address, fetches bounded positions and activity through polymarket_trader_flow, and reports provider and runtime status.",
21
+ "files": [],
22
+ "assertions": [
23
+ "Uses the exact wallet address.",
24
+ "Bounds positions and activity.",
25
+ "Reports provider and runtime status."
26
+ ]
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,14 @@
1
+ [
2
+ { "query": "what are the odds on the next fed rate cut on polymarket", "should_trigger": true },
3
+ { "query": "find prediction markets about the 2026 world cup winner", "should_trigger": true },
4
+ { "query": "compare polymarket vs kalshi on the CPI print markets", "should_trigger": true },
5
+ { "query": "what is this polymarket wallet holding right now", "should_trigger": true },
6
+ { "query": "that 70% odds number, how much liquidity is actually behind it", "should_trigger": true },
7
+ { "query": "show recent trades from this polymarket wallet", "should_trigger": true },
8
+ { "query": "whats the POL token trading at", "should_trigger": false },
9
+ { "query": "what does this trader's wallet hold outside polymarket", "should_trigger": false },
10
+ { "query": "explain how prediction markets resolve disputes", "should_trigger": false },
11
+ { "query": "alert me when these odds move 10 points", "should_trigger": false },
12
+ { "query": "is using polymarket legal in my country", "should_trigger": false },
13
+ { "query": "top defi protocols by tvl", "should_trigger": false }
14
+ ]
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: hive-query
3
- description: Default entry point for any live crypto question when Hive MCP is connected prices, wallets, tokens, DeFi, NFTs, Solana, security, markets, DEX, networks, RWA perps. Use it whenever the answer depends on live or on-chain data instead of answering from memory, even if the user never mentions Hive. Routes intent to a canonical Hive task toolset, then schema lookup and bounded endpoint invocation. If a domain-specific hive-* skill clearly matches, prefer it; if routing cannot surface the exact tool or schema, hand off to hive-tool-discovery.
3
+ description: Use this skill when the hive skill hands off a live crypto question that needs the full task-toolset walk (prices, wallets, tokens, DeFi, NFTs, Solana, security, markets, DEX, networks, RWA perps, prediction markets) and no hero tool answers it in one call. Install hive first; reach for this directly only when the hive pack is absent. Routes intent to a canonical Hive task toolset, then schema lookup and bounded endpoint invocation. If a domain-specific hive-* skill clearly matches, prefer it; if routing cannot surface the exact tool or schema, hand off to hive-tool-discovery.
4
4
  license: MIT
5
5
  metadata:
6
6
  package: "@hiveintelligence/agent-skills"
@@ -55,6 +55,7 @@ without loading the full provider catalog into context.
55
55
  | Blocks, gas, logs, receipts, RPC diagnostics | `network_infrastructure` |
56
56
  | Solana wallets, SPL accounts, DAS assets, priority fees | `solana_analysis` |
57
57
  | Tokenized RWA perps, cross-venue funding, carry, open interest | `rwa_perp_analysis` |
58
+ | Polymarket odds, events, order books, odds history, wallet positions | `prediction_markets` |
58
59
  | Durable monitors, alerts, scheduled reports, agent memory | `stateful_monitoring` |
59
60
  | Ambiguous request or schema lookup | `search_discovery` |
60
61
 
@@ -25,8 +25,8 @@ material-call budget, phases, fallback condition, stop conditions, and the
25
25
  read/write routing policy.
26
26
 
27
27
  Required identifiers: monitor kind and target object. Worker-supported monitor
28
- kinds are `wallet`, `token`, `protocol`, `market`, `watchlist_digest`,
29
- `token_discovery_risk`, and `risk_watch`.
28
+ kinds are `wallet`, `token`, `protocol`, `market`, `prediction_market`,
29
+ `watchlist_digest`, `token_discovery_risk`, and `risk_watch`.
30
30
 
31
31
  Before choosing endpoints, select exactly one matching entry from the exact
32
32
  workflow's routes[]. Follow its ordered steps, use a fallback only under that
@@ -78,7 +78,7 @@ User: "Watch this Ethereum wallet and tell me when it moves more than $100k."
78
78
  User: "Send every customer a daily crypto watchlist brief."
79
79
 
80
80
  Create a `watchlist_digest` monitor per B2B subject with saved wallets,
81
- tokens, protocols, and markets in the target —
81
+ tokens, protocols, markets, and optional prediction markets in the target —
82
82
  after reading the B2B reference above.
83
83
 
84
84
  ## Evidence receipt (required)
@@ -10,7 +10,8 @@ mode where the skill exists but the agent answers from memory before loading it.
10
10
  For live crypto intelligence, prefer Hive retrieval over model memory.
11
11
 
12
12
  - User asks about live crypto data, prices, wallets, tokens, DeFi, NFTs,
13
- Solana, security, DEX pools, or network state: use `hive-query`.
13
+ Solana, security, DEX pools, network state, or prediction markets:
14
+ use `hive` (it loads `hive-query` for the full toolset walk).
14
15
  - Exact Hive endpoint, provider, schema, or argument shape is unknown:
15
16
  use `hive-tool-discovery`.
16
17
  - Clear domain request:
@@ -29,6 +30,8 @@ For live crypto intelligence, prefer Hive retrieval over model memory.
29
30
  `hive-solana-analysis`
30
31
  - blocks, gas, receipts, logs, RPC diagnostics:
31
32
  `hive-network-infrastructure`
33
+ - Polymarket odds, events, order books, odds history, wallet positions:
34
+ `hive-prediction-markets`
32
35
  - User asks Hive to remember, monitor, schedule, alert, or report crypto
33
36
  intelligence across sessions: use `hive-stateful-monitoring`.
34
37
  - Setup, API key, CLI, or app integration:
@@ -16,7 +16,9 @@ const receiptSkills = new Set([
16
16
  "hive-defi-research",
17
17
  "hive-nft-research",
18
18
  "hive-solana-analysis",
19
+ "hive",
19
20
  "hive-network-infrastructure",
21
+ "hive-prediction-markets",
20
22
  "hive-stateful-monitoring",
21
23
  ]);
22
24
 
@@ -2,6 +2,13 @@
2
2
  "$schema": "https://skills.sh/schemas/skills.sh.schema.json",
3
3
  "notGrouped": "bottom",
4
4
  "groupings": [
5
+ {
6
+ "title": "Start here",
7
+ "description": "The one skill to install first: live crypto intelligence on MCP or the hive CLI, with setup, routing, credits, error handling, and feedback built in.",
8
+ "skills": [
9
+ "hive"
10
+ ]
11
+ },
5
12
  {
6
13
  "title": "Setup and Build",
7
14
  "description": "Skills for installing Hive MCP, getting API keys, using the Hive CLI, and integrating Hive into application code.",
@@ -22,7 +29,7 @@
22
29
  },
23
30
  {
24
31
  "title": "Crypto Research Workflows",
25
- "description": "Focused workflows for market, token, wallet, security, DEX, DeFi, NFT, Solana, network, and stateful monitoring analysis.",
32
+ "description": "Focused workflows for market, token, wallet, security, DEX, DeFi, NFT, Solana, network, prediction-market, and stateful monitoring analysis.",
26
33
  "skills": [
27
34
  "hive-market-research",
28
35
  "hive-token-diligence",
@@ -33,6 +40,7 @@
33
40
  "hive-nft-research",
34
41
  "hive-solana-analysis",
35
42
  "hive-network-infrastructure",
43
+ "hive-prediction-markets",
36
44
  "hive-stateful-monitoring"
37
45
  ]
38
46
  }
@@ -1,16 +1,25 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
2
  import {
3
+ attachResponseMeta,
4
+ errorCodeFromBody,
3
5
  executeRemoteTool,
4
6
  fetchToolCatalog,
5
7
  fetchWithRetry,
6
- getUsage
7
- } from "./chunk-P7NLFSZQ.js";
8
+ getAnonQuota,
9
+ getUsage,
10
+ postFeedback
11
+ } from "./chunk-TWYGJEVN.js";
12
+ import "./chunk-3Z5VR53Z.js";
8
13
  import "./chunk-ZXKFJQDE.js";
9
14
  import "./chunk-6PC3HUAK.js";
10
15
  import "./chunk-OMO7XLC5.js";
11
16
  export {
17
+ attachResponseMeta,
18
+ errorCodeFromBody,
12
19
  executeRemoteTool,
13
20
  fetchToolCatalog,
14
21
  fetchWithRetry,
15
- getUsage
22
+ getAnonQuota,
23
+ getUsage,
24
+ postFeedback
16
25
  };
@@ -12,7 +12,7 @@ import {
12
12
  runWhoami,
13
13
  saveProfile,
14
14
  switchProfile
15
- } from "./chunk-32NRUWXA.js";
15
+ } from "./chunk-UPWYFTTJ.js";
16
16
  import "./chunk-6PC3HUAK.js";
17
17
  import "./chunk-OMO7XLC5.js";
18
18
  export {
@@ -0,0 +1,27 @@
1
+ import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
+ import {
3
+ ALWAYS_RESERVED_OPTIONS,
4
+ canonicalParamName,
5
+ coerceFlagsToArgs,
6
+ describeParameters,
7
+ firstSentence,
8
+ isNestedSchema,
9
+ parseArgsJson,
10
+ parseFlagTokens,
11
+ planToolCall,
12
+ reservedOptionNames
13
+ } from "./chunk-XT6RURQV.js";
14
+ import "./chunk-3Z5VR53Z.js";
15
+ import "./chunk-OMO7XLC5.js";
16
+ export {
17
+ ALWAYS_RESERVED_OPTIONS,
18
+ canonicalParamName,
19
+ coerceFlagsToArgs,
20
+ describeParameters,
21
+ firstSentence,
22
+ isNestedSchema,
23
+ parseArgsJson,
24
+ parseFlagTokens,
25
+ planToolCall,
26
+ reservedOptionNames
27
+ };
@@ -7,7 +7,7 @@ import {
7
7
  getSupabaseAdmin,
8
8
  resolveEndpoint,
9
9
  secureLogger
10
- } from "./chunk-J2PXISXW.js";
10
+ } from "./chunk-3SQPLZW6.js";
11
11
 
12
12
  // src/services/wallet-service.ts
13
13
  async function consumeCredits(args) {
@@ -134,7 +134,8 @@ async function executeToolByName(toolName, args, options) {
134
134
  requestId: options?.requestId,
135
135
  clients: getSharedClients(),
136
136
  analytics: options?.analytics,
137
- beforeExecution: options?.beforeExecution
137
+ beforeExecution: options?.beforeExecution,
138
+ creditCost: options?.creditCost
138
139
  });
139
140
  if (result.validationErrors) {
140
141
  return {