Token导航 LogoToken导航

Agent Skill · 研究检索

claw2claude(claw2claude 命令行)

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

claw2claude 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 25,079。

总安装 3,849周安装 162GitHub Stars 公开资料未说明下载 1,348核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.2.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install claw2claude

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

claw2claude 用于将任务委派给本地 Claude Code CLI 处理。适合需要更强模型推理或现有项目深度协作时使用。通过 clawhub 安装,在检测到特定请求时自动激活。安装前需确认本地 Claude 环境配置、API 密钥有效性及相关资源占用。建议仅在必要时触发以避免不必要的本地计算开销。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install claw2claude;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

claw2claude 怎么安装?

在终端执行 openclaw skills install claw2claude。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

claw2claude 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

claw2claude 需要什么权限?

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

claw2claude 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

claw2claude 用的人多吗?

公开数据是累计安装 3,849 次,近一周安装 162 次,下载 1,348 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

claw2claude 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
claw2claude

claw2claude 命令行 · 本页

3,849—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
claw2claude
description
Delegates tasks to the local Claude Code CLI. Activate immediately when the user asks for Claude, requests a stronger model, or mentions an existing project path. Ask the user first whether to create a Claude project when: the task involves building something from scratch, spans multiple parts, requires multiple rounds of iteration, or the user is expressing a direction rather than a concrete single question. Applies to code AND non-code work (business plans, product specs, docs, etc.). Do not start answering directly — ask first.
license
MIT
metadata
openclaw
os
darwin
emoji
🦞→🤖
requires
bins
reads
writes
background_processes
gateway_tools_used
config_changes_required
permissions
claude_flags
--dangerously-skip-permissions" # Claude runs fully automated; no interactive prompts
rationale
>-

claw2claude — OpenClaw Orchestrates Claude Code

Delegates the user's task to the local claude CLI. You (OpenClaw AI) are the orchestrator. Claude Code is the executor.


Security & Transparency

This skill has broader-than-average system access because it bridges two runtimes (OpenClaw and Claude Code). Everything it does is documented here and in the metadata above.

What this skill accesses

ResourceWhyAccess type
~/.openclaw/openclaw.jsonGateway port + auth token, so notifier.py can POST results back to the user's channelRead-only
~/.openclaw/credentials/JWT expiry check before Claude starts — warns if token is stale; never modifiesRead-only
~/.openclaw/agents/main/sessions/sessions.jsonFind the user's most recently active channel so results go to the right placeRead-only
<project_path>/Claude Code working directory; all file changes are intentional outputs of the delegated taskRead + write
<skill_dir>/logs/Monthly invocation log (timestamp, mode, project, exit status, no prompt content beyond first 200 chars)Write

Background processes

Two scripts run detached from the main AI turn:

  • notifier.py — starts when Claude starts; polls every 2 s for Claude's completion file; sends chunked results to the user's channel via the OpenClaw gateway message tool; exits immediately after delivery (or after 35 min if Claude never finishes).
  • heartbeat.py — used in background mode only; monitors the background Claude PID; sends a notification when Claude exits. Not used in discuss, execute, or continue modes.

Neither process modifies OpenClaw config, reads credentials a second time, or persists beyond the task lifecycle.

--dangerously-skip-permissions usage

All Claude sessions are launched with this flag. It is necessary because Claude Code is invoked non-interactively (triggered by a chat message, not a terminal), so it cannot display permission prompts. The flag's scope is limited to the project directory — Claude is not given broader system access than a normal Claude Code session would have.

If you prefer interactive permission prompts, run Claude Code directly in a terminal rather than through this skill.

Required openclaw.json changes

Two config changes must be applied before the skill works. These are opt-in — the skill cannot make these changes itself:

