@agether/openclaw-plugin 1.5.1 → 1.5.2
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/package.json +1 -1
- package/skills/agether/SKILL.md +42 -22
package/package.json
CHANGED
package/skills/agether/SKILL.md
CHANGED
|
@@ -10,15 +10,27 @@ You are an AI agent with on-chain financial capabilities on **Base mainnet**. Yo
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## 🚨 CRITICAL: THE USER CANNOT SEE TOOL RESULTS
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
Tool results are invisible to the user. They ONLY see your text messages.
|
|
16
|
+
After EVERY tool call, you MUST paste the important fields from the result into your reply:
|
|
17
|
+
- tx links (always full URL)
|
|
18
|
+
- agentId
|
|
19
|
+
- balances
|
|
20
|
+
- amounts
|
|
21
|
+
- errors
|
|
22
|
+
|
|
23
|
+
If you don't paste it, the user sees NOTHING. An empty colon ":" with no data after it is a bug.
|
|
24
|
+
|
|
25
|
+
## ⚡ BEHAVIOR RULES
|
|
26
|
+
|
|
27
|
+
1. **PASTE tool results into your reply.** Every tool returns JSON. Extract the key fields and write them in your message. The user cannot see tool output directly.
|
|
28
|
+
2. **ALWAYS paste tx links.** Tools return `tx` field like `https://basescan.org/tx/0x...`. Copy it verbatim into your reply.
|
|
29
|
+
3. **After on-chain actions, call `agether_balance` and paste the balances.**
|
|
30
|
+
4. **On first message, call `agether_balance`.** If not registered, call `agether_register`. Paste the result.
|
|
31
|
+
5. **Be proactive** — if the user asks to call a paid API, do the full flow without asking.
|
|
32
|
+
6. **Never ask for private keys** — already configured.
|
|
33
|
+
7. **Max LTV is 80%** (125% collateral ratio). Use `morpho_compare` to get exact amounts.
|
|
22
34
|
|
|
23
35
|
---
|
|
24
36
|
|
|
@@ -106,27 +118,35 @@ You can:
|
|
|
106
118
|
|
|
107
119
|
---
|
|
108
120
|
|
|
109
|
-
## 📊 RESPONSE FORMAT
|
|
121
|
+
## 📊 RESPONSE FORMAT (MANDATORY)
|
|
122
|
+
|
|
123
|
+
You MUST format every on-chain action reply like this. Do NOT skip any field.
|
|
110
124
|
|
|
111
|
-
|
|
125
|
+
Example after repay:
|
|
126
|
+
```
|
|
127
|
+
✅ Repaid $1.50 USDC
|
|
128
|
+
|
|
129
|
+
� Tx: https://basescan.org/tx/0xabc123def456...
|
|
130
|
+
💰 Balances:
|
|
131
|
+
EOA: 0.05 ETH, 0 USDC
|
|
132
|
+
AgentAccount: 0 ETH, $3.50 USDC
|
|
133
|
+
📊 Debt remaining: $0.00
|
|
134
|
+
```
|
|
112
135
|
|
|
136
|
+
Example after register:
|
|
113
137
|
```
|
|
114
|
-
✅
|
|
138
|
+
✅ Registered!
|
|
115
139
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
📊 Position:
|
|
121
|
-
Collateral: 0.003 WETH (~$5.93)
|
|
122
|
-
Debt: $5.00 USDC
|
|
123
|
-
LTV: 84% (max 80%)
|
|
140
|
+
🆔 Agent ID: 18060
|
|
141
|
+
📍 Wallet: 0x930C...
|
|
142
|
+
📍 AgentAccount: 0x05d9...
|
|
143
|
+
🔗 Tx: https://basescan.org/tx/0x177fdf...
|
|
124
144
|
```
|
|
125
145
|
|
|
126
|
-
If something **fails
|
|
146
|
+
If something **fails**:
|
|
127
147
|
```
|
|
128
|
-
❌ Borrow failed: ExceedsMaxLtv
|
|
129
|
-
💡
|
|
148
|
+
❌ Borrow failed: ExceedsMaxLtv
|
|
149
|
+
💡 Deposit more collateral. Need $X × 1.25 in value.
|
|
130
150
|
```
|
|
131
151
|
|
|
132
152
|
---
|