BB gitclaw
Back up the OpenClaw agent workspace to a GitHub repo and keep it synced via a cron-driven commit/push script.
Back up the OpenClaw agent workspace to a GitHub repo and keep it synced via a cron-driven commit/push script.
As a process B 65/100 · Nearly there — weak spots: result and completion
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 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
- 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 · 11
✓ No critical or high findings
Medium and low: 11
-
medium Dangerous commands
cmd-persistenceSKILL.md:337Persistence mechanism (cron / launchd / scheduled task / autorun registry) (quoted — discussed, not commanded)- `(crontab -l 2>/dev/null; echo "$CRON_LINE") | crontab -`
quoted -
low Dangerous commands
cmd-background-processSKILL.md:84Starts a background / autostarted process (quoted — discussed, not commanded)- `sudo systemctl enable --now cron || sudo service cron start || true`
quoted -
low Dangerous commands
cmd-background-processSKILL.md:87Starts a background / autostarted process (quoted — discussed, not commanded)- `sudo systemctl enable --now crond || true`
quoted -
low Dangerous commands
cmd-background-processSKILL.md:90Starts a background / autostarted process (quoted — discussed, not commanded)- `sudo systemctl enable --now crond || true`
quoted -
low Dangerous commands
cmd-background-processSKILL.md:93Starts a background / autostarted process (quoted — discussed, not commanded)- `sudo systemctl enable --now cronie || true`
quoted -
low Dangerous commands
cmd-privilegeSKILL.md:123Privilege escalation / world-writable permissions (quoted — discussed, not commanded)- `cat "$out" | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null`
quoted -
low Dangerous commands
cmd-privilegeSKILL.md:124Privilege escalation / world-writable permissions (quoted — discussed, not commanded)- `sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg`
quoted -
low Dangerous commands
cmd-privilegeSKILL.md:126Privilege escalation / world-writable permissions (detector / deny-list definition)- `echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.li
detector -
low Dangerous commands
cmd-cron-mentionSKILL.md:335Mentions editing / listing crontab (quoted — discussed, not commanded)- `crontab -l 2>/dev/null | grep -F "$CRON_CMD" >/dev/null`
quoted -
low Dangerous commands
cmd-cron-mentionSKILL.md:337Mentions editing / listing crontab (quoted — discussed, not commanded)- `(crontab -l 2>/dev/null; echo "$CRON_LINE") | crontab -`
quoted -
low Dangerous commands
cmd-cron-mentionSKILL.md:341Mentions editing / listing crontab (detector / deny-list definition)- `crontab -l | grep -F "$CRON_CMD"`
detector
Files scanned: 1. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 65/100
- 0Result and completion. Does not say what the result is
- 55Failures and branches. 1 branches
- 60Tools and files. Uses tools (bash, web, git) that frontmatter does not declare
- 70When it triggers. States when to use, but not when not to
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 133 steps, 3 vague phrases
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2599 tokens
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
- low 10 top-level sections: this looks like several domains in one skill
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)
- +3Description length 110: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +4Structure: 13 headings
- +3Step-by-step instructions: 133 items
- +4Has examples (1 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 80.