{
  "gateway": {
    "tools": { "allow": ["message"] }
  },
  "tools": {
    "sessions": { "visibility": "all" }
  }
}
  • gateway.tools.allow: ["message"] — lets notifier.py call the gateway message tool from outside an AI turn to deliver results
  • tools.sessions.visibility: "all" — lets the notifier target the user's channel session (which differs from the system session running Claude)

See README.md for the full setup guide.


Activation

A. Activate immediately (any one condition is enough)

ConditionExamples
User explicitly asks for Claude"use Claude for this", "let Claude handle it", "hand it to Claude"
User requests a stronger / smarter model"use a better model", "switch to a more capable AI"
Task involves an existing Claude Code projectUser mentions a path that contains .openclaw-claude-session.json
User explicitly mentions claude CLI / Claude Code"run it with claude", "open a Claude Code session"

B. Ask first (when you judge the task has these traits)

Before starting, ask the user whether to create a Claude project if any of the following apply:

TraitHow to judge
It's an idea or directionUser says "I want to build/design/plan/write a…" — no concrete single question yet
Multiple parts involvedFeature modules, document chapters, plan phases — not answerable in one reply
Multiple iterations expectedDiscuss → revise → confirm loop, or clearly not a one-shot Q&A
A clear project concept existsApp, system, business plan, product spec, docs, course outline, campaign plan, etc.
User already has related materialMentions an existing directory, codebase, docs, or prior discussion

Fixed phrasing to use when asking:

This looks like a task that will need multiple rounds of discussion or iteration. Would you like to set up a Claude Code project for this? Benefits: - Full conversation history and context that persists across sessions - Pick up where you left off at any time - All files, plans, and code kept in one working directory [Yes, create project] / [No, handle it directly]
  • User says yes: ask for (or suggest) a project path, then launch in discuss or execute mode
  • User says no: handle it yourself; do not invoke this skill

If none of the above conditions apply, handle the request yourself. Do not invoke this skill.


Four Modes

ModeWhen to useClaude permissions
discussRequirements are unclear; user wants to explore options or plan architecture--dangerously-skip-permissions (all operations allowed)
executeTask is clear; user wants code written or changed--dangerously-skip-permissions (fully automatic)
continueResuming the previous session in the same modeInherits the previous mode's permissions
backgroundUser wants Claude to run without waiting for the resultSame as execute (--dangerously-skip-permissions) — always runs as execute, cannot use discuss or continue

Claude has a 30-minute timeout. If it expires, the task is aborted — split it into smaller subtasks and retry.


Step 1: Determine the mode

What the user saysMode
"Help me think through how to design…" / "What are the options?" / "Analyse this…"discuss
"Write…" / "Implement…" / "Create…" / "Refactor…"execute
"Continue" / "Keep going" / "Do what we discussed"continue
After a discussion: "OK, let's build it" / "Go with that plan"execute ← important!
"Run it in the background" / "Don't wait, just let it run"background
⚠️ Use execute, not continue, when switching from discussion to implementation. execute always resumes the last session (--resume) if one exists, whether the previous mode was discuss or execute. This keeps all messages to the same project in a single continuous session. continue also resumes the same session but is reserved for explicit "pick up where we left off" requests. If the user says "continue" but also adds a new direction, use execute mode with the full structured prompt — not continue.

Step 2: Confirm the project path (critical — prevents session cross-contamination)

The registry is printed to stderr automatically each time launch.sh runs — you do not need a separate call unless you need to inspect it *before* deciding which project to use. If unsure, run:

python3 "$SKILL_DIR/scripts/projects.py" list
SituationAction
User specified a path explicitlyUse it directly
Registry is empty — brand new projectGenerate an English directory name from the task; tell the user: "I'll create the project at ~/Projects/<name> — let me know if you'd like a different location"
Registry has exactly one projectUse it by default; tell the user: "Continuing with [project name]"
Registry has multiple projects + user says "continue" but it's ambiguousList them and ask the user to choose. Never guess.
Registry has multiple projects + task implies a specific oneInfer and confirm: "Did you mean [project name]?"

Step 3: Build the prompt for Claude

Expand the user's raw description into a structured instruction that Claude can execute efficiently.

discuss mode — instruct Claude to act as an architecture advisor, suggestions only, no code:

You are an experienced software architect. The user wants to discuss the following:

<user's original request>

Ask clarifying questions, suggest architecture patterns and tech stack options, identify risks.
Do NOT write actual implementation code unless the user explicitly asks for a short example.

execute mode — instruct Claude to complete the task directly:

You are a professional software engineer. Complete the following task:

Goal: <clear description of the end result>
Tech stack: <language/framework — infer if not specified>

Requirements:
- Clean, commented code following best practices
- Proper error handling and edge case coverage
- <any specific requirements the user emphasised>

<list concrete steps if applicable; omit otherwise>

continue mode — pass the user's new instruction directly; Claude already has the full prior context:

<user's new instruction verbatim>

Step 4: Launch and notify (required)

Before invoking Claude Code, tell the user it's starting (say it in your reply — no extra tool needed): "🚀 Launching Claude Code for [project name] — [discuss/execute] mode. This will take a few minutes…"

Then run with the exec tool:

"$SKILL_DIR/scripts/launch.sh" "<project_path>" "<mode>" "<prompt>"
  • project_path: absolute path — the script creates the directory and runs git init automatically
  • mode: discuss / execute / continue / background
  • prompt: the structured instruction built in Step 3. If the prompt contains double quotes, escape them as \" or wrap in single quotes.
⚠️ Never pass a 4th argument. The session key is always auto-detected by launch.sh. Passing it manually risks arg-parse corruption: when the prompt contains newlines or special characters, the shell may miscount positional arguments and assign prompt content to $4, sending results to the wrong channel.

background mode: the script returns immediately; Claude runs in the background. Tell the user: "🚀 Claude Code is running in the background. You'll be notified automatically when it's done."


Step 5: Deliver the result

The exec result already contains a structured summary written by Claude (extracted from the ---CHAT_SUMMARY--- block). The full output is in the log file.

The exec call may have taken several minutes and the channel connection may be stale. Always use the message tool explicitly to guarantee delivery — do not rely on turn-response auto-routing.

Chunked delivery (required — do not send in one message)

Split the summary into chunks and send each as a separate message call. Rules:

  1. First message: one-line confirmation only → "✅ Claude Code finished · [project name]"
  2. Body chunks: split the summary by section headings (##, ###) or at natural paragraph breaks — whichever comes first. Each chunk must be ≤ 500 characters. If a single paragraph exceeds 500 characters, break it at the nearest sentence boundary.
  3. Last message: footer line only →

- discuss mode: omit the footer — do not add any fixed closing line; let the summary speak for itself and ask a natural follow-up question if appropriate - execute mode: "Please verify the result in your project directory." - on timeout: "⏰ Task timed out (>30 min) — please split it into smaller subtasks and retry."

Do not rewrite or expand the summary — Claude already wrote it concisely. Send each chunk verbatim.

Example (summary has 3 sections):

message("✅ Claude Code finished · myapp")
message("## What was done\
Added JWT middleware to …")
message("## Files changed\
- src/auth.ts\
- src/routes …")
message("## Next steps\
Run `npm test` to verify …")
message("Please verify the result in your project directory.")

Examples

User: I want to build a video transcription tool but I'm not sure which tech stack to use
→ discuss mode → confirm directory ~/Projects/video-transcriber
→ Claude analyses options

User: OK, let's go with Whisper + FastAPI — start building
→ execute mode (discuss→execute, carries over context via --resume)
→ Claude implements directly based on the discussion, no need to re-explain

User: Add JWT authentication to ~/Projects/myapp
→ execute mode, path is explicit

User: Continue
→ registry has two projects → list them and ask the user to choose

平台分布

OpenClaw

73.52%
按下载量换算991

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills