You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: agent auto-downloads runtime with SHA256 verification
Add step-by-step agent instructions to automatically download the
runtime from GitHub Releases and verify SHA256 checksum before
extraction. Falls back to manual download if auto-install fails.
Scan remains Benign. Published as v0.2.7.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: clawhub-skill/aima-doctor/SKILL.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,23 +20,30 @@ Use this skill when OpenClaw needs diagnosis or repair and the normal agent flow
20
20
21
21
## Execution rules
22
22
23
-
1. Prefer the packaged helper over ad-hoc shell commands.
24
-
2. Summarize the user symptom into one short sentence and pass it to the helper.
25
-
3. On macOS or Linux, run:
23
+
1. Before running the helper, check that the runtime exists. On macOS/Linux check for `~/.openclaw/tools/aima-doctor/run.sh`; on Windows check for `%USERPROFILE%\.openclaw\tools\aima-doctor\run.ps1`.
24
+
2. If the runtime is missing, install it automatically:
25
+
- Download `aima-doctor-runtime.zip` from `https://github.com/Approaching-AI/aima-openclaw/releases/download/v0.2/aima-doctor-runtime.zip`
26
+
- Verify the SHA256 checksum matches `0f38959c6759e72a25bf089c9ab4aef1cf0022ba3aef1ea6686593896e973d1e`. If it does not match, stop and warn the user.
27
+
- Create the target directory `~/.openclaw/tools/aima-doctor/` if it does not exist.
28
+
- Extract the archive into that directory.
29
+
- Confirm the runtime is now present before proceeding.
30
+
3. Prefer the packaged helper over ad-hoc shell commands.
31
+
4. Summarize the user symptom into one short sentence and pass it to the helper.
5. If the helper asks a question, relay that question to the user and rerun or continue with the answer as required.
38
-
6. If the helper reports success or failure, quote that result plainly. Do not invent a better outcome.
39
-
7. If the helper is missing, tell the user the runtime install is incomplete and direct them to the GitHub release at `https://github.com/Approaching-AI/aima-openclaw/releases`.
44
+
7. If the helper asks a question, relay that question to the user and rerun or continue with the answer as required.
45
+
8. If the helper reports success or failure, quote that result plainly. Do not invent a better outcome.
46
+
9. If the automatic download in step 2 fails, direct the user to the GitHub release at `https://github.com/Approaching-AI/aima-openclaw/releases` to download and extract manually.
0 commit comments