A native integration that allows OpenClaw agents to use the official Anthropic Claude Code CLI for precise, token-efficient, and cost-effective development.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install claude-code-cli-openclaw
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install claude-code-cli-openclaw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Claude Code CLI for OpenClaw is a specialized skill designed to bridge the gap between AI agents and professional development environments. By utilizing the official Anthropic command-line interface, this skill enables agents to perform file-based context exploration and precise code edits without the massive token overhead typical of raw API calls. It is an essential addition to the Openclaw Skills ecosystem for developers seeking to maintain high code quality while taking advantage of Claude Max flat-rate billing.
The skill provides a standardized way for agents to install, authenticate via OAuth, and manage project-specific context through a CLAUDE.md file. This ensures that every coding session is grounded in the project's specific architecture and coding standards, making the agent a more effective and reliable collaborator in complex software projects.
Begin by installing the official Anthropic Claude Code package globally via npm:
npm install -g @anthropic-ai/claude-code
Run the setup command to link your Claude Max subscription. This requires a TTY-enabled terminal for the browser-based OAuth flow:
claude setup-token
Add the following configuration to your config.patch to enable the CLI as a backend for Openclaw Skills agents:
{
"agents": {
"defaults": {
"cliBackends": {
"claude-cli": {
"command": "/usr/bin/claude",
"env": { "CLAUDE_CODE_OAUTH_TOKEN": "YOUR_TOKEN_HERE" }
}
}
}
}
}
| Resource | Type | Description |
|---|---|---|
| CLAUDE.md | Markdown File | The persistent project brain containing tech stack details and coding standards. |
| CLAUDE_CODE_OAUTH_TOKEN | Env Var | The long-lived sk-ant-oat01 token used for authenticated CLI access. |
| claude-cli/sonnet-4.6 | Model Alias | High-speed model configuration for general coding tasks. |
| claude-cli/opus-4.6 | Model Alias | High-reasoning model configuration for architectural changes. |
Loading
An intelligent agent designed to automate email categorization, draft professional responses, and extract actionable tasks from complex threads.

A specialized tool for configuring and optimizing AI Agents through advanced prompt engineering and architectural design.

An automated research tool that scrapes competitor ad libraries to analyze messaging, creative patterns, and market positioning.

SkillChain provides comprehensive supply chain intelligence and ecosystem analysis for locally installed AI agent capabilities.

Bat is a lightweight, dependency-free command-line utility designed for logging, searching, and managing local text entries directly from your terminal.

An AI-driven toolkit designed to automate community building, engagement strategies, and growth workflows.








































