Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

claude-code-openclaw-skillClaude 代码 OpenClaw 技能

Agent Skill

claude-code-openclaw-skill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,541

周安装

238

GitHub Stars

公开资料未说明

下载量

1,942
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:claude-code-openclaw-skill(Claude 代码 OpenClaw 技能)
来源仓库:https://github.com/mr-11even/claude-code-openclaw-skill
安装命令:
openclaw skills install claude-code-openclaw-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install claude-code-openclaw-skill

简介

将 OpenClaw 与 Claude Code CLI 集成,以使用 AI 辅助读取、编辑、运行命令、审查和自动化代码库上的工作流程。

SKILL.md

Claude Code Skill for OpenClaw

Call Claude Code CLI from OpenClaw to read codebase, edit files, run commands, and automate coding tasks.

Overview

This skill provides integration with Claude Code CLI, allowing OpenClaw to leverage Claude Code's powerful coding capabilities including:

  • Reading and understanding codebases
  • Editing files with AI assistance
  • Running terminal commands
  • Creating commits and PRs
  • Code review and debugging
  • Running sub-agents for parallel tasks

Prerequisites

  1. Install Claude Code CLI:
   curl -fsSL https://claude.ai/install.sh | bash
  1. Authenticate:
   claude auth login
  1. Verify installation:
   claude --version

Usage

Basic Query

Ask Claude Code a question about your codebase:

/claude-code What does the auth module do?

Run a Task

Execute a coding task:

/claude-code write tests for the login function

Continue Previous Session

Resume the most recent conversation:

/claude-code --continue

Resume Specific Session

Resume a session by name or ID:

/claude-code --resume auth-fix

Code Review

Review code changes:

/claude-code review the recent changes

Create Commit

Commit changes with a descriptive message:

/claude-code commit my changes

Run with Custom Model

Use a specific model:

/claude-code --model opus explain this code

JSON Output

Get structured JSON output for scripting:

/claude-code --output-format json --print "list all functions"

CLI Reference

Common Commands

CommandDescription
claude -p "query"Query via SDK, then exit
claude -cContinue most recent conversation
claude -r "session" "query"Resume session by ID or name
claude --print "query"Print response without interactive mode
claude updateUpdate to latest version
claude auth statusShow authentication status

Useful Flags

FlagDescriptionExample
--print, -pNon-interactive modeclaude -p "query"
--continue, -cContinue sessionclaude -c
--resume, -rResume specific sessionclaude -r session-id "task"
--modelSpecify modelclaude --model opus "task"
--output-formatOutput format (text/json/stream-json)claude -p --output-format json "task"
--max-turnsLimit agentic turnsclaude -p --max-turns 3 "task"
--max-budget-usdMax API spendclaude -p --max-budget-usd 5 "task"
--add-dirAdditional directoriesclaude --add-dir ../lib "task"
--mcp-configLoad MCP serversclaude --mcp-config ./mcp.json

Environment Variables

VariableDescription
ANTHROPIC_API_KEYAPI key for authentication
CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MDEnable CLAUDE.md from additional dirs

Integration with OpenClaw

This skill is designed to work with OpenClaw's exec tool. Here's how it integrates:

Method 1: Direct CLI Execution

Use OpenClaw's exec tool to run Claude Code commands:

claude -p "What files were changed in the last commit?"

Method 2: Session Management

Manage Claude Code sessions through OpenClaw:

# Continue last session
claude -c

# Resume specific session
claude -r my-session "Continue working on the feature"

Method 3: MCP Integration

For advanced integration, configure MCP servers:

claude mcp add <server-name> <config>

Examples

Example 1: Explore a New Codebase

/claude-code Explore the project structure and tell me what the main components are

Example 2: Fix a Bug

/claude-code Find and fix the login bug - users can't log in with correct credentials

Example 3: Write Tests

/claude-code Write unit tests for the payment module

Example 4: Refactor Code

/claude-code Refactor the auth middleware to use async/await

Example 5: Code Review

/claude-code Review this PR for security issues

Example 6: Batch Operations

/claude-code /batch migrate all API endpoints to use the new error handler

Troubleshooting

Authentication Issues

# Check auth status
claude auth status

# Re-authenticate
claude auth login

Permission Issues

# Run with specific permission mode
claude --permission-mode plan "task"

Session Issues

# List available sessions
claude --resume

# Fork a session (create new)
claude -r old-session --fork-session "new task"

Advanced Features

Sub-agents

Run multiple Claude Code instances in parallel:

claude --agents '{
  "reviewer": {
    "description": "Code reviewer",
    "prompt": "You are a senior code reviewer",
    "tools": ["Read", "Grep", "Bash"]
  }
}'

Hooks

Automate actions before/after Claude Code runs:

See Hooks documentation

MCP Servers

Connect Claude Code to external tools:

claude mcp add github '{"github_token": "..."}'

Resources


Note: Claude Code requires authentication. Run claude auth login before first use.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.89%
按下载量换算1,726

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills