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,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "hive-security-risk",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "Is it safe to approve this spender for my ERC-20 token?",
|
|
7
|
+
"expected_output": "Uses security_risk, asks for chain/token/owner/spender if missing, checks approval risk, and avoids signing guidance until risk is resolved.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"assertions": [
|
|
10
|
+
"Chooses security_risk.",
|
|
11
|
+
"Requests missing approval identifiers.",
|
|
12
|
+
"Does not tell the user to sign while risk is unresolved."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": 2,
|
|
17
|
+
"prompt": "Check whether this dApp URL and contract look phishing-related before I connect my wallet.",
|
|
18
|
+
"expected_output": "Routes to dApp/address/phishing checks, reports severity/evidence/remediation, and caveats missing provider data.",
|
|
19
|
+
"files": [],
|
|
20
|
+
"assertions": [
|
|
21
|
+
"Includes phishing or dApp risk checks.",
|
|
22
|
+
"Reports severity and evidence.",
|
|
23
|
+
"Provides remediation or next action."
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Security Risk Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference for token, address, approval, dApp, phishing, contract, and
|
|
4
|
+
transaction simulation risk.
|
|
5
|
+
|
|
6
|
+
## Required identifiers
|
|
7
|
+
|
|
8
|
+
- Chain/network.
|
|
9
|
+
- One or more of: token contract, wallet address, spender address, dApp URL,
|
|
10
|
+
contract address, or transaction payload.
|
|
11
|
+
|
|
12
|
+
Ask for missing chain and actor details before approval or simulation checks.
|
|
13
|
+
Never invent a spender, owner, calldata, or URL.
|
|
14
|
+
|
|
15
|
+
## Tool selection order
|
|
16
|
+
|
|
17
|
+
1. Identify the risk object: token, address, approval, dApp, contract, or
|
|
18
|
+
transaction.
|
|
19
|
+
2. Use `search_tools` for the matching security/risk endpoints.
|
|
20
|
+
3. Inspect schemas before invocation.
|
|
21
|
+
4. Run the narrowest risk check first.
|
|
22
|
+
5. Add simulation or approval analysis only when the required payload/owner
|
|
23
|
+
details exist.
|
|
24
|
+
|
|
25
|
+
## Bounded calls
|
|
26
|
+
|
|
27
|
+
- Keep risk checks scoped to the provided contract, address, or payload.
|
|
28
|
+
- Avoid broad scans unless the user explicitly asks for an audit.
|
|
29
|
+
- Use severity and evidence rather than unsupported certainty.
|
|
30
|
+
|
|
31
|
+
## Report template
|
|
32
|
+
|
|
33
|
+
- Summary: risk level and safest recommendation.
|
|
34
|
+
- Calls made: endpoints, chain, risk object, identifiers.
|
|
35
|
+
- Evidence: flags, simulation results, approval exposure, source/freshness.
|
|
36
|
+
- Caveats: missing payload, incomplete provider coverage, degraded/rate-limited
|
|
37
|
+
provider.
|
|
38
|
+
- Next action: revoke approval, avoid signing, retry simulation, or provide
|
|
39
|
+
missing payload.
|
|
40
|
+
|
|
41
|
+
## Gotchas
|
|
42
|
+
|
|
43
|
+
- A token can pass metadata checks and still be risky.
|
|
44
|
+
- `plan_required` means the tool exists but cannot run under current upstream
|
|
45
|
+
credentials.
|
|
46
|
+
- Do not provide signing instructions when a critical risk is unresolved.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-solana-analysis
|
|
3
|
+
description: Use this skill for Solana-specific analysis covering wallets, SPL token accounts, DAS assets, parsed transactions, priority fees, launch data, mints, or Solana NFT assets. Prefer Solana-native identifiers and providers over EVM assumptions.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
package: "@hiveintelligence/agent-skills"
|
|
7
|
+
category: "solana"
|
|
8
|
+
requires_network: "true"
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# hive-solana-analysis — Solana Analysis
|
|
13
|
+
|
|
14
|
+
Use this skill for Solana wallets, mints, SPL accounts, DAS assets, parsed
|
|
15
|
+
transactions, priority fees, or Solana token safety questions.
|
|
16
|
+
|
|
17
|
+
## Task toolset
|
|
18
|
+
|
|
19
|
+
Use `solana_analysis`.
|
|
20
|
+
|
|
21
|
+
Required identifiers: Solana wallet, mint, asset id, or transaction signature.
|
|
22
|
+
|
|
23
|
+
## Procedure
|
|
24
|
+
|
|
25
|
+
Read `references/workflow.md` when the request needs Solana-native identifier
|
|
26
|
+
handling, DAS/SPL routing, priority-fee context, or a structured Solana report.
|
|
27
|
+
|
|
28
|
+
1. Confirm the identifier type: wallet, mint, asset id, program id, or
|
|
29
|
+
transaction signature.
|
|
30
|
+
2. Use Solana-native tools instead of EVM assumptions.
|
|
31
|
+
3. For wallets, combine balances, token accounts, assets, and parsed history.
|
|
32
|
+
4. For execution context, include slot/priority fee/freshness.
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
|
|
36
|
+
If the user gives a mint, use token/security or asset search paths. If the user
|
|
37
|
+
gives a wallet, use owner/balance paths.
|
|
38
|
+
|
|
39
|
+
## Runtime status handling
|
|
40
|
+
|
|
41
|
+
Classify Helius or Solana provider issues as `missing_key`, `rate_limited`,
|
|
42
|
+
`degraded`, or `failing`. Ask for a retry only when the status is transient.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "hive-solana-analysis",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "Analyze this Solana wallet's SPL token accounts and recent parsed activity.",
|
|
7
|
+
"expected_output": "Uses solana_analysis, treats the identifier as Solana-native, inspects schemas, bounds token/history calls, and reports slot/freshness/runtime status.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"assertions": [
|
|
10
|
+
"Chooses solana_analysis.",
|
|
11
|
+
"Avoids EVM assumptions.",
|
|
12
|
+
"Reports Solana-specific freshness such as slot or fetched time."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": 2,
|
|
17
|
+
"prompt": "Check this Solana mint and whether there are any asset or launch-data signals.",
|
|
18
|
+
"expected_output": "Classifies the identifier as a mint, uses Solana token/DAS/launch paths, and reports provider caveats.",
|
|
19
|
+
"files": [],
|
|
20
|
+
"assertions": [
|
|
21
|
+
"Classifies mint versus wallet.",
|
|
22
|
+
"Uses Solana-native tool discovery.",
|
|
23
|
+
"Reports provider/runtime caveats."
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Solana Analysis Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference for Solana wallets, SPL accounts, DAS assets, parsed
|
|
4
|
+
transactions, priority fees, launch data, mints, and Solana NFTs.
|
|
5
|
+
|
|
6
|
+
## Required identifiers
|
|
7
|
+
|
|
8
|
+
- Solana wallet, mint, token account, asset id, program id, or transaction
|
|
9
|
+
signature.
|
|
10
|
+
- Optional: slot/time window, owner, collection, or token filter.
|
|
11
|
+
|
|
12
|
+
Do not apply EVM address, chain id, or approval assumptions to Solana requests.
|
|
13
|
+
|
|
14
|
+
## Tool selection order
|
|
15
|
+
|
|
16
|
+
1. Classify the identifier: wallet, mint, token account, asset, program, or
|
|
17
|
+
transaction.
|
|
18
|
+
2. Use `search_tools` for Solana wallet, SPL token, DAS, parsed transaction,
|
|
19
|
+
priority fee, or launch-data tools.
|
|
20
|
+
3. Inspect schemas before invocation.
|
|
21
|
+
4. Use wallet paths for owner/balance/history questions.
|
|
22
|
+
5. Use mint/asset paths for token/NFT questions.
|
|
23
|
+
|
|
24
|
+
## Bounded calls
|
|
25
|
+
|
|
26
|
+
- Limit parsed history, asset lists, and token accounts.
|
|
27
|
+
- Include slot or fetched time where available.
|
|
28
|
+
- Avoid multi-provider mixing without source labels.
|
|
29
|
+
|
|
30
|
+
## Report template
|
|
31
|
+
|
|
32
|
+
- Summary: Solana-specific read.
|
|
33
|
+
- Calls made: endpoints, identifiers, filters.
|
|
34
|
+
- Evidence: balances/assets/transactions/fees, source/freshness/runtime status.
|
|
35
|
+
- Caveats: missing key, rate limit, DAS coverage, stale slot, truncated history.
|
|
36
|
+
- Next action: transaction drilldown, asset verification, or risk check.
|
|
37
|
+
|
|
38
|
+
## Gotchas
|
|
39
|
+
|
|
40
|
+
- Wallets, mints, token accounts, and asset ids are different identifiers.
|
|
41
|
+
- Priority fee estimates are time-sensitive.
|
|
42
|
+
- Parsed transaction coverage can vary by provider and transaction type.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-token-diligence
|
|
3
|
+
description: Use this skill when the user asks whether a token is real, liquid, risky, enriched, investable, tradeable, or worth researching further. Investigate exact chain and token identifiers across metadata, market context, holders, DEX liquidity, enrichment, and risk signals.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
package: "@hiveintelligence/agent-skills"
|
|
7
|
+
category: "token"
|
|
8
|
+
requires_network: "true"
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# hive-token-diligence — Token Diligence
|
|
13
|
+
|
|
14
|
+
Use this skill when the user asks whether a token is real, liquid, risky, or
|
|
15
|
+
worth researching further.
|
|
16
|
+
|
|
17
|
+
## Task toolset
|
|
18
|
+
|
|
19
|
+
Use `token_diligence`.
|
|
20
|
+
|
|
21
|
+
Required identifiers: chain and token contract or exact token id.
|
|
22
|
+
|
|
23
|
+
## Procedure
|
|
24
|
+
|
|
25
|
+
Read `references/workflow.md` when the request needs multi-source diligence,
|
|
26
|
+
risk/liquidity prioritization, fallback handling, or a structured token report.
|
|
27
|
+
|
|
28
|
+
1. Resolve the token with exact chain and contract.
|
|
29
|
+
2. Pull metadata, price, pair/liquidity, holder, and risk tools as needed.
|
|
30
|
+
3. Separate facts from interpretation: metadata, market, liquidity, holders,
|
|
31
|
+
security, enrichment.
|
|
32
|
+
4. Preserve raw provider details when a risk flag depends on source-specific
|
|
33
|
+
fields.
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
For Ethereum USDC, use the chain plus contract address fixture rather than just
|
|
38
|
+
the symbol `USDC`.
|
|
39
|
+
|
|
40
|
+
## Runtime status handling
|
|
41
|
+
|
|
42
|
+
Use Hive's runtime statuses directly. If Moralis enrichment is
|
|
43
|
+
`plan_required`, keep the rest of the diligence report and mark enrichment as
|
|
44
|
+
unavailable rather than claiming token diligence failed.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "hive-token-diligence",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "Run diligence on this Ethereum token contract before I trade it: 0x0000000000000000000000000000000000000000",
|
|
7
|
+
"expected_output": "Uses token_diligence, preserves exact chain/contract, plans metadata/liquidity/holder/risk checks, and reports caveats without trading advice.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"assertions": [
|
|
10
|
+
"Chooses token_diligence.",
|
|
11
|
+
"Requires exact chain and contract.",
|
|
12
|
+
"Includes liquidity and risk evidence sections."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": 2,
|
|
17
|
+
"prompt": "Is this token real or a scam? I only have the ticker.",
|
|
18
|
+
"expected_output": "Does not assume a contract from ticker alone, asks for chain/contract or performs discovery, and explains ambiguity.",
|
|
19
|
+
"files": [],
|
|
20
|
+
"assertions": [
|
|
21
|
+
"Does not treat ticker as unique.",
|
|
22
|
+
"Asks for chain and contract or resolves explicitly.",
|
|
23
|
+
"Avoids unsupported safety conclusion."
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Token Diligence Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference when a token needs metadata, liquidity, holder, enrichment,
|
|
4
|
+
and risk evidence.
|
|
5
|
+
|
|
6
|
+
## Required identifiers
|
|
7
|
+
|
|
8
|
+
- Chain/network.
|
|
9
|
+
- Exact token contract or provider-specific token id.
|
|
10
|
+
- Optional: quote token, pool address, wallet holder, or time window.
|
|
11
|
+
|
|
12
|
+
If the user gives only a ticker or name, resolve the exact contract before
|
|
13
|
+
execution. Do not assume a ticker maps to one asset.
|
|
14
|
+
|
|
15
|
+
## Tool selection order
|
|
16
|
+
|
|
17
|
+
1. Resolve chain and contract from the prompt or ask for them.
|
|
18
|
+
2. Use `search_tools` for token metadata, market, holder, DEX liquidity, and
|
|
19
|
+
risk capabilities.
|
|
20
|
+
3. Inspect schemas before calling each endpoint.
|
|
21
|
+
4. Start with metadata and market/liquidity checks.
|
|
22
|
+
5. Add holder distribution and enrichment only when the user needs depth.
|
|
23
|
+
6. Add security/risk checks when the user asks whether to trade, approve, or
|
|
24
|
+
trust the token.
|
|
25
|
+
|
|
26
|
+
## Bounded calls
|
|
27
|
+
|
|
28
|
+
- Limit holder lists and pool searches.
|
|
29
|
+
- Separate token-level data from pool-level data.
|
|
30
|
+
- Preserve provider-specific risk fields when they drive the conclusion.
|
|
31
|
+
|
|
32
|
+
## Report template
|
|
33
|
+
|
|
34
|
+
- Summary: token identity and overall diligence posture.
|
|
35
|
+
- Calls made: endpoints and identifiers.
|
|
36
|
+
- Evidence: metadata, liquidity, holders, risk/enrichment, source/freshness.
|
|
37
|
+
- Caveats: missing provider keys, plan gates, stale liquidity, unresolved
|
|
38
|
+
contract ambiguity.
|
|
39
|
+
- Next action: security drilldown, liquidity venue check, or holder analysis.
|
|
40
|
+
|
|
41
|
+
## Gotchas
|
|
42
|
+
|
|
43
|
+
- A verified name/logo is not proof of safety.
|
|
44
|
+
- High FDV or high volume without pool depth can still be risky.
|
|
45
|
+
- Missing enrichment is not the same as a clean risk result.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-tool-discovery
|
|
3
|
+
description: Use this skill when the exact Hive MCP tool, task toolset, provider, endpoint name, schema, or argument shape is unknown. Discover first with Hive resources and search_tools, then inspect schema before any invoke_api_endpoint call.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
package: "@hiveintelligence/agent-skills"
|
|
7
|
+
category: "discovery"
|
|
8
|
+
requires_network: "true"
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# hive-tool-discovery — Find The Right Hive Tool
|
|
13
|
+
|
|
14
|
+
Use this skill before calling Hive when the user's request is ambiguous or the
|
|
15
|
+
exact endpoint name is unknown.
|
|
16
|
+
|
|
17
|
+
## Procedure
|
|
18
|
+
|
|
19
|
+
Read `references/discovery-surfaces.md` when the user asks what discovery
|
|
20
|
+
surfaces exist, how agents know available endpoints, or when to use resources
|
|
21
|
+
instead of tool calls.
|
|
22
|
+
|
|
23
|
+
1. Read `hive://toolsets` for task-level routing.
|
|
24
|
+
2. Call `search_tools` with the user's intent and optional provider/category.
|
|
25
|
+
3. Pick the most specific tool or task toolset.
|
|
26
|
+
4. Call `get_api_endpoint_schema` before execution.
|
|
27
|
+
5. Call `invoke_api_endpoint` with only schema-valid arguments.
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"query": "wallet investigation ethereum balances transfers",
|
|
34
|
+
"limit": 5
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Runtime status handling
|
|
39
|
+
|
|
40
|
+
Hive uses `ok`, `missing_key`, `plan_required`, `rate_limited`, `degraded`, and
|
|
41
|
+
`failing`. Missing keys, plan gates, quota exhaustion, and rate limits are
|
|
42
|
+
runtime states. Do not say a tool does not exist unless discovery fails to find
|
|
43
|
+
it.
|
|
44
|
+
|
|
45
|
+
## Guardrails
|
|
46
|
+
|
|
47
|
+
- Do not hardcode stale endpoint names.
|
|
48
|
+
- Use `hive://skills` when the question matches a recurring workflow.
|
|
49
|
+
- Use `hive://status` when the user asks whether Hive or a provider is healthy.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "hive-tool-discovery",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "I know Hive has a lot of tools. Which one should I use to get token holders for an Ethereum contract?",
|
|
7
|
+
"expected_output": "Uses discovery before execution, searches token holder intent, selects the most specific endpoint, and inspects the endpoint schema.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"assertions": [
|
|
10
|
+
"Calls or recommends search_tools with token holders, ethereum, contract.",
|
|
11
|
+
"Uses get_api_endpoint_schema before invocation.",
|
|
12
|
+
"Does not hardcode an endpoint without discovery."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": 2,
|
|
17
|
+
"prompt": "Show me all the ways an agent can discover Hive MCP endpoints and provider availability.",
|
|
18
|
+
"expected_output": "Explains resources, meta tools, category listing tools, schema lookup, and runtime status surfaces.",
|
|
19
|
+
"files": [],
|
|
20
|
+
"assertions": [
|
|
21
|
+
"Mentions hive://toolsets, hive://tools, hive://providers, and hive://status.",
|
|
22
|
+
"Mentions search_tools, get_api_endpoint_schema, and invoke_api_endpoint.",
|
|
23
|
+
"Separates discovery from execution."
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": 3,
|
|
28
|
+
"prompt": "A Hive provider is missing an API key. Should the agent say the tool does not exist?",
|
|
29
|
+
"expected_output": "Classifies missing keys as runtime availability, not catalog absence, and tells the user the provider/tool state and next action.",
|
|
30
|
+
"files": [],
|
|
31
|
+
"assertions": [
|
|
32
|
+
"Explains missing_key as a runtime state.",
|
|
33
|
+
"Does not describe the endpoint as unavailable from the catalog.",
|
|
34
|
+
"Gives an actionable diagnostic step."
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Hive Discovery Surfaces
|
|
2
|
+
|
|
3
|
+
Use this reference when the exact Hive endpoint is unknown. Discovery is a
|
|
4
|
+
first-class workflow, not a fallback after a failed tool call.
|
|
5
|
+
|
|
6
|
+
## Surfaces
|
|
7
|
+
|
|
8
|
+
| Surface | Use when | Output |
|
|
9
|
+
| --- | --- | --- |
|
|
10
|
+
| `hive://toolsets` | The user described a task or workflow | Canonical task toolsets, required inputs, recommended tools |
|
|
11
|
+
| `hive://tools` | The user asks what Hive can call | Full catalog summary without flooding root `tools/list` |
|
|
12
|
+
| `hive://providers` | The user asks about provider coverage or provenance | Provider names, categories, auth/runtime notes |
|
|
13
|
+
| `hive://status` | The user asks if Hive or a provider is healthy | Classified provider/runtime state |
|
|
14
|
+
| `hive://skills` | The request matches a recurring workflow | Agent skills and when to apply them |
|
|
15
|
+
| `search_tools` | Intent is known but exact endpoint is not | Ranked endpoint/toolset candidates |
|
|
16
|
+
| Category listing tools | The user is inside a known category | Scoped tool lists for market, wallet, DeFi, NFT, security, and other domains |
|
|
17
|
+
| `get_api_endpoint_schema` | Before any exact invocation | Parameters, required fields, validation shape |
|
|
18
|
+
| `invoke_api_endpoint` | After schema validation | Bounded provider call with normalized output and provenance |
|
|
19
|
+
|
|
20
|
+
## Decision rules
|
|
21
|
+
|
|
22
|
+
- For broad crypto questions, start with `hive://toolsets`.
|
|
23
|
+
- For "what tools do you have?" questions, read `hive://tools`.
|
|
24
|
+
- For "which provider/source?" questions, read `hive://providers`.
|
|
25
|
+
- For health, quota, key, or degradation questions, read `hive://status`.
|
|
26
|
+
- For exact execution, never skip schema lookup unless the schema was already
|
|
27
|
+
loaded in the current turn.
|
|
28
|
+
|
|
29
|
+
## Search query shape
|
|
30
|
+
|
|
31
|
+
Good `search_tools` queries combine workflow, domain, chain, and identifier
|
|
32
|
+
type:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"query": "wallet investigation ethereum token balances transfers",
|
|
37
|
+
"limit": 5
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"query": "token security ethereum contract honeypot approvals",
|
|
44
|
+
"limit": 5
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"query": "prediction markets event outcomes traders polymarket",
|
|
51
|
+
"limit": 5
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Common failure states
|
|
56
|
+
|
|
57
|
+
- `missing_key`: the endpoint exists, but the configured key is absent.
|
|
58
|
+
- `plan_required`: the endpoint exists, but the account plan does not allow it.
|
|
59
|
+
- `rate_limited`: retry later or reduce the call volume.
|
|
60
|
+
- `degraded`: provider returned partial, fallback, cached, or stale data.
|
|
61
|
+
- `failing`: provider or Hive path failed. Return the classified failure and
|
|
62
|
+
the next diagnostic step.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hive-wallet-investigation
|
|
3
|
+
description: Use this skill for wallet, portfolio, holder, whale, transfer, PnL, NFT exposure, DeFi position, or notable on-chain activity investigations. Require wallet address and chain before executing Hive wallet tools.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
package: "@hiveintelligence/agent-skills"
|
|
7
|
+
category: "wallet"
|
|
8
|
+
requires_network: "true"
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# hive-wallet-investigation — Wallet Investigation
|
|
13
|
+
|
|
14
|
+
Use this skill when the user asks to investigate a wallet, portfolio, holdings,
|
|
15
|
+
transfers, PnL, NFT exposure, or DeFi positions.
|
|
16
|
+
|
|
17
|
+
## Task toolset
|
|
18
|
+
|
|
19
|
+
Use `wallet_investigation`.
|
|
20
|
+
|
|
21
|
+
Required identifiers: wallet address and chain.
|
|
22
|
+
|
|
23
|
+
## Procedure
|
|
24
|
+
|
|
25
|
+
Read `references/workflow.md` when the request needs multi-chain handling,
|
|
26
|
+
activity triage, risk caveats, or a structured wallet investigation report.
|
|
27
|
+
|
|
28
|
+
1. Validate the address format for the requested chain.
|
|
29
|
+
2. Start with balances and native balance.
|
|
30
|
+
3. Add transfers, NFT holdings, DeFi positions, or PnL only when relevant.
|
|
31
|
+
4. Summarize exposure, concentration, notable activity, and missing data.
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
If the user provides an EVM wallet but no chain, ask whether they want Ethereum,
|
|
36
|
+
Base, Arbitrum, Polygon, or a multi-chain investigation.
|
|
37
|
+
|
|
38
|
+
## Runtime status handling
|
|
39
|
+
|
|
40
|
+
Classify provider failures as `missing_key`, `plan_required`, `rate_limited`,
|
|
41
|
+
`degraded`, or `failing`. A single blocked enrichment tool should not suppress
|
|
42
|
+
balances or transfers that did succeed.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "hive-wallet-investigation",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 1,
|
|
6
|
+
"prompt": "Investigate this Ethereum wallet's balances and recent transfers: 0x0000000000000000000000000000000000000000",
|
|
7
|
+
"expected_output": "Uses wallet_investigation, validates chain/address, starts with balances, adds bounded recent transfers, and reports source/freshness/runtime status.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"assertions": [
|
|
10
|
+
"Chooses wallet_investigation.",
|
|
11
|
+
"Starts with balances/native balance.",
|
|
12
|
+
"Bounds transfer history."
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": 2,
|
|
17
|
+
"prompt": "This EVM wallet might be active on several chains. Can you inspect it?",
|
|
18
|
+
"expected_output": "Asks whether the user wants a specific chain or multi-chain scope, avoids silently mixing chains, and labels each provider/source.",
|
|
19
|
+
"files": [],
|
|
20
|
+
"assertions": [
|
|
21
|
+
"Asks for chain scope or states multi-chain plan.",
|
|
22
|
+
"Does not silently mix chain data.",
|
|
23
|
+
"Reports provider/runtime caveats."
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Wallet Investigation Workflow
|
|
2
|
+
|
|
3
|
+
Use this reference for wallet balances, transfers, PnL, NFTs, DeFi positions,
|
|
4
|
+
and notable activity.
|
|
5
|
+
|
|
6
|
+
## Required identifiers
|
|
7
|
+
|
|
8
|
+
- Wallet address.
|
|
9
|
+
- Chain/network, unless the user explicitly asks for multi-chain.
|
|
10
|
+
- Optional: time window, asset filter, counterparty, protocol, or NFT
|
|
11
|
+
collection.
|
|
12
|
+
|
|
13
|
+
Ask for chain when an EVM address appears without context. For Solana wallets,
|
|
14
|
+
use the Solana skill when the request is Solana-specific.
|
|
15
|
+
|
|
16
|
+
## Tool selection order
|
|
17
|
+
|
|
18
|
+
1. Validate the identifier shape for the requested chain.
|
|
19
|
+
2. Use `search_tools` for wallet balance, native balance, transfer, NFT, DeFi,
|
|
20
|
+
and PnL tools.
|
|
21
|
+
3. Inspect schemas before endpoint invocation.
|
|
22
|
+
4. Start with balances/native balance.
|
|
23
|
+
5. Add transfers for activity questions.
|
|
24
|
+
6. Add NFTs, DeFi positions, or PnL only when relevant.
|
|
25
|
+
|
|
26
|
+
## Bounded calls
|
|
27
|
+
|
|
28
|
+
- Use explicit `limit`, `page`, `per_page`, or time filters for transfers.
|
|
29
|
+
- Do not fetch full history for a quick portfolio read.
|
|
30
|
+
- Avoid mixing chains unless the user requested multi-chain analysis.
|
|
31
|
+
|
|
32
|
+
## Report template
|
|
33
|
+
|
|
34
|
+
- Summary: wallet posture and notable finding.
|
|
35
|
+
- Calls made: endpoints, chain, wallet, filters.
|
|
36
|
+
- Evidence: balances, transfers, exposure, provider/freshness/runtime status.
|
|
37
|
+
- Caveats: missing chains, truncated history, unavailable enrichment, degraded
|
|
38
|
+
providers.
|
|
39
|
+
- Next action: chain expansion, transfer drilldown, risk check, or PnL detail.
|
|
40
|
+
|
|
41
|
+
## Gotchas
|
|
42
|
+
|
|
43
|
+
- Wallet labels and owner identity are not guaranteed.
|
|
44
|
+
- Token balances can include spam or illiquid assets.
|
|
45
|
+
- Absence of DeFi/NFT data may reflect provider coverage, not true absence.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Hive AGENTS.md Routing Snippet
|
|
2
|
+
|
|
3
|
+
Use this compact routing block in `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, or a
|
|
4
|
+
client-specific always-loaded instruction file. It solves the common failure
|
|
5
|
+
mode where the skill exists but the agent answers from memory before loading it.
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
## Hive MCP Routing
|
|
9
|
+
|
|
10
|
+
For live crypto intelligence, prefer Hive retrieval over model memory.
|
|
11
|
+
|
|
12
|
+
- User asks about live crypto data, prices, wallets, tokens, DeFi, NFTs,
|
|
13
|
+
Solana, security, DEX pools, network state, or prediction markets:
|
|
14
|
+
use `hive-query`.
|
|
15
|
+
- Exact Hive endpoint, provider, schema, or argument shape is unknown:
|
|
16
|
+
use `hive-tool-discovery`.
|
|
17
|
+
- Clear domain request:
|
|
18
|
+
- prices, liquidity, exchanges, OHLC, order books: `hive-market-research`
|
|
19
|
+
- token metadata, holders, liquidity, enrichment, risk:
|
|
20
|
+
`hive-token-diligence`
|
|
21
|
+
- wallet balances, transfers, PnL, NFTs, DeFi positions:
|
|
22
|
+
`hive-wallet-investigation`
|
|
23
|
+
- token, approval, contract, dApp, phishing, simulation risk:
|
|
24
|
+
`hive-security-risk`
|
|
25
|
+
- DEX pools, pairs, trades, liquidity, OHLCV: `hive-dex-pool-analysis`
|
|
26
|
+
- protocol TVL, fees, yields, stablecoins, bridges:
|
|
27
|
+
`hive-defi-research`
|
|
28
|
+
- NFT ownership, metadata, floors, sales, rarity: `hive-nft-research`
|
|
29
|
+
- Solana wallets, SPL accounts, DAS assets, priority fees:
|
|
30
|
+
`hive-solana-analysis`
|
|
31
|
+
- blocks, gas, receipts, logs, RPC diagnostics:
|
|
32
|
+
`hive-network-infrastructure`
|
|
33
|
+
- prediction markets, events, outcomes, traders:
|
|
34
|
+
`hive-prediction-markets`
|
|
35
|
+
- Setup, API key, CLI, or app integration:
|
|
36
|
+
use `hive-mcp`, `hive-build-onboarding`, `hive-cli`, or `hive-build`.
|
|
37
|
+
|
|
38
|
+
Default execution loop:
|
|
39
|
+
1. Read `hive://toolsets` or call `search_tools`.
|
|
40
|
+
2. Select one task toolset or exact endpoint.
|
|
41
|
+
3. Call `get_api_endpoint_schema`.
|
|
42
|
+
4. Execute through `invoke_api_endpoint` with bounded args.
|
|
43
|
+
5. Report provider, source/freshness, fallback/cache/degraded state, and
|
|
44
|
+
runtime status (`ok`, `missing_key`, `plan_required`, `rate_limited`,
|
|
45
|
+
`degraded`, or `failing`).
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Keep this snippet short. The skill files carry the detailed workflow and should
|
|
49
|
+
be loaded only after the routing layer selects the right Hive skill.
|