BC github-backup
Automate OpenClaw workspace backups and skill version control to the private GitHub repo `nz365guy/openclaw-backup`. Use this when staging/committing workspace changes, rotating the PAT, or running the backup script to push updates.
As a process C 59/100 · Has gaps — weak spots: result and completion, inputs and preconditions, running it twice
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- 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 · 9
✓ No critical or high findings
Medium and low: 9
-
medium Exfiltration
net-credential-usescripts/heartbeat.sh:84Credential used in a network call (verify the destination is the intended service)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \ -
medium Exfiltration
net-credential-usescripts/watchdog.sh:32Credential used in a network call (verify the destination is the intended service)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \ -
low Exfiltration
read-dotenvreferences/repo-setup.md:12Reads a .env file (detector / deny-list definition)- Rotate the token by updating `.env.local`, then run `source .env.local` (or restart the shell) before the next push.
detector -
low Exfiltration
read-dotenvreferences/repo-setup.md:22Reads a .env filesource .env.local
-
low Exfiltration
net-credential-usereferences/repo-setup.md:23Credential used in a network call (verify the destination is the intended service) (destination is a well-known publishing service)curl -s -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/user | jq '.login'known service -
low Exfiltration
exfil-webhook-urlscripts/heartbeat.sh:84Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \placeholder -
low Exfiltration
exfil-webhook-urlscripts/watchdog.sh:32Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \placeholder -
low Exfiltration
read-dotenvSKILL.md:12Reads a .env file (detector / deny-list definition)1. **Auth loaded** – `source .env.local` to expose `GITHUB_TOKEN` (repo+workflow scopes). Never commit `.env.local`.
detector -
low Exfiltration
read-dotenvSKILL.md:34Reads a .env filesource .env.local
Files scanned: 6. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 59/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 9 mutating operations with no state check
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 70When it triggers. States when to use, but not when not to
- 100Steps. 16 steps
- 100Failures and branches. 1 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 695 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
- -4Absolute local paths (C:\Users, /home/…): not portable
- -33 of 4 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 232: enough signal without eating the budget
- +4Structure: 6 headings
- +3Step-by-step instructions: 16 items
- +4Has examples (3 code blocks)
- +4Reference files are cited in the instructions (1 of 1)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 81.