cline-openclaw-agent

Configure and reconcile a dedicated Cline CLI sub-agent for OpenClaw via exec, ACP, and MCP bridges.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/diazMelgarejo/orama-system --skill cline-openclaw-agent-diazmelgarejo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cline-openclaw-agent
Source: https://github.com/diazMelgarejo/orama-system/tree/main/bin/orama-system/skills/cline-openclaw-agent
Command: npx skills add https://github.com/diazMelgarejo/orama-system --skill cline-openclaw-agent-diazmelgarejo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cline, and includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up a Cline-backed coding sub-agent inside OpenClaw is error-prone: Cline exposes no OpenAI-compatible endpoint, its WorkOS token expires in minutes, and misconfiguring ACP or MCP bridges can break the gateway. This Skill creates and idempotently reconciles a canonical cline-agent without touching the Main Agent, global routing, or existing agents like codex-agent. ## Core Features & Use Cases - Idempotent agent binding: The bind_cline_backend.sh script creates or repairs the cline-agent entry, union-merges the delegation allowlist, validates config, and restarts the gateway only when something changed. - Three delegation bridges: Delegate coding tasks to the Cline CLI via exec one-shot (JSON output), ACP streaming sessions, or MCP tool-level integration, with full reference docs for each. - Self-healing CLI management: Automatically installs or updates the Cline CLI via npm when missing or stale, failing open when the registry is unreachable. - Use Case: You want OpenClaw's Main Agent to hand off a refactor task to Cline running GLM-5.2 with a 1M context window and no OpenRouter rate limits — run the binder once, then delegate through exec or ACP. ## Quick Start Ask the agent to run the Cline backend binder with medium effort to create and verify the cline-agent sub-agent.

Frequently Asked Questions about cline-openclaw-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Cline sub-agent in OpenClaw?

Run bash scripts/bind_cline_backend.sh --effort medium from the skill directory. The binder creates the cline-agent entry, sets the model and tool profile, merges the delegation allowlist, validates the config, and restarts the gateway only if something changed.

How do I delegate a coding task from OpenClaw to the Cline CLI?

Use the exec one-shot bridge: cline "task" --json --auto-approve true -c /repo -P cline-pass -m cline-pass/glm-5.2. For streaming structured delegation, use openclaw acp client --server cline --server-args --acp instead.

Why can't OpenClaw use Cline as a native model provider?

Cline exposes no OpenAI-compatible endpoint: its hub speaks a proprietary WebSocket protocol and its upstream API requires a WorkOS OAuth token that expires in about 12 minutes. Only the Cline CLI can refresh that token, so the binding is agent-level, not provider-level.

Does enabling acp.enabled globally work with Cline?

No. The acp config block requires a registered ACP runtime plugin backend, and Cline's --acp mode is an ACP server, not a backend plugin. Enabling it globally can break the gateway; use the one-shot openclaw acp client bridge instead.

What happens if the Cline CLI is not installed when binding?

The binder first runs ensure_cline_cli.sh, which installs or updates the CLI via npm and fails open if the registry is unreachable. If cline is still absent, the binder reports a needs_cline status without modifying any configuration.

What are the limitations of the openrouter/free agent model?

The openrouter/free auto-router is limited to roughly 50 requests per day and 20 requests per minute, so it is used only for routing and triage. Actual coding execution defaults to the Cline CLI via cline-pass/glm-5.2, which has no such rate limits and a 1M context window.