Kilocode Model Sync
Analysis
This is a disclosed model-sync workflow, but it uses a Kilo API key, can update OpenClaw configuration, restart the gateway, and send Telegram/session messages, so only run it if those actions are intended.
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.
OPENCLAW_JSON.write_text(json.dumps(updated_config, indent=2)) ... subprocess.run([openclaw, "gateway", "restart"],
The apply script can overwrite the Kilocode model list in ~/.openclaw/openclaw.json and restart the OpenClaw gateway. This is high-impact but matches the stated purpose and includes backup behavior.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
Requires KILOCODE_API_KEY in ~/.openclaw/.env.
The skill needs a local API credential to access the Kilo AI API. This is expected for the sync purpose, and the provided code does not show credential logging or unrelated transmission.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
Use the `message` tool with `channel=telegram`, target Guillaume's chat ... Grog will relay a `sessions_send` message ... containing either: `approve` — proceed to apply
The workflow sends results through Telegram and relies on an inter-agent sessions_send approval signal before applying changes. This is disclosed, but users should confirm the intended recipient and approval source.
Append to `~/.openclaw/workspace/memory/YYYY-MM-DD.md`
The skill records sync outcomes in persistent workspace memory. The content appears limited to model-sync status, counts, backup paths, and approval notes.
