hive-intelligence 1.1.0 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +243 -166
- package/agent-skills/.claude-plugin/plugin.json +105 -0
- package/{LICENSE → agent-skills/LICENSE} +1 -1
- package/agent-skills/README.md +146 -0
- package/agent-skills/SKILL.md +68 -0
- package/agent-skills/evals/README.md +20 -0
- package/agent-skills/evals/trigger-queries.json +194 -0
- package/agent-skills/package.json +49 -0
- package/agent-skills/packs/hive-build/SKILL.md +327 -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 +224 -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-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 +98 -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-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 +49 -0
- package/agent-skills/scripts/validate-agent-skills-package.mjs +178 -0
- package/agent-skills/skills.sh.json +40 -0
- package/bin/hive-mcp.js +33 -0
- package/build/{alias-INGXWFCG.js → alias-CZ3DEYHF.js} +3 -3
- package/build/api-client-I23XLSHU.js +28 -0
- package/build/auth-KKINNBXT.js +40 -0
- package/build/browser-auth-EEFGRHWY.js +9 -0
- package/build/{cache-US4LSZPI.js → cache-EGNMENNA.js} +3 -3
- package/build/chunk-2MYMHMBF.js +340 -0
- package/build/chunk-2MYMHMBF.js.map +1 -0
- package/build/chunk-2X3U4DFK.js +77369 -0
- package/build/chunk-2X3U4DFK.js.map +1 -0
- package/build/chunk-B6G222LS.js +265 -0
- package/build/chunk-B6G222LS.js.map +1 -0
- package/build/{chunk-WKVZVQTG.js → chunk-DYJBTKNR.js} +4 -4
- package/build/chunk-DYJBTKNR.js.map +1 -0
- package/build/chunk-IDZD2NVG.js +247 -0
- package/build/chunk-IDZD2NVG.js.map +1 -0
- package/build/chunk-IZTN7WFH.js +250 -0
- package/build/chunk-IZTN7WFH.js.map +1 -0
- package/build/{chunk-QMRVH5ZP.js → chunk-KBVPIZS4.js} +10 -2
- package/build/chunk-KGYBTXIN.js +86 -0
- package/build/chunk-KGYBTXIN.js.map +1 -0
- package/build/{chunk-X7ETBCBP.js → chunk-MPIUUE3T.js} +60 -272
- package/build/chunk-MPIUUE3T.js.map +1 -0
- package/build/chunk-PGBVNMNZ.js +127 -0
- package/build/chunk-PGBVNMNZ.js.map +1 -0
- package/build/chunk-QNCI4DEB.js +88 -0
- package/build/chunk-QNCI4DEB.js.map +1 -0
- package/build/chunk-RKICZ6DZ.js +497 -0
- package/build/chunk-RKICZ6DZ.js.map +1 -0
- package/build/chunk-UKHZIVDT.js +44 -0
- package/build/chunk-UKHZIVDT.js.map +1 -0
- package/build/{chunk-XQJ6PB2L.js → chunk-V77LO4RO.js} +1 -1
- package/build/chunk-V77LO4RO.js.map +1 -0
- package/build/{chunk-CP3FXEQA.js → chunk-XYBEFFZ3.js} +5 -6
- package/build/chunk-XYBEFFZ3.js.map +1 -0
- package/build/cli.js +134 -122
- package/build/cli.js.map +1 -1
- package/build/{completion-SBTSXTR3.js → completion-BELZL7ND.js} +55 -50
- package/build/completion-BELZL7ND.js.map +1 -0
- package/build/config-TDX4VUGW.js +58 -0
- package/build/{config-dir-IEOID7Q6.js → config-dir-V43W2WIA.js} +3 -3
- package/build/{doctor-7WZMCQC7.js → doctor-5K5UWHNX.js} +13 -13
- package/build/doctor-5K5UWHNX.js.map +1 -0
- package/build/{errors-U6UZWVSD.js → errors-E6MVUBNA.js} +3 -3
- package/build/format-TSFSI2K7.js +43 -0
- package/build/format-TSFSI2K7.js.map +1 -0
- package/build/{init-CAVIFVSH.js → init-YQ5NBICF.js} +2 -2
- package/build/init-all-6OWEQALB.js +274 -0
- package/build/init-all-6OWEQALB.js.map +1 -0
- package/build/mcpServer-AEX3RQ4U.js +20 -0
- package/build/mcpServer-AEX3RQ4U.js.map +1 -0
- package/build/{namespace-7SBV4G7R.js → namespace-PVHBFDW2.js} +3 -3
- package/build/namespace-PVHBFDW2.js.map +1 -0
- package/build/{open-FUXYIHFO.js → open-YUIJP37F.js} +6 -6
- package/build/open-YUIJP37F.js.map +1 -0
- package/build/{output-7PGQWJY2.js → output-IYJBFCYK.js} +3 -3
- package/build/output-IYJBFCYK.js.map +1 -0
- package/build/serve-KWNJK6EY.js +44 -0
- package/build/serve-KWNJK6EY.js.map +1 -0
- package/build/server.js +4749 -14332
- package/build/server.js.map +1 -1
- package/build/setup-YTUKMPNP.js +136 -0
- package/build/setup-YTUKMPNP.js.map +1 -0
- package/build/stdio.js +31 -0
- package/build/stdio.js.map +1 -0
- package/build/{telemetry-KNWMQURH.js → telemetry-5IPRKZBL.js} +4 -4
- package/build/telemetry-5IPRKZBL.js.map +1 -0
- package/build/{tools-XEGCLA4I.js → tools-PJHWFCAG.js} +15 -15
- package/build/uninstall-HWXEIP6K.js +115 -0
- package/build/uninstall-HWXEIP6K.js.map +1 -0
- package/build/{watch-A75SVIQ6.js → watch-KZ5EDZK3.js} +7 -7
- package/package.json +124 -24
- package/bin/hive.js +0 -25
- package/build/auth-77MKFFBQ.js +0 -233
- package/build/auth-77MKFFBQ.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-RRI526CJ.js +0 -212
- package/build/chunk-RRI526CJ.js.map +0 -1
- package/build/chunk-WKVZVQTG.js.map +0 -1
- package/build/chunk-X7ETBCBP.js.map +0 -1
- package/build/chunk-XQJ6PB2L.js.map +0 -1
- package/build/completion-SBTSXTR3.js.map +0 -1
- package/build/config-2VDB2ZHE.js +0 -100
- package/build/config-2VDB2ZHE.js.map +0 -1
- package/build/doctor-7WZMCQC7.js.map +0 -1
- package/build/format-CVLLK6GD.js +0 -75
- package/build/format-CVLLK6GD.js.map +0 -1
- package/build/open-FUXYIHFO.js.map +0 -1
- package/build/version-3TZ3U4IR.js +0 -9
- /package/build/{alias-INGXWFCG.js.map → alias-CZ3DEYHF.js.map} +0 -0
- /package/build/{chunk-QMRVH5ZP.js.map → api-client-I23XLSHU.js.map} +0 -0
- /package/build/{config-dir-IEOID7Q6.js.map → auth-KKINNBXT.js.map} +0 -0
- /package/build/{errors-U6UZWVSD.js.map → browser-auth-EEFGRHWY.js.map} +0 -0
- /package/build/{cache-US4LSZPI.js.map → cache-EGNMENNA.js.map} +0 -0
- /package/build/{namespace-7SBV4G7R.js.map → chunk-KBVPIZS4.js.map} +0 -0
- /package/build/{output-7PGQWJY2.js.map → config-TDX4VUGW.js.map} +0 -0
- /package/build/{telemetry-KNWMQURH.js.map → config-dir-V43W2WIA.js.map} +0 -0
- /package/build/{version-3TZ3U4IR.js.map → errors-E6MVUBNA.js.map} +0 -0
- /package/build/{init-CAVIFVSH.js.map → init-YQ5NBICF.js.map} +0 -0
- /package/build/{tools-XEGCLA4I.js.map → tools-PJHWFCAG.js.map} +0 -0
- /package/build/{watch-A75SVIQ6.js.map → watch-KZ5EDZK3.js.map} +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Hive Intelligence - Agent Skills
|
|
2
|
+
|
|
3
|
+
Skill packages for AI coding assistants: Claude Code, Cursor, Codex CLI,
|
|
4
|
+
and any other agent that consumes the
|
|
5
|
+
[Agent Skills convention](https://github.com/vercel-labs/skills).
|
|
6
|
+
|
|
7
|
+
## What this is
|
|
8
|
+
|
|
9
|
+
A skill is a folder of Markdown files that tells an AI agent how to use a
|
|
10
|
+
vendor API correctly. For Hive, the skill layer is the agent-facing workflow
|
|
11
|
+
surface above the MCP server:
|
|
12
|
+
|
|
13
|
+
1. Discover the right task toolset.
|
|
14
|
+
2. Inspect the exact schema.
|
|
15
|
+
3. Execute a bounded call.
|
|
16
|
+
4. Report provider provenance, freshness, and runtime status.
|
|
17
|
+
|
|
18
|
+
This mirrors the pattern used by strong ecosystem publishers: Vercel ships a
|
|
19
|
+
multi-skill repo, Supabase ships focused database and platform skills, and
|
|
20
|
+
Firecrawl ships a CLI skill that teaches command selection, output handling,
|
|
21
|
+
and escalation.
|
|
22
|
+
|
|
23
|
+
## Layout
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
agent-skills/
|
|
27
|
+
├── package.json - standalone @hiveintelligence/agent-skills package
|
|
28
|
+
├── LICENSE
|
|
29
|
+
├── skills.sh.json - public directory grouping metadata
|
|
30
|
+
├── .claude-plugin/ — Claude Code plugin manifest
|
|
31
|
+
├── evals/ - trigger-quality eval prompts
|
|
32
|
+
├── references/ - always-on routing snippets for AGENTS.md-style files
|
|
33
|
+
├── scripts/ - deterministic package validation
|
|
34
|
+
├── README.md
|
|
35
|
+
└── packs/
|
|
36
|
+
├── hive-cli/ — Use the `hive` CLI from a chat
|
|
37
|
+
├── hive-mcp/ — Add Hive MCP to a client
|
|
38
|
+
├── hive-build-onboarding/ — Walk a user through PKCE auth
|
|
39
|
+
├── hive-build/ — Integrate Hive into app code
|
|
40
|
+
├── hive-query/ — Route crypto questions through task toolsets
|
|
41
|
+
├── hive-tool-discovery/ — Search tools, inspect schemas, and invoke safely
|
|
42
|
+
├── hive-market-research/ — Prices, liquidity, exchanges, OHLC, derivatives
|
|
43
|
+
├── hive-token-diligence/ — Token metadata, holders, liquidity, enrichment, risk
|
|
44
|
+
├── hive-wallet-investigation/ — Wallet balances, transfers, PnL, NFTs, DeFi
|
|
45
|
+
├── hive-security-risk/ — Token, approval, phishing, address, simulation risk
|
|
46
|
+
├── hive-dex-pool-analysis/ — Pools, pairs, liquidity, trades, DEX flow
|
|
47
|
+
├── hive-defi-research/ — Protocols, TVL, fees, stablecoins, bridges, yields
|
|
48
|
+
├── hive-nft-research/ — NFT collections, owners, metadata, floors, rarity
|
|
49
|
+
├── hive-solana-analysis/ — Solana wallets, SPL accounts, DAS assets, fees
|
|
50
|
+
├── hive-network-infrastructure/ — Blocks, gas, receipts, logs, RPC diagnostics
|
|
51
|
+
└── hive-prediction-markets/ — Prediction markets, events, outcomes, traders
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Distribution
|
|
55
|
+
|
|
56
|
+
The skills folder ships in four places:
|
|
57
|
+
|
|
58
|
+
1. **Bundled with `hive-intelligence`** — the root npm package includes these packs so
|
|
59
|
+
`npx -y -p hive-intelligence@latest hive init --all --browser` can copy them into
|
|
60
|
+
`~/.claude/skills/`, `~/.cursor/skills/`, and other supported clients.
|
|
61
|
+
|
|
62
|
+
2. **Standalone npm package** — this directory publishes as
|
|
63
|
+
`@hiveintelligence/agent-skills` for agents, installers, and package
|
|
64
|
+
managers that want the skill corpus without the MCP server runtime.
|
|
65
|
+
|
|
66
|
+
3. **Public agent-onboarding manifest** — the top-level `SKILL.md` is
|
|
67
|
+
mirrored at `https://www.hiveintelligence.xyz/agent-onboarding/SKILL.md`
|
|
68
|
+
(lives in the `hive-website` repo's `public/` directory). Any AI
|
|
69
|
+
agent that fetches the marketing site's `<link rel="alternate"
|
|
70
|
+
type="text/markdown" href="/agent-onboarding/SKILL.md">` discovers
|
|
71
|
+
this file and can self-install Hive.
|
|
72
|
+
|
|
73
|
+
4. **GitHub skills mirror** — mirror this directory into a dedicated skills
|
|
74
|
+
repo for the public skills directory and CLI install flow. Do not publish
|
|
75
|
+
skills CLI examples until the mirror exists and has been installed in CI.
|
|
76
|
+
Until then, validate locally with:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npx skills add ./agent-skills --list
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Authoring conventions
|
|
83
|
+
|
|
84
|
+
Each sub-skill follows the same shape:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
packs/hive-<topic>/
|
|
88
|
+
├── SKILL.md — frontmatter + instructions an agent should follow
|
|
89
|
+
├── references/ — deeper docs loaded only when needed
|
|
90
|
+
└── evals/ — realistic prompts for regression testing the skill
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
`SKILL.md` frontmatter:
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
---
|
|
97
|
+
name: hive-<topic>
|
|
98
|
+
description: One-sentence "use this when…" trigger
|
|
99
|
+
license: MIT
|
|
100
|
+
metadata:
|
|
101
|
+
package: "@hiveintelligence/agent-skills"
|
|
102
|
+
category: "<setup|discovery|domain>"
|
|
103
|
+
requires_network: "true"
|
|
104
|
+
version: 1.0.0
|
|
105
|
+
---
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Body shape: short imperative instructions, code examples, links to
|
|
109
|
+
canonical docs. Keep each SKILL.md under ~400 lines; agents truncate
|
|
110
|
+
long files.
|
|
111
|
+
|
|
112
|
+
## Patterns copied from high-signal skills
|
|
113
|
+
|
|
114
|
+
- Keep the install command short and repo-level, then allow single-skill
|
|
115
|
+
installs for narrow workflows.
|
|
116
|
+
- Put trigger rules in frontmatter and the first paragraphs, not buried in
|
|
117
|
+
examples.
|
|
118
|
+
- Ship a compact always-on routing snippet for `AGENTS.md` / `CLAUDE.md` /
|
|
119
|
+
`GEMINI.md`. Skills are vertical workflow modules; the routing snippet
|
|
120
|
+
removes the "will the agent remember to load the skill?" decision point.
|
|
121
|
+
- Prefer progressive disclosure: `SKILL.md` gives the workflow, `references/`
|
|
122
|
+
carries architecture and command matrices, and scripts are reserved for
|
|
123
|
+
deterministic automation.
|
|
124
|
+
- Teach the agent how to decide before it executes: discover toolsets, inspect
|
|
125
|
+
schema, bound the call, then cite provider/runtime state.
|
|
126
|
+
- Add eval prompts for real user tasks. A skill is not done until trigger
|
|
127
|
+
prompts and output-quality prompts prove it routes and reports better than a
|
|
128
|
+
generic model answer.
|
|
129
|
+
|
|
130
|
+
## Always-on routing
|
|
131
|
+
|
|
132
|
+
For agents that support repo-level instruction files, add the compact routing
|
|
133
|
+
block from `references/agents-routing.md`. Keep the block short; it should only
|
|
134
|
+
decide which Hive skill to load. Detailed endpoint and provider behavior stays
|
|
135
|
+
inside the skill packs and their `references/` files.
|
|
136
|
+
|
|
137
|
+
## Source of truth
|
|
138
|
+
|
|
139
|
+
The shipped skill metadata source of truth is `src/agentSkills.ts`.
|
|
140
|
+
The task-routing source of truth is `src/taskToolsets.ts`.
|
|
141
|
+
|
|
142
|
+
The sub-skills here are procedural expansions per topic. Run
|
|
143
|
+
`npm run verify:agent-skills`, `npx skills add ./agent-skills --list`, and
|
|
144
|
+
`npm --workspace @hiveintelligence/agent-skills run pack:check` after editing
|
|
145
|
+
this directory. Website copies should mirror these packs, but MCP execution
|
|
146
|
+
remains the runtime authority.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-agent-skills
|
|
3
|
+
description: Use this skill when installing or routing Hive Intelligence agent skills as a complete pack for MCP setup, tool discovery, live crypto workflows, CLI use, or application integrations.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
package: "@hiveintelligence/agent-skills"
|
|
7
|
+
category: "routing"
|
|
8
|
+
requires_network: "true"
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Hive Agent Skills
|
|
13
|
+
|
|
14
|
+
Use this as the top-level routing skill for the Hive skills package. Pick the
|
|
15
|
+
smallest downstream skill that matches the user's intent.
|
|
16
|
+
|
|
17
|
+
## Routing
|
|
18
|
+
|
|
19
|
+
- `hive-mcp` — install or configure Hive MCP in Claude Code, Claude Desktop,
|
|
20
|
+
Cursor, VS Code, Windsurf, ChatGPT Desktop, or Gemini CLI.
|
|
21
|
+
- `hive-build-onboarding` — the user needs a Hive account, API key, or auth
|
|
22
|
+
fix before setup can work.
|
|
23
|
+
- `hive-build` — the user is integrating Hive into app code, backend services,
|
|
24
|
+
SDK adapters, agents, cron jobs, or production systems. For TypeScript,
|
|
25
|
+
prefer `@hiveintelligence/mcp-client`; use REST as fallback.
|
|
26
|
+
- `hive-tool-discovery` — the user needs the right tool, task toolset, category,
|
|
27
|
+
provider, or input schema before execution.
|
|
28
|
+
- `hive-query` — the user wants a live data answer in the current chat.
|
|
29
|
+
- Workflow skills — use `hive-market-research`, `hive-token-diligence`,
|
|
30
|
+
`hive-wallet-investigation`, `hive-security-risk`, `hive-dex-pool-analysis`,
|
|
31
|
+
`hive-defi-research`, `hive-nft-research`, `hive-solana-analysis`,
|
|
32
|
+
`hive-network-infrastructure`, or `hive-prediction-markets` for deeper
|
|
33
|
+
production workflows.
|
|
34
|
+
|
|
35
|
+
## Install
|
|
36
|
+
|
|
37
|
+
Use the published Hive package for client setup:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx -y -p hive-intelligence@latest hive init --all --browser
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Hosted MCP:
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
https://mcp.hiveintelligence.xyz/mcp
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Local stdio:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
npx -y -p hive-intelligence@latest hive
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Operating Rules
|
|
56
|
+
|
|
57
|
+
- Start with task discovery, not raw tool browsing.
|
|
58
|
+
- Inspect schema before calling an unfamiliar endpoint.
|
|
59
|
+
- Keep calls bounded with `limit`, `page`, `per_page`, or `offset`.
|
|
60
|
+
- Preserve provider, source, freshness, cache, and runtime status metadata.
|
|
61
|
+
- Never expose full API keys in browser code, logs, screenshots, or generated
|
|
62
|
+
artifacts.
|
|
63
|
+
|
|
64
|
+
## Runtime status handling
|
|
65
|
+
|
|
66
|
+
When a provider is unavailable, gated, rate limited, or degraded, keep the tool
|
|
67
|
+
discoverable and surface the classified runtime status. Do not silently swap
|
|
68
|
+
providers or drop provenance.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Hive Agent Skills Evals
|
|
2
|
+
|
|
3
|
+
This folder contains package-level eval prompts that test whether agents choose
|
|
4
|
+
the right Hive skill before execution.
|
|
5
|
+
|
|
6
|
+
- `trigger-queries.json` checks skill-trigger quality with should-trigger and
|
|
7
|
+
should-not-trigger prompts.
|
|
8
|
+
- Per-skill `packs/*/evals/evals.json` files check output quality after a skill
|
|
9
|
+
is loaded.
|
|
10
|
+
|
|
11
|
+
Run the static verifier after editing:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm run verify:agent-skills
|
|
15
|
+
npx skills add ./agent-skills --list
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
For live trigger testing, run each query in a clean agent session with the Hive
|
|
19
|
+
skills installed and record whether the expected skill was loaded. Keep train
|
|
20
|
+
and validation splits separate so description changes do not overfit.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Trigger-quality evals for Hive agent skills. Train prompts guide description improvements; validation prompts are held out for sanity checks.",
|
|
3
|
+
"skills": [
|
|
4
|
+
{
|
|
5
|
+
"skill_name": "hive-query",
|
|
6
|
+
"train": [
|
|
7
|
+
{
|
|
8
|
+
"query": "Can you check what's happening with this wallet and whether it has any recent DeFi activity?",
|
|
9
|
+
"should_trigger": true
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"query": "What's the latest BTC price and liquidity context?",
|
|
13
|
+
"should_trigger": true
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"query": "Write a TypeScript type for a wallet object.",
|
|
17
|
+
"should_trigger": false
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"validation": [
|
|
21
|
+
{
|
|
22
|
+
"query": "I need a live read on a token, its holders, liquidity, and safety flags.",
|
|
23
|
+
"should_trigger": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"query": "Explain what a blockchain wallet is at a high level.",
|
|
27
|
+
"should_trigger": false
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"skill_name": "hive-tool-discovery",
|
|
33
|
+
"train": [
|
|
34
|
+
{
|
|
35
|
+
"query": "I know Hive has a tool for token holders but I don't know the endpoint name.",
|
|
36
|
+
"should_trigger": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"query": "Which Hive provider can inspect Solana DAS assets?",
|
|
40
|
+
"should_trigger": true
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"query": "List the files in this repository.",
|
|
44
|
+
"should_trigger": false
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"validation": [
|
|
48
|
+
{
|
|
49
|
+
"query": "Before calling Hive, find the schema for an Ethereum approval risk check.",
|
|
50
|
+
"should_trigger": true
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"query": "Summarize the README without using external tools.",
|
|
54
|
+
"should_trigger": false
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"skill_name": "hive-mcp",
|
|
60
|
+
"train": [
|
|
61
|
+
{
|
|
62
|
+
"query": "Add Hive MCP to Cursor with the hosted endpoint.",
|
|
63
|
+
"should_trigger": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"query": "Should I use hosted MCP or local stdio for Claude Desktop?",
|
|
67
|
+
"should_trigger": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"query": "What is MCP in general?",
|
|
71
|
+
"should_trigger": false
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"validation": [
|
|
75
|
+
{
|
|
76
|
+
"query": "Configure Hive MCP in VS Code and include the auth header.",
|
|
77
|
+
"should_trigger": true
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"query": "Write a generic JSON-RPC example unrelated to Hive.",
|
|
81
|
+
"should_trigger": false
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"skill_name": "hive-build",
|
|
87
|
+
"train": [
|
|
88
|
+
{
|
|
89
|
+
"query": "Use Hive from my TypeScript backend and preserve provider metadata in the response.",
|
|
90
|
+
"should_trigger": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"query": "I am integrating Hive MCP into a custom app, should I use the SDK or REST?",
|
|
94
|
+
"should_trigger": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"query": "Connect Claude Desktop to Hive MCP.",
|
|
98
|
+
"should_trigger": false
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"validation": [
|
|
102
|
+
{
|
|
103
|
+
"query": "In Brownian Code, add a server-side Hive helper that calls get_price and keeps the API key private.",
|
|
104
|
+
"should_trigger": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"query": "What is the latest Bitcoin price right now?",
|
|
108
|
+
"should_trigger": false
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"skill_name": "hive-build-onboarding",
|
|
114
|
+
"train": [
|
|
115
|
+
{
|
|
116
|
+
"query": "I do not have a Hive API key yet, walk me through getting one.",
|
|
117
|
+
"should_trigger": true
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"query": "Hive says my key is missing in Claude Code.",
|
|
121
|
+
"should_trigger": true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"query": "Write a Python wrapper for get_price.",
|
|
125
|
+
"should_trigger": false
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"validation": [
|
|
129
|
+
{
|
|
130
|
+
"query": "Help me sign in and create my first Hive key for an agent integration.",
|
|
131
|
+
"should_trigger": true
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"query": "Explain how OAuth works generally.",
|
|
135
|
+
"should_trigger": false
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"skill_name": "hive-cli",
|
|
141
|
+
"train": [
|
|
142
|
+
{
|
|
143
|
+
"query": "Use the hive CLI to search for a wallet analytics endpoint.",
|
|
144
|
+
"should_trigger": true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"query": "Run a Hive command that fetches bitcoin price as JSON.",
|
|
148
|
+
"should_trigger": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"query": "List npm scripts in this repository.",
|
|
152
|
+
"should_trigger": false
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"validation": [
|
|
156
|
+
{
|
|
157
|
+
"query": "Show me the hive command to inspect the schema for get_price.",
|
|
158
|
+
"should_trigger": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"query": "What are common CLI design principles?",
|
|
162
|
+
"should_trigger": false
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"skill_name": "hive-token-diligence",
|
|
168
|
+
"train": [
|
|
169
|
+
{
|
|
170
|
+
"query": "Is this token contract real, liquid, and safe enough to research further?",
|
|
171
|
+
"should_trigger": true
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"query": "Compare token holders and DEX liquidity for this contract.",
|
|
175
|
+
"should_trigger": true
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"query": "Implement an ERC-20 contract from scratch.",
|
|
179
|
+
"should_trigger": false
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"validation": [
|
|
183
|
+
{
|
|
184
|
+
"query": "Run diligence on this Base token address before I trade it.",
|
|
185
|
+
"should_trigger": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"query": "Explain the ERC-20 standard historically.",
|
|
189
|
+
"should_trigger": false
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hiveintelligence/agent-skills",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Agent Skills for using Hive MCP: crypto research workflows, tool discovery, client setup, and provenance-aware execution.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"author": "Hive Intelligence",
|
|
9
|
+
"homepage": "https://www.hiveintelligence.xyz",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/sharpe-labs/hive-mcp2.git",
|
|
13
|
+
"directory": "agent-skills"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/sharpe-labs/hive-mcp2/issues"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"agent-skills",
|
|
23
|
+
"mcp",
|
|
24
|
+
"crypto",
|
|
25
|
+
"defi",
|
|
26
|
+
"wallet-analytics",
|
|
27
|
+
"token-security",
|
|
28
|
+
"solana",
|
|
29
|
+
"nft",
|
|
30
|
+
"prediction-markets"
|
|
31
|
+
],
|
|
32
|
+
"files": [
|
|
33
|
+
".claude-plugin/**/*",
|
|
34
|
+
"evals/**/*",
|
|
35
|
+
"packs/**/*",
|
|
36
|
+
"references/**/*",
|
|
37
|
+
"scripts/**/*",
|
|
38
|
+
"LICENSE",
|
|
39
|
+
"README.md",
|
|
40
|
+
"SKILL.md",
|
|
41
|
+
"package.json",
|
|
42
|
+
"skills.sh.json"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"check": "npm run validate && npx skills add . --list && npm pack --dry-run",
|
|
46
|
+
"validate": "node scripts/validate-agent-skills-package.mjs",
|
|
47
|
+
"pack:check": "npm pack --dry-run"
|
|
48
|
+
}
|
|
49
|
+
}
|