CC Claude Code CLI for OpenClaw
Install, authenticate, and use Claude Code CLI as a native coding tool for any OpenClaw agent system.
Install, authenticate, and use Claude Code CLI as a native coding tool for any OpenClaw agent system.
As a process C 50/100 · Has gaps — weak spots: result and completion, when it triggers, consistency
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-shell-rcREADME.md:261Writes to a shell startup fileecho 'export PATH="$PATH:$(npm bin -g)"' >> /root/.bashrc
-
medium Dangerous commands
cmd-shell-rcscripts/install.sh:116Writes to a shell startup fileecho -e " ${GREEN}echo 'export CLAUDE_CODE_OAUTH_TOKEN=YOUR_TOKEN_HERE' >> ~/.bashrc${NC}" -
medium Dangerous commands
cmd-shell-rcscripts/install.sh:117Writes to a shell startup fileecho -e " ${GREEN}echo 'export CLAUDE_CODE_OAUTH_TOKEN=YOUR_TOKEN_HERE' >> ~/.profile${NC}" -
medium Dangerous commands
cmd-shell-rcscripts/install.sh:118Writes to a shell startup fileecho -e " ${GREEN}source ~/.bashrc${NC}" -
medium Dangerous commands
cmd-shell-rcscripts/install.sh:173Writes to a shell startup fileecho 'export PATH="$PATH:$(npm bin -g)"' >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/install.sh:181Writes to a shell startup fileecho 'export PATH="$PATH:$(npm bin -g)"' >> "$HOME/.profile"
-
medium Dangerous commands
cmd-shell-rcSKILL.md:139Writes to a shell startup fileecho "export CLAUDE_CODE_OAUTH_TOKEN=YOUR_OAUTH_TOKEN_HERE" >> /root/.bashrc
-
medium Dangerous commands
cmd-shell-rcSKILL.md:140Writes to a shell startup fileecho "export CLAUDE_CODE_OAUTH_TOKEN=YOUR_OAUTH_TOKEN_HERE" >> /root/.profile
-
medium Dangerous commands
cmd-shell-rcSKILL.md:525Writes to a shell startup fileecho 'export PATH="$PATH:$(npm bin -g)"' >> /root/.bashrc
-
low Dangerous commands
cmd-privilegescripts/install.sh:121Privilege escalation / world-writable permissions (string literal in code, not executed)echo -e " ${GREEN}echo 'CLAUDE_CODE_OAUTH_TOKEN=YOUR_TOKEN_HERE' | sudo tee -a /etc/environment${NC}"code literal
A further 1 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 6. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
name-formatname should be kebab-case (lowercase letters, digits, hyphens) - note
frontmatter-keyunknown frontmatter key "homepage" - note
frontmatter-keyunknown frontmatter key "openclaw"
Process rating: all ten parameters 50/100
- 0Result and completion. Does not say what the result is
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 17 mutating operations with no state check
- 40Consistency. Frontmatter name (Claude Code CLI for OpenClaw) differs from the folder (claude-code-cli-openclaw)
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash, web, node) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 70Execution cost. Instruction body is 4274 tokens
- 100Steps. 79 steps
- 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
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 101: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -218 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +4Structure: 54 headings
- +3Step-by-step instructions: 79 items
- +4Has examples (43 code blocks)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 75.