shll-skills 2.0.1 → 2.0.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/SKILL.md CHANGED
@@ -70,50 +70,49 @@ Tell the user:
70
70
  export RUNNER_PRIVATE_KEY="0x..."
71
71
  ```
72
72
 
73
- ### Step 2: Check gas balance & ask about token-id
73
+ ### Step 2: Check gas balance & token-id
74
74
 
75
75
  ```bash
76
76
  shll-run balance
77
77
  ```
78
78
 
79
- Reply with **both** items in one message (don't wait for balance before asking about token-id):
79
+ Ask user: *"Do you already have a SHLL Agent token-id (a number like 4, 5, etc.)?"*
80
80
 
81
- *"Here's your operator wallet status: [balance result].*
81
+ **If user says YES and gives a number** → Go to Step 4.
82
82
 
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)"*
83
+ **If user says NO, or doesn't know, or says "next" / "continue" / any variation** Go to Step 3 immediately.
86
84
 
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.
85
+ ### Step 3: Create the agent YOU MUST DO THIS, DO NOT SKIP
89
86
 
90
- ### Step 3: Create agent for the user BE PROACTIVE
87
+ 🚨 **MANDATORY**: If the user doesn't have a token-id, you MUST run `setup-guide` RIGHT NOW. Do not ask them to "go to a website". Do not keep asking for a token-id they don't have. YOU generate the link for them.
91
88
 
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
+ **Immediately run** (default 30 days if user didn't specify):
98
90
  ```bash
99
- shll-run setup-guide --listing-id <LISTING_ID> --days <DAYS_USER_SAID>
91
+ shll-run setup-guide --listing-id <LISTING_ID> --days 30
100
92
  ```
101
93
 
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>`*
94
+ Then tell the user:
95
+
96
+ *"I've generated your agent setup link. Open it now in your browser:*
97
+ *👉 `<URL from command output>`*
98
+
99
+ *⚠️ Connect your **personal wallet** (MetaMask / hardware wallet) — NOT the operator wallet.*
105
100
 
106
- *Important: connect your **personal wallet** (MetaMask / hardware wallet) — NOT the operator wallet I generated.*
101
+ *Follow the 4 steps on the page:*
102
+ 1. *Rent — pays rental fee, mints your Agent NFT*
103
+ 2. *Authorize — allows this operator wallet to trade*
104
+ 3. *Fund — deposits BNB into the trading vault*
105
+ 4. *Done — shows your **token-id** number*
107
106
 
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***
107
+ *Paste the token-id here when done."*
113
108
 
114
- *When you see the token-id number on the 'Setup Complete' screen, paste it here and I'll start trading for you."*
109
+ **FORBIDDEN PATTERNS never do any of these:**
110
+ - "Please prepare your token-id" (user doesn't have one!)
111
+ - "Go to shll.run and find your agent" (too vague!)
112
+ - "I need your token-id to proceed" (you should be CREATING it for them!)
113
+ - Asking for token-id more than once without running setup-guide
115
114
 
116
- **If the user already has a token-id**, verify it immediately:
115
+ **If the user already has a token-id**, verify it:
117
116
  ```bash
118
117
  shll-run portfolio -k <ID>
119
118
  ```
package/dist/index.js CHANGED
@@ -1605,7 +1605,7 @@ var balanceCmd = new import_commander.Command("balance").description("Check BNB
1605
1605
  address: account.address,
1606
1606
  balanceBNB: humanBal,
1607
1607
  sufficient: enough,
1608
- note: enough ? "Wallet has enough BNB for gas fees." : "Wallet needs more BNB. Send at least $1 of BNB to this address for gas fees."
1608
+ note: enough ? "Wallet has enough BNB for gas fees." : `Wallet needs more BNB for gas. Current: ${humanBal} BNB, minimum recommended: 0.001 BNB (~$0.60). Send a small amount of BNB (BSC/BEP-20) to this address.`
1609
1609
  });
1610
1610
  } catch (error) {
1611
1611
  const message = error instanceof Error ? error.message : "Unknown error";
package/dist/index.mjs CHANGED
@@ -1615,7 +1615,7 @@ var balanceCmd = new Command("balance").description("Check BNB balance of the ga
1615
1615
  address: account.address,
1616
1616
  balanceBNB: humanBal,
1617
1617
  sufficient: enough,
1618
- note: enough ? "Wallet has enough BNB for gas fees." : "Wallet needs more BNB. Send at least $1 of BNB to this address for gas fees."
1618
+ note: enough ? "Wallet has enough BNB for gas fees." : `Wallet needs more BNB for gas. Current: ${humanBal} BNB, minimum recommended: 0.001 BNB (~$0.60). Send a small amount of BNB (BSC/BEP-20) to this address.`
1619
1619
  });
1620
1620
  } catch (error) {
1621
1621
  const message = error instanceof Error ? error.message : "Unknown error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shll-skills",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "SHLL Agent Runtime Skill for OpenClaw",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -1411,7 +1411,7 @@ const balanceCmd = new Command("balance")
1411
1411
  sufficient: enough,
1412
1412
  note: enough
1413
1413
  ? "Wallet has enough BNB for gas fees."
1414
- : "Wallet needs more BNB. Send at least $1 of BNB to this address for gas fees.",
1414
+ : `Wallet needs more BNB for gas. Current: ${humanBal} BNB, minimum recommended: 0.001 BNB (~$0.60). Send a small amount of BNB (BSC/BEP-20) to this address.`,
1415
1415
  });
1416
1416
  } catch (error: unknown) {
1417
1417
  const message = error instanceof Error ? error.message : "Unknown error";