name: claude-code description: | Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks homepage: https://code.claude.com/docs
This skill integrates Claude Code capabilities into OpenClaw, providing access to AI-assisted coding workflows, documentation, and best practices.
# Get documentation about a specific topic
claude-code query "subagents"
claude-code query "best practices"
claude-code query "settings"
# Create a coding subagent for a complex task
claude-code task --description "Fix the login bug" --priority high
claude-code task --description "Refactor the database layer" --model claude-3-5-sonnet
# Show all available commands
claude-code --help
Query Claude Code documentation for a specific topic.
Usage:
claude-code query <topic>
Examples:
claude-code query "subagents"
claude-code query "agent-teams"
claude-code query "best practices"
claude-code query "common workflows"
claude-code query "settings"
claude-code query "troubleshooting"
Topics include: - Subagents and agent teams - Best practices and workflows - Settings and customization - Troubleshooting guide - Plugins and extensions - MCP (Model Context Protocol) - Headless/Programmatic usage
Create and execute a coding subagent task.
Usage:
claude-code task --description "<task description>" [--priority <level>] [--model <model-name>]
Options:
- --description, -d: Task description (required)
- --priority, -p: Task priority (low/medium/high, default: medium)
- --model, -m: Model to use (optional, uses default if not specified)
Examples:
claude-code task --description "Implement user authentication module"
claude-code task --description "Refactor database queries" --priority high
claude-code task --description "Write unit tests for the API" --model claude-3-5-sonnet
Get overview of Claude Code documentation sections.
Usage:
claude-code docs [section]
Sections:
- quickstart - Getting started guide
- best-practices - AI coding best practices
- common-workflows - Typical development workflows
- settings - Customization options
- troubleshooting - Common issues and solutions
- all - Full documentation overview (default)
Examples:
claude-code docs
claude-code docs quickstart
claude-code docs best-practices
claude-code docs troubleshooting
Display Claude Code configuration and status.
Usage:
claude-code info
Output includes: - Version information - Available subagents - Configured models - MCP servers status
This skill works seamlessly with OpenClaw's native capabilities:
# 1. Query best practices for debugging
claude-code query "debugging best practices"
# 2. Create a subagent to investigate and fix
claude-code task --description "Find and fix the null pointer exception in userService.js" --priority high
# 3. Review the changes
claude-code query "code review best practices"
# 1. Get best practices for the feature type
claude-code query "API design best practices"
# 2. Create development task
claude-code task --description "Implement REST API for user management" --priority medium
# 3. Check settings for code style
claude-code query "code style settings"
# 1. Query PR review best practices
claude-code query "PR review workflows"
# 2. Set up automated review task
claude-code task --description "Review all PRs in the last week" --priority low
Not required for basic usage. Claude Code integration uses OpenClaw's native capabilities.
Uses OpenClaw's configured default models. Override per task with --model option.
發現更多技能外掛,請訪問7w4.net。
Managed by OpenClaw's subagent configuration (default: 8 concurrent subagents).
這個 Skill 質量中等偏上。優點是文件內容豐富、覆蓋全面,安裝指令碼帶有檢查機制,使用簡單直觀。不足之處在於其核心的"建立編碼任務"功能只是一個空殼,無法真正使用;內建的文件是靜態內容,可能與官方最新文件不同步。對於需要真正執行編碼任務的開發者來說,這個 Skill 暫時無法滿足需求,建議等待功能完善後再使用。