FB clawgrid-connector
ClawGrid AI marketplace connector. BIND CODES: always run scripts/bind.sh, never fabricate. Handles registration, heartbeat scheduling (start/stop/status), task polling, claiming, execution, and artifact submission.
As a process B 73/100 · Nearly there — weak spots: result and completion, consistency
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.
The skill tells the agent to hide things from you: not to show errors, not to mention actions, to report differently from what was done. You lose the ability to see what the agent really did.
Transparency beats a smooth answer. If the goal is to hide technical noise, ask the agent to "summarise briefly", not to "not mention".
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
- 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.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- 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 · 33
-
high Dangerous commands
cmd-persistencereferences/setup-guide.md:197Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
high Dangerous commands
cmd-persistencereferences/setup-guide.md:199Persistence mechanism (cron / launchd / scheduled task / autorun registry)| crontab -
-
high Dangerous commands
cmd-persistencescripts/clawgrid-env.sh:32Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat') | crontab - 2>/dev/null || true
-
high Dangerous commands
cmd-persistencescripts/heartbeat-ctl.sh:120Persistence mechanism (cron / launchd / scheduled task / autorun registry)_old_cron=$(crontab -l 2>/dev/null || true)
-
high Dangerous commands
cmd-persistencescripts/heartbeat-ctl.sh:161Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl bootstrap "gui/$(id -u)" "$LAUNCHD_PLIST" 2>/dev/null || \
-
high Dangerous commands
cmd-persistencescripts/heartbeat-ctl.sh:162Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$LAUNCHD_PLIST" 2>/dev/null || true
-
high Dangerous commands
cmd-persistencescripts/heartbeat-ctl.sh:165Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
high Dangerous commands
cmd-persistencescripts/install.sh:240Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$_hb_plist" 2>/dev/null || true
-
high Concealment
en-hide-from-userSKILL.md:176Instruction to hide actions from the userDo not tell the owner where to enter the code — they already know.
Medium and low: 24
-
medium Exfiltration
net-credential-usereferences/account-and-tasks.md:84Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" \
-
medium Dangerous commands
cmd-persistencereferences/troubleshooting.md:48Persistence mechanism (cron / launchd / scheduled task / autorun registry) (detector / deny-list definition)crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab -
detector -
medium Dangerous commands
cmd-persistencereferences/troubleshooting.md:76Persistence mechanism (cron / launchd / scheduled task / autorun registry) (detector / deny-list definition)crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab -
detector -
medium Dangerous commands
cmd-persistencescripts/heartbeat-ctl.sh:12Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)LAUNCHD_PLIST="$HOME/Library/LaunchAgents/${LAUNCHD_LABEL}.plist"code literal -
medium Dangerous commands
cmd-persistencescripts/heartbeat.sh:7Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)LAUNCHD_PLIST="$HOME/Library/LaunchAgents/${LAUNCHD_LABEL}.plist"code literal -
medium Dangerous commands
cmd-persistencescripts/install.sh:236Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)_hb_plist="$HOME/Library/LaunchAgents/ai.clawgrid.heartbeat.plist"
code literal -
medium Exfiltration
net-credential-usescripts/status.sh:16Credential used in a network call (verify the destination is the intended service)RESULT=$(curl -s -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/status" --max-time 10 2>/dev/null)
-
medium Dangerous commands
cmd-autorun-instructionSKILL.md:6Instructs the agent to auto-run a script on every sessionClawGrid AI marketplace connector. BIND CODES: always run scripts/bind.sh,
-
low Exfiltration
net-credential-usereferences/marketplace.md:67Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)> - Update fields: `curl -s -X PUT "$API_BASE/api/agents/me/offerings/OFFERING_ID" -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{"title":"New","price_max":3}'`quoted -
low Exfiltration
net-credential-usereferences/marketplace.md:68Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)> - Delete: `curl -s -X DELETE "$API_BASE/api/agents/me/offerings/OFFERING_ID" -H "Authorization: Bearer $API_KEY"` (returns 204)
quoted -
low Exfiltration
net-credential-usereferences/setup-guide.md:77Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)> `curl -s -X POST "$API_BASE/api/auth/openclaw-code" -H "Authorization: Bearer $API_KEY"`
quoted -
low Dangerous commands
cmd-cron-mentionreferences/setup-guide.md:197Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
low Dangerous commands
cmd-cron-mentionreferences/troubleshooting.md:7Mentions editing / listing crontab (documentation table row)| "offline" after idle | Heartbeat crontab not running — check `crontab -l` for `clawgrid-heartbeat` entry |
table -
low Dangerous commands
cmd-cron-mentionreferences/troubleshooting.md:48Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab -
-
low Dangerous commands
cmd-cron-mentionreferences/troubleshooting.md:76Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab -
-
low Dangerous commands
cmd-cron-mentionscripts/clawgrid-env.sh:32Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat') | crontab - 2>/dev/null || true
-
low Dangerous commands
cmd-cron-mentionscripts/heartbeat-ctl.sh:120Mentions editing / listing crontab_old_cron=$(crontab -l 2>/dev/null || true)
-
low Dangerous commands
cmd-cron-mentionscripts/heartbeat-ctl.sh:165Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
low Dangerous commands
cmd-cron-mentionscripts/heartbeat-ctl.sh:216Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab - 2>/dev/null || true
-
low Dangerous commands
cmd-cron-mentionscripts/heartbeat-ctl.sh:253Mentions editing / listing crontabHB_COUNT=$(crontab -l 2>/dev/null | grep -c 'clawgrid-heartbeat' || true)
-
low Dangerous commands
cmd-cron-mentionscripts/install.sh:243Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -q 'clawgrid-heartbeat' && _hb_missing=false
-
low Exfiltration
net-credential-usescripts/poll.sh:818Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)'accept_command': 'curl -s -X POST \"' + '$API_BASE' + '/api/lobster/marketplace/requests/' + r['id'] + '/accept\" -H \"Authorization: Bearer ' + '$API_KEY' + '\" -H \"Content-Type: application/json\"
quoted -
low Exfiltration
net-credential-usescripts/poll.sh:819Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)'decline_command': 'curl -s -X POST \"' + '$API_BASE' + '/api/lobster/marketplace/requests/' + r['id'] + '/decline\" -H \"Authorization: Bearer ' + '$API_KEY' + '\" -H \"Content-Type: application/json
quoted -
low Dangerous commands
cmd-cron-mentionscripts/setup-crons.sh:37Mentions editing / listing crontab (detector / deny-list definition; string literal in code, not executed)echo "Verify with: crontab -l | grep clawgrid && openclaw cron list"
detectorcode literal
Files scanned: 43. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - note
frontmatter-keyunknown frontmatter key "triggers" - note
frontmatter-keyunknown frontmatter key "repository" - note
frontmatter-keyunknown frontmatter key "dependencies" - note
frontmatter-keyunknown frontmatter key "tools"
Process rating: all ten parameters 73/100
- 0Result and completion. Does not say what the result is
- 40Consistency. Frontmatter name (clawgrid-connector) differs from the folder (clawgrid)
- 50When it triggers. No condition that starts the skill
- 70Execution cost. Instruction body is 4995 tokens
- 100Tools and files. Tools declared in frontmatter
- 100Steps. 34 steps
- 100Inputs and preconditions. Inputs and preconditions are listed
- 100Failures and branches. 6 branches, has a failure section
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 16 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (7 tags): a typed call is more reliable
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
- -35 of 31 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 215: enough signal without eating the budget
- +4Structure: 29 headings
- +3Step-by-step instructions: 34 items
- +4Has examples (3 code blocks)
- +4Reference files are cited in the instructions (10 of 10)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 71.