shll-skills 5.0.0 → 5.0.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 (3) hide show
  1. package/README.md +27 -1
  2. package/SKILL.md +22 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -65,18 +65,30 @@ RUNNER_PRIVATE_KEY=0x... shll-mcp
65
65
 
66
66
  The server communicates via **stdio** using JSON-RPC 2.0. Send `tools/list` to discover all available tools.
67
67
 
68
- ### Available MCP Tools
68
+ ### Available MCP Tools (20 total)
69
69
 
70
70
  | Tool | Type | Description |
71
71
  |------|------|-------------|
72
72
  | `portfolio` | Read | Vault holdings + token balances |
73
73
  | `balance` | Read | Operator wallet gas balance |
74
74
  | `price` | Read | Real-time token price (DexScreener) |
75
+ | `search` | Read | Search token by name/symbol on BSC |
76
+ | `tokens` | Read | List known token symbols + addresses |
75
77
  | `lending_info` | Read | Venus Protocol supply balances + APY |
78
+ | `policies` | Read | View active on-chain policies + config |
79
+ | `status` | Read | One-shot security overview (vault, operator, policies, activity) |
80
+ | `history` | Read | Recent transactions + policy rejections |
81
+ | `my_agents` | Read | List agents where current operator is authorized |
82
+ | `listings` | Read | Available agent templates for rent |
76
83
  | `swap` | Write | PancakeSwap V2/V3 auto-routing swap |
84
+ | `wrap` | Write | BNB → WBNB in vault |
85
+ | `unwrap` | Write | WBNB → BNB in vault |
77
86
  | `lend` | Write | Supply tokens to Venus for yield |
78
87
  | `redeem` | Write | Withdraw from Venus |
79
88
  | `transfer` | Write | Send BNB or ERC20 from vault |
89
+ | `config` | Write | Configure risk parameters (spending limits, cooldown) |
90
+ | `setup_guide` | Info | Generate dual-wallet onboarding URL + steps |
91
+ | `generate_wallet` | Info | Create new operator wallet (address + key) |
80
92
 
81
93
  ---
82
94
 
@@ -169,6 +181,20 @@ AI Agent -> CLI/MCP -> PolicyClient.validate() -> PolicyGuard (on-chain) -> vaul
169
181
  - npm: [shll-skills](https://www.npmjs.com/package/shll-skills)
170
182
  - GitHub: [kledx/shll-skills](https://github.com/kledx/shll-skills)
171
183
 
184
+ ## 🧩 Multi-Skill Compatibility
185
+
186
+ SHLL can coexist with other DeFi skills (OKX DEX API, Bitget Wallet, etc.). Key architectural differences:
187
+
188
+ | | **SHLL** | **OKX DEX API** | **Bitget Wallet** |
189
+ |---|---|---|---|
190
+ | **Wallet** | Smart contract vault (AgentNFA) | User EOA | Bitget custody |
191
+ | **Execution** | On-chain via PolicyGuard | Calldata only (user signs) | HMAC API |
192
+ | **Safety** | On-chain policy enforcement | User approval | API key perms |
193
+ | **AI autonomy** | Execute within policy limits | Cannot execute | Full API access |
194
+ | **Risk if key leaked** | Policy-limited trades only | N/A | Full API access |
195
+
196
+ **SHLL is the only skill with on-chain policy enforcement.** Even if the AI hallucinates, the smart contract rejects unsafe operations.
197
+
172
198
  ## License
173
199
 
174
200
  MIT
package/SKILL.md CHANGED
@@ -26,6 +26,7 @@ These rules are **non-negotiable**. Violating any of them is a critical failure.
26
26
  4. **One agent per conversation.** Once a user provides a token-id, use only that ID for the entire conversation. If they want to switch, they must explicitly say so.
27
27
  5. **Never log or display private keys** beyond the initial `generate-wallet` output. If the user asks you to repeat it, remind them to check their saved copy.
28
28
  6. **Do not infer trading intent.** If the user says "check my portfolio," do NOT follow up by suggesting or executing trades. Only trade when the user explicitly asks.
29
+ 7. **Multi-skill coexistence.** If the user has other DeFi skills installed (OKX DEX API, Bitget Wallet, etc.), **always use SHLL tools when a token-id is in context or the user is operating through their SHLL agent vault.** Other skills may provide market data or quotes — that's fine — but ALL vault operations MUST go through SHLL tools to ensure PolicyGuard enforcement.
29
30
 
30
31
  ---
31
32
 
@@ -229,6 +230,27 @@ All commands output JSON:
229
230
  - Rejected by policy: `{"status":"rejected", "reason":"Exceeds per-tx limit"}`
230
231
  - Error: `{"status":"error", "message":"..."}`
231
232
 
233
+ ---
234
+
235
+ ## 🧩 MULTI-SKILL COMPATIBILITY: How SHLL Differs from Other DeFi Skills
236
+
237
+ If the user has multiple DeFi skills installed, understand the architectural differences:
238
+
239
+ | | **SHLL** | **OKX DEX API** | **Bitget Wallet Skill** |
240
+ |---|---|---|---|
241
+ | **Wallet model** | Smart contract vault (AgentNFA) | User's EOA wallet | Bitget API custody |
242
+ | **Execution** | On-chain via PolicyGuard | Generates calldata → user signs | HMAC API call → Bitget backend |
243
+ | **Safety** | On-chain policy enforcement (spending limits, cooldowns, DEX whitelist) | User approval only | API key permissions |
244
+ | **Fund location** | On-chain vault (isolated per agent) | User's wallet directly | Bitget platform |
245
+ | **AI autonomy** | Can execute within policy limits | Cannot execute (calldata only) | Can execute via API |
246
+ | **Risk if key leaked** | Limited to policy-allowed trades | N/A (no key) | Full API access |
247
+
248
+ **Key distinction:** SHLL is the only skill with **on-chain policy enforcement**. Even if the AI makes a mistake, the smart contract rejects operations that violate spending limits or cooldowns. Other skills rely on the user or platform to gatekeep.
249
+
250
+ **Routing rule:** When the user's intent involves their SHLL agent vault (identified by token-id), ALWAYS use SHLL tools. It's fine to use other skills for price quotes, market research, or operations outside SHLL.
251
+
252
+ ---
253
+
232
254
  ## LINKS
233
255
  - Website: https://shll.run
234
256
  - Twitter: @shllrun
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shll-skills",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "SHLL DeFi Agent — CLI + MCP Server for BSC",
5
5
  "main": "dist/index.js",
6
6
  "bin": {