FB clawgrid-connector
ClawGrid AI marketplace connector. BIND CODES: always run scripts/bind.sh, never fabricate. Handles registration, heartbeat, task polling, claiming, execution, and artifact submission.
As a process B 79/100 · Nearly there — weak spots: execution cost
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.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- 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 · 46
-
high Dangerous commands
cmd-persistencereferences/setup-guide.md:211Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
high Dangerous commands
cmd-persistencereferences/setup-guide.md:213Persistence mechanism (cron / launchd / scheduled task / autorun registry)| crontab -
-
high Dangerous commands
cmd-persistencescripts/clawgrid-env.sh:28Persistence 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/install.sh:240Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$_hb_plist" 2>/dev/null || true
-
high Dangerous commands
cmd-persistencescripts/poll.sh:419Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl bootstrap "gui/$(id -u)" "$LAUNCHD_PLIST" 2>/dev/null || \
-
high Dangerous commands
cmd-persistencescripts/poll.sh:420Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$LAUNCHD_PLIST" 2>/dev/null || true
-
high Dangerous commands
cmd-persistencescripts/poll.sh:424Persistence mechanism (cron / launchd / scheduled task / autorun registry)HB_COUNT=$(crontab -l 2>/dev/null | grep -c 'clawgrid-heartbeat' || true)
-
high Dangerous commands
cmd-persistencescripts/poll.sh:426Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
high Dangerous commands
cmd-persistencescripts/setup-crons.sh:88Persistence mechanism (cron / launchd / scheduled task / autorun registry)_old_cron=$(crontab -l 2>/dev/null || true)
-
high Dangerous commands
cmd-persistencescripts/setup-crons.sh:128Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl bootstrap "gui/$(id -u)" "$LAUNCHD_PLIST" 2>/dev/null || \
-
high Dangerous commands
cmd-persistencescripts/setup-crons.sh:129Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$LAUNCHD_PLIST" 2>/dev/null || true
-
high Dangerous commands
cmd-persistencescripts/setup-crons.sh:133Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
high Concealment
en-hide-from-userSKILL.md:173Instruction to hide actions from the userDo not tell the owner where to enter the code — they already know.
Medium and low: 33
-
medium Exfiltration
net-credential-usereferences/account-and-tasks.md:58Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" \
-
medium Exfiltration
net-credential-usereferences/task-execution.md:63Credential used in a network call (verify the destination is the intended service)curl -s -X POST -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/tasks/abandon-stuck"
-
medium Exfiltration
net-credential-usereferences/task-execution.md:66Credential used in a network call (verify the destination is the intended service)curl -s -X POST -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/tasks/{TASK_ID}/abandon" -
medium Exfiltration
net-credential-usereferences/task-execution.md:69Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/tasks?status=active"
-
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 Exfiltration
net-credential-usereferences/troubleshooting.md:119Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/me"
-
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/heartbeat.sh:42Persistence mechanism (cron / launchd / scheduled task / autorun registry) (detector / deny-list definition)crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab - 2>/dev/null || true
detector -
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 Dangerous commands
cmd-persistencescripts/poll.sh:383Persistence 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/setup-crons.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 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,
-
medium Exfiltration
net-credential-useSKILL.md:531Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" \
-
medium Exfiltration
net-credential-useSKILL.md:639Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/tasks/$TASK_ID/stages"
-
medium Exfiltration
net-credential-useSKILL.md:705Credential used in a network call (verify the destination is the intended service)curl -s -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/onboarding/me"
-
low Dangerous commands
cmd-cron-mentionreferences/setup-guide.md:211Mentions 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:28Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat') | crontab - 2>/dev/null || true
-
low Dangerous commands
cmd-cron-mentionscripts/heartbeat.sh:42Mentions editing / listing crontabcrontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat' | crontab - 2>/dev/null || 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 Dangerous commands
cmd-cron-mentionscripts/poll.sh:424Mentions editing / listing crontabHB_COUNT=$(crontab -l 2>/dev/null | grep -c 'clawgrid-heartbeat' || true)
-
low Dangerous commands
cmd-cron-mentionscripts/poll.sh:426Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
low Exfiltration
net-credential-usescripts/poll.sh:866Credential 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:867Credential 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:88Mentions editing / listing crontab_old_cron=$(crontab -l 2>/dev/null || true)
-
low Dangerous commands
cmd-cron-mentionscripts/setup-crons.sh:133Mentions editing / listing crontab(crontab -l 2>/dev/null | grep -v 'clawgrid-heartbeat'; \
-
low Dangerous commands
cmd-cron-mentionscripts/setup-crons.sh:194Mentions 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 -
low Exfiltration
net-credential-useSKILL.md:472Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)`curl -s -X POST -H "Authorization: Bearer $API_KEY" "$API_BASE/api/lobster/tasks/{TASK_ID}/abandon"`quoted -
low Exfiltration
net-credential-useSKILL.md:511Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)- Approve: `curl -X POST "$API_BASE/api/lobster/tasks/$TASK_ID/review" -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{"action":"approve"}'`quoted
Files scanned: 31. 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") - warning
body-longSKILL.md body ≈ 11138 tokens (recommended < 5000); move details to references/ - 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 79/100
- 40Execution cost. Instruction body is 11138 tokens: crowds the task out of the window
- 50When it triggers. No condition that starts the skill
- 60Result and completion. Output format stated, no completion criterion
- 70Inputs and preconditions. Inputs and preconditions are listed
- 85Steps. 135 steps, 1 vague phrases
- 100Tools and files. Tools declared in frontmatter
- 100Failures and branches. 23 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 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 17 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (9 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)
- -33 of 21 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 184: enough signal without eating the budget
- +4Structure: 49 headings
- +3Step-by-step instructions: 135 items
- +3Output format is stated explicitly
- +4Has examples (17 code blocks)
- +4Reference files are cited in the instructions (8 of 8)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 64.