shll-skills 2.0.0 → 2.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 (2) hide show
  1. package/SKILL.md +30 -15
  2. package/package.json +2 -2
package/SKILL.md CHANGED
@@ -70,35 +70,50 @@ Tell the user:
70
70
  export RUNNER_PRIVATE_KEY="0x..."
71
71
  ```
72
72
 
73
- ### Step 2: Check gas wallet balance
73
+ ### Step 2: Check gas balance & ask about token-id
74
74
 
75
75
  ```bash
76
76
  shll-run balance
77
77
  ```
78
78
 
79
- If `sufficient: false`, tell the user:
80
- *"Your operator wallet needs more BNB for gas fees. Send at least $1 of BNB to `<address>`. You can buy BNB on Binance, OKX, or any exchange and withdraw to BSC (BEP-20)."*
79
+ Reply with **both** items in one message (don't wait for balance before asking about token-id):
81
80
 
82
- Wait until balance is sufficient.
81
+ *"Here's your operator wallet status: [balance result].*
83
82
 
84
- ### Step 3: Set up agent (user does this themselves)
83
+ *While you fund gas, let's also set up your agent — do you already have a SHLL Agent (a token-id number)?*
84
+ - *If YES: tell me the number.*
85
+ - *If NO: no worries, I'll create one for you right now. **How many days do you want to rent?** (default: 30 days)"*
85
86
 
86
- Ask: *"Do you already have a SHLL Agent? (a token-id number)"*
87
+ ⚠️ **Do NOT just say "prepare your token-id" without explaining what it is or how to get one.**
88
+ Token-id = your SHLL Agent NFT number. New users won't have one yet.
87
89
 
88
- **If NO** Guide them to set up via shll.run:
90
+ ### Step 3: Create agent for the user BE PROACTIVE
91
+
92
+ **If the user doesn't have a token-id:**
93
+
94
+ 1. **Ask the user ONE question**: *"How many days do you want to rent? (e.g. 30)"*
95
+ - If user already said a number, skip asking.
96
+
97
+ 2. **Run `setup-guide` immediately** (don't wait for them to go find a website):
89
98
  ```bash
90
- shll-run setup-guide --listing-id <LISTING_ID> --days 30
99
+ shll-run setup-guide --listing-id <LISTING_ID> --days <DAYS_USER_SAID>
91
100
  ```
92
101
 
93
- This outputs a link to https://shll.run/setup with pre-filled parameters. Tell the user:
94
- 1. *"Open the setup link in your browser."*
95
- 2. *"Connect YOUR personal wallet (MetaMask, WalletConnect) — this becomes the owner wallet."*
96
- 3. *"Follow the steps to: rent an agent → authorize the operator wallet → fund the vault."*
97
- 4. *"When done, tell me your token-id number."*
102
+ 3. **Give the user the exact link** from the output and walk them through it:
103
+ *"I've prepared your setup link open it now:*
104
+ *👉 `<URL from setup-guide output>`*
105
+
106
+ *Important: connect your **personal wallet** (MetaMask / hardware wallet) — NOT the operator wallet I generated.*
107
+
108
+ *The page will guide you through 4 quick steps:*
109
+ 1. *Rent — pays rental fee, creates your Agent*
110
+ 2. *Authorize — grants this operator wallet trading permission*
111
+ 3. *Fund — deposits BNB into the trading vault*
112
+ 4. *Done — shows your **token-id***
98
113
 
99
- **⚠️ NEVER use `init` for new users.** The `init` command is deprecated because it uses the same key for owner and operator, which is a security risk.
114
+ *When you see the token-id number on the 'Setup Complete' screen, paste it here and I'll start trading for you."*
100
115
 
101
- **If YES** Verify:
116
+ **If the user already has a token-id**, verify it immediately:
102
117
  ```bash
103
118
  shll-run portfolio -k <ID>
104
119
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shll-skills",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "SHLL Agent Runtime Skill for OpenClaw",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -21,4 +21,4 @@
21
21
  "typescript": "^5.4.5",
22
22
  "@types/node": "^20.12.7"
23
23
  }
24
- }
24
+ }