DC codex-allinone
ArkClaw / OpenClaw 沙箱里一键安装并配置 Codex CLI 的 all-in-one skill。当用户提到 codex、想在 ArkClaw 里用 OpenAI 官方 Coding CLI、提到 ark-code-latest / 火山方舟 AgentPlan / Kimi / DeepSeek / 自定义 OpenAI 兼容端点 接 codex、想切换 codex 的模型供应商、或者说"我没有 OpenAI 官方账号但想用 codex / claude code 这类工具"时,使用本 skill。
As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
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
- 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 · 14
✓ No critical or high findings
Medium and low: 14
-
medium Dangerous commands
cmd-shell-rcscripts/install.sh:33Writes to a shell startup fileecho 'export PATH="$HOME/.npm-global/bin:$PATH"' >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/relay-helper.sh:158Writes to a shell startup fileecho 'export PATH="$HOME/.local/bin:$PATH"' >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/relay-helper.sh:212Writes to a shell startup fileecho "❌ start_relay: 找不到环境变量 $key_name 的值。请先确保 Key 已写入 ~/.bashrc 并 export 到当前 shell。" >&2
-
medium Dangerous commands
cmd-shell-rcscripts/setup-agentplan.sh:125Writes to a shell startup filesed -i '/^export ARK_API_KEY=/d' "$HOME/.bashrc" 2>/dev/null || true
-
medium Dangerous commands
cmd-shell-rcscripts/setup-agentplan.sh:126Writes to a shell startup fileecho "export ARK_API_KEY=\"$KEY\"" >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/setup-agentplan.sh:168Writes to a shell startup filecat >> "$HOME/.bashrc" <<'EOF'
-
medium Dangerous commands
cmd-shell-rcscripts/setup-codingplan.sh:93Writes to a shell startup filesed -i '/^export ARK_API_KEY=/d' "$HOME/.bashrc" 2>/dev/null || true
-
medium Dangerous commands
cmd-shell-rcscripts/setup-codingplan.sh:94Writes to a shell startup fileecho "export ARK_API_KEY=\"$KEY\"" >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/setup-codingplan.sh:136Writes to a shell startup filecat >> "$HOME/.bashrc" <<'EOF'
-
medium Dangerous commands
cmd-shell-rcscripts/setup-thirdparty.sh:85Writes to a shell startup filesed -i "/^export $ENV_KEY_NAME=/d" "$HOME/.bashrc" 2>/dev/null || true
-
medium Dangerous commands
cmd-shell-rcscripts/setup-thirdparty.sh:86Writes to a shell startup fileecho "export $ENV_KEY_NAME=\"$KEY\"" >> "$HOME/.bashrc"
-
medium Dangerous commands
cmd-shell-rcscripts/setup-thirdparty.sh:181Writes to a shell startup filecat >> "$HOME/.bashrc" <<'EOF'
-
low Exfiltration
net-credential-usescripts/setup-agentplan.sh:92Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)codex_ping_key "$KEY" "https://ark.cn-beijing.volces.com/api/plan/v3"
quoted -
low Exfiltration
net-credential-usescripts/setup-codingplan.sh:69Credential used in a network call (verify the destination is the intended service) (quoted — discussed, not commanded)codex_ping_key "$KEY" "https://ark.cn-beijing.volces.com/api/coding/v3"
quoted
Files scanned: 20. 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")
Process rating: all ten parameters 51/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
- 20When it triggers. No condition that starts the skill
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash, web, python) that frontmatter does not declare
- 100Steps. 24 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2514 tokens
- 100Running it twice. No mutating operations
- low 12 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)
- +3Output format is not stated: the model decides each time
- -212 emoji in the instructions: noise for the model
- -32 of 9 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 263: enough signal without eating the budget
- +4Structure: 23 headings
- +3Step-by-step instructions: 24 items
- +4Has examples (12 code blocks)
- +4Reference files are cited in the instructions (3 of 3)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 72.