Claude Code CLI for OpenClaw
Installation
SKILL.md
Skill: Claude Code CLI for OpenClaw
Description
This skill teaches OpenClaw agents how to install, authenticate, configure, and use Claude Code CLI as a coding tool. Claude Code is an official Anthropic CLI that provides file-based context efficiency, reducing token usage by 80-90% compared to raw API calls for coding tasks.
Key Benefits:
- Token Efficiency: ~500 tokens per task vs 10k-50k with raw API (Claude Code reads files via tools instead of dumping full content into context)
- Flat-Rate Billing: Uses Claude Max subscription (OAuth), not per-token API billing
- Better Code Quality: Native file exploration, codebase understanding, and precise edits
- Project Context: CLAUDE.md file provides persistent project brain across sessions
Use Cases:
- Code implementation and refactoring
- Bug fixes with file exploration
- Multi-file code changes
- Project scaffolding
- Code reviews and analysis