Inference Optimizer
Analysis
The skill is coherent and not clearly malicious, but it can persistently grant script-execution authority and copy, modify, archive, or delete OpenClaw state, so it should be reviewed carefully before applying setup or cleanup.
Findings (4)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
[[ "${1:-}" = "--delete" ]] && DO_DELETE=true ... find "$SESSIONS" -type f -name "*.jsonl" -mtime +1 -delete ... rm -f "$f"The purge script archives by default, but the documented --delete mode permanently deletes stale session files and small memory files.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
APPROVALS_FILE="${APPROVALS_FILE:-$HOME/.openclaw/exec-approvals.json}" ... agents = ["main", "whatsapp"] ... allowlist.append({"pattern": pattern, "id": str(uuid.uuid4())})setup.sh --apply persistently adds path-specific execution approvals for this skill's scripts to both the main and whatsapp agents, changing the local permission boundary.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
OPENCLAW_DIR="${OPENCLAW_DIR:-$HOME/.openclaw}" ... backup_dir "$OPENCLAW_DIR" "openclaw-home" ... backup_dir "$WORKSPACE_MAIN" "workspace-clawd" ... backup_dir "$WORKSPACE_WHATSAPP" "workspace-whatsapp"The preflight command creates local tar backups of the entire OpenClaw home and workspace trees, which may include memory, sessions, config, approvals, and other sensitive runtime state.
Rewrite workspace files ... SOUL.md ≤ 500 chars, AGENTS.md ≤ 1000 chars, TOOLS.md trim unused entries, MEMORY.md keep durable facts only, daily memory files: archive anything older than 3 days
The optimization flow can rewrite persistent workspace and memory files that shape future agent behavior and remembered context.
