DD openclaw-push-doctor
openclaw-healthcheck is a self-diagnostic skill that checks and repairs openclaw's communication channels and scheduled tasks. It diagnoses Feishu/lark-cli auth expiry, Telegram bot silence, WeChat bridge disconnects, and cron job failures — then guides the agent through targeted repairs without rebuilding everything from scratch. Trigger words: 飞书断了, 飞书没反应, telegram没反应, 微信断了, 定时任务没推送, cron没跑, 推送失败, 自检一下, 通讯检查, healthcheck, 检查通讯, 定时任务检查, 推送自检, 重连飞书, 重连telegram, 验证码失效, 配对码过期
As a process D 43/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 36
-
high Dangerous commands
cmd-persistencescripts/fix-crons.js:81Persistence mechanism (cron / launchd / scheduled task / autorun registry)crontab /tmp/crontab_backup.txt
-
high Dangerous commands
cmd-persistencescripts/fix-crons.js:192Persistence mechanism (cron / launchd / scheduled task / autorun registry)crontab /tmp/crontab_backup.txt
Medium and low: 34
-
low Exfiltration
exfil-webhook-urlscripts/check-all.js:49Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe" | \\
placeholder -
low Exfiltration
net-credential-usescripts/check-all.js:49Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe" | \\
vendor-hostquoted -
low Exfiltration
exfil-webhook-urlscripts/check-all.js:54Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=1" | \\
placeholder -
low Exfiltration
net-credential-usescripts/check-all.js:54Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=1" | \\
vendor-hostquoted -
low Dangerous commands
cmd-cron-mentionscripts/check-all.js:84Mentions editing / listing crontab (string literal in code, not executed)openclaw cron list 2>/dev/null || crontab -l 2>/dev/null | grep -i openclaw || echo "NO_CRON_FOUND"
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-all.js:87Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | sort | uniq -d | head -20
code literal -
low Exfiltration
exfil-webhook-urlscripts/check-all.js:153Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe" | \\
placeholder -
low Exfiltration
net-credential-usescripts/check-all.js:153Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe" | \\
vendor-hostquoted -
low Exfiltration
exfil-webhook-urlscripts/check-all.js:158Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=1" | \\
placeholder -
low Exfiltration
net-credential-usescripts/check-all.js:158Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=1" | \\
vendor-hostquoted -
low Dangerous commands
cmd-cron-mentionscripts/check-all.js:188Mentions editing / listing crontab (string literal in code, not executed)openclaw cron list 2>/dev/null || crontab -l 2>/dev/null | grep -i openclaw || echo "NO_CRON_FOUND"
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-all.js:191Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | sort | uniq -d | head -20
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-crons.js:22Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | grep -i "openclaw\\|morning-push\\|daily-push" | cat || \\
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-crons.js:26Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | sort | uniq -d
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-crons.js:48Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | grep -i "openclaw\\|morning-push\\|daily-push" | cat || \\
code literal -
low Dangerous commands
cmd-cron-mentionscripts/check-crons.js:52Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | sort | uniq -d
code literal -
low Exfiltration
exfil-webhook-urlscripts/check-telegram.js:45Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)"https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe"
placeholder -
low Exfiltration
exfil-webhook-urlscripts/check-telegram.js:58Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)"https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getUpdates?limit=1&timeout=5"
placeholder -
low Exfiltration
exfil-webhook-urlscripts/check-telegram.js:62Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)"https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getWebhookInfo"
placeholder -
low Exfiltration
exfil-webhook-urlscripts/check-telegram.js:74Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/deleteWebhook"
placeholder -
low Exfiltration
net-credential-usescripts/check-telegram.js:74Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/deleteWebhook"
vendor-hostquoted -
low Exfiltration
exfil-webhook-urlscripts/check-telegram.js:98Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe"
placeholder -
low Exfiltration
net-credential-usescripts/check-telegram.js:98Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe"
vendor-host -
low Exfiltration
net-credential-usescripts/check-telegram.js:165Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host; quoted — discussed, not commanded)curl -s "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/deleteWebhook"
vendor-hostquoted -
low Exfiltration
net-credential-usescripts/check-telegram.js:189Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -s --max-time 10 "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getMe"
vendor-host -
low Dangerous commands
cmd-cron-mentionscripts/fix-crons.js:38Mentions editing / listing crontab (string literal in code, not executed)crontab -l 2>/dev/null | grep -i "openclaw\\|morning-push\\|daily-push\\|skill" | cat
code literal -
low Dangerous commands
cmd-cron-mentionscripts/fix-crons.js:59Mentions editing / listing crontabcrontab -l 2>/dev/null | sort | uniq -d
-
low Dangerous commands
cmd-cron-mentionscripts/fix-crons.js:62Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -i "openclaw\\|morning-push" | sort
-
low Dangerous commands
cmd-cron-mentionscripts/fix-crons.js:69Mentions editing / listing crontabcrontab -l > /tmp/crontab_backup.txt
-
low Dangerous commands
cmd-cron-mentionscripts/fix-crons.js:83Mentions editing / listing crontabcrontab -l | grep openclaw
-
low Exfiltration
exfil-webhook-urlscripts/fix-crons.js:118Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \\
placeholder -
low Exfiltration
net-credential-usescripts/fix-crons.js:118Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \\
vendor-host -
low Exfiltration
exfil-webhook-urlscripts/fix-crons.js:229Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \\
placeholder -
low Exfiltration
net-credential-usescripts/fix-crons.js:229Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \\
vendor-host
Files scanned: 11. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "keywords" - note
frontmatter-keyunknown frontmatter key "requirements"
Process rating: all ten parameters 43/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 60Tools and files. Uses tools (node) that frontmatter does not declare
- 100Steps. 5 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 530 tokens
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +3Description length 479: enough signal without eating the budget
- +4Structure: 6 headings
- +3Step-by-step instructions: 5 items
- +4Has examples (2 code blocks)
- +3All 7 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 85.