diff --git a/skills/github-repo-monitor/SKILL.md b/skills/github-repo-monitor/SKILL.md index 7de2e8f7..41a8b75f 100644 --- a/skills/github-repo-monitor/SKILL.md +++ b/skills/github-repo-monitor/SKILL.md @@ -191,7 +191,15 @@ python3 -m py_compile /tmp/github-monitor-build/main.py && echo "Syntax OK" Fix any syntax errors before proceeding. -### Step 8 - Package and upload +### Step 8 - Show the customised script + +Show `/tmp/github-monitor-build/main.py` to the user with the `canvas_ui` tool +if available, otherwise display it in a fenced code block. Then ask: +*"Does this look right? Shall I package and deploy the automation?"* + +Wait for confirmation before proceeding. + +### Step 9 - Package and upload ```bash tar -czf /tmp/github-monitor.tar.gz -C /tmp/github-monitor-build . @@ -208,7 +216,7 @@ TARBALL_PATH=$(curl -s -X POST \ echo "Uploaded: $TARBALL_PATH" ``` -### Step 9 - Create the automation +### Step 10 - Create the automation ```bash curl -s -X POST "${OPENHANDS_HOST}/api/automation/v1" \ @@ -225,7 +233,7 @@ curl -s -X POST "${OPENHANDS_HOST}/api/automation/v1" \ Record the returned `id`. -### Step 10 - Confirm +### Step 11 - Confirm Tell the user: diff --git a/skills/slack-channel-monitor/SKILL.md b/skills/slack-channel-monitor/SKILL.md index 82cfd457..ed8daed3 100644 --- a/skills/slack-channel-monitor/SKILL.md +++ b/skills/slack-channel-monitor/SKILL.md @@ -139,7 +139,15 @@ python3 -m py_compile /tmp/slack-monitor-build/main.py && echo "Syntax OK" Fix any syntax errors before proceeding. -### Step 4 - Package and upload +### Step 4 - Show the customised script + +Show `/tmp/slack-monitor-build/main.py` to the user with the `canvas_ui` tool +if available, otherwise display it in a fenced code block. Then ask: +*"Does this look right? Shall I package and deploy the automation?"* + +Wait for confirmation before proceeding. + +### Step 5 - Package and upload ```bash tar -czf /tmp/slack-monitor.tar.gz -C /tmp/slack-monitor-build . @@ -160,7 +168,7 @@ echo "Uploaded: $TARBALL_PATH" If the upload fails with a size error, the tarball must be under 1 MB. `main.py` is under 15 KB so this should never trigger. -### Step 5 - Create the automation +### Step 6 - Create the automation ```bash curl -s -X POST "${OPENHANDS_HOST}/api/automation/v1" \ @@ -179,7 +187,7 @@ A 55-second timeout keeps runs well within the 60-second cron window. Record the returned `id` - share it with the user as confirmation. -### Step 6 - Confirm +### Step 7 - Confirm Tell the user: