Skip to content
Automation
Skill

/dr-claw

Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven notifications, and mobile reporting through the local drclaw CLI.

From plugin
dr-claw
1.2k175 skills

Claude Code

$ npx -y skills add OpenLAIR/dr-claw --skill dr-claw --agent claude-code

SKILL.md

dr-claw.SKILL.md
name: dr-claw
description: Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven notifications, and mobile reporting through the local drclaw CLI.

Dr. Claw for OpenClaw

Use this skill when OpenClaw needs to operate Dr. Claw from chat or mobile, especially for:

  • listing Dr. Claw projects
  • finding sessions waiting for response
  • replying into a session on the user's behalf
  • continuing, approving, rejecting, retrying, or resuming workflows
  • creating a new project from a fresh idea
  • generating daily or per-project digests
  • consuming stable `openclaw.*` JSON schema payloads
  • running the background event-driven watcher daemon

Preconditions

Before running Dr. Claw commands:

$DRCLAW_BIN server status

If the server is not running:

$DRCLAW_BIN server on

Assume the local wrapper exports these defaults when OpenClaw runs the skill:

DRCLAW_BIN="${DRCLAW_BIN:-$(which drclaw)}"
DRCLAW_URL=http://localhost:3001

When invoking the CLI from OpenClaw, prefer `$DRCLAW_BIN --url "$DRCLAW_URL" ...` instead of relying on PATH.

Core operating rule

Prefer direct CLI facts over model guesses. For stateful operations, return the raw CLI result first, then summarize for the user.

When a command returns JSON, prefer the top-level `openclaw` field over scraping the raw natural-language `reply`.

Formal schema contract:

cat "$(git rev-parse --show-toplevel)/agent-harness/cli_anything/drclaw/SCHEMA.md"

When calling OpenClaw locally from automation or shell, use:

./scripts/openclaw_drclaw_turn.sh

This serializes `openclaw agent --local` calls per agent and avoids session-lock collisions.

Project discovery

List projects:

$DRCLAW_BIN --url "$DRCLAW_URL" projects list

Inspect the latest message in a project:

$DRCLAW_BIN --url "$DRCLAW_URL" projects latest <project> --json

Inspect project progress and next actions:

$DRCLAW_BIN --url "$DRCLAW_URL" projects progress <project> --json

Create a new empty project workspace:

$DRCLAW_BIN --url "$DRCLAW_URL" projects create /absolute/path/to/project --name "Display Name" --json

Create a new project from a fresh idea and immediately start discussion:

$DRCLAW_BIN --url "$DRCLAW_URL" projects idea /absolute/path/to/project --name "Display Name" --idea "<idea text>" --json

Use `projects idea` for the “I suddenly have an idea” flow.

Session lookup and waiting triage

List known sessions for one project:

$DRCLAW_BIN --url "$DRCLAW_URL" chat sessions --project <project> --json

List waiting sessions across all projects or one project:

$DRCLAW_BIN --url "$DRCLAW_URL" chat waiting --json
$DRCLAW_BIN --url "$DRCLAW_URL" chat waiting --project <project> --json

For session replies and workflow actions, use the embedded `openclaw.turn.v1` payload to decide:

  • whether user input is required
  • which quick action to render next
  • whether the session is still processing

Recommended triage flow: 1. Resolve the project first if needed. 2. Use `chat waiting --json` to find actionable sessions. 3. Use `chat sessions --project ... --json` when the user wants more detail.

Replying to an existing session

Once the user chooses a session:

$DRCLAW_BIN --url "$DRCLAW_URL" chat reply --project <project> --session <session-id> \
  --bypass-permissions --attach /path/to/file -m "<message>" --json

**Note:** Always use `--bypass-permissions` in automation to avoid being blocked by server-side tool approval requests.

**Timeout & Heartbeat:** If you omit `--timeout`, the CLI will wait indefinitely (with a 1-hour safety cap) and use **heartbeat detection**. This is preferred for complex tasks like `Task 10` that run experiments.

If a specific provider (like Codex) is failing, add `--provider gemini` to the command to switch.

Immediately after replying, check whether the session is still processing:

$DRCLAW_BIN --url "$DRCLAW_URL" chat waiting --project <project> --json

If you need to wait until the session leaves the waiting list, use:

./scripts/drclaw_wait_until_clear.sh --project <project> --session <session-id>

The script returns JSON indicating whether the session cleared or timed out.

Workflow control

Use these commands for workflow actions:

$DRCLAW_BIN --url "$DRCLAW_URL" workflow status --project <project> --json
$DRCLAW_BIN --url "$DRCLAW_URL" workflow continue --project <project> --session <session-id> --bypass-permissions -m "<instruction>" --json
$DRCLAW_BIN --url "$DRCLAW_URL" workflow approve --project <project> --session <session-id> --json
$DRCLAW_BIN --url "$DRCLAW_URL" workflow reject --project <project> --session <session-id> -m "<reason>" --json
$DRCLAW_BIN --url "$DRCLAW_URL" workflow retry --project <project> --session <session-id> --json
$DRCLAW_BIN --url "$DRCLAW_URL" workflow resume --project <project> --session <session-id> --bypass-permissions --json

For project-level UI cards or voice summaries, prefer the embedded `openclaw.project.v1` payload from:

$DRCLAW_BIN --url "$DRCLAW_URL" workflow status --project <project> --json
$DRCLAW_BIN --url "$DRCLAW_URL" digest project --project <project> --json

Digests and reporting

Daily digest:

$DRCLAW_BIN --url "$DRCLAW_URL" digest daily --json

Per-project digest:

$DRCLAW_BIN --url "$DRCLAW_URL" digest project --project <project> --json

Cross-project portfolio digest with recommended follow-ups:

$DRCLAW_BIN --url "$DRCLAW_URL" digest portfolio --json

For cross-project OpenClaw dashboards, use the embedded `openclaw.portfolio.v1` field rather than custom ranking logic.

Artifacts and workflow state:

$DRCLAW_BIN --url "$DRCLAW_URL" workflow status --project <project> --json
$DRCLAW_BIN --url "$DRCLAW_URL" taskmaster artifacts --project <project> -
Read more
@openlair
Ships withdr-claw

A Super AI Lab with massive AI Doctors as Assistants. Best IDE for Research via AI Power.

1.2k175 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of OpenLAIR/dr-claw on GitHub, a chart by star-history.com

Other skills on dr-claw.

academic-researcher

academic-researcher

Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers,…

@openlair@openlairInstall Skill
autogpt

autogpt

Autonomous AI agent platform for building and deploying continuous agents. Use when creating visual workflow agents, deploying…

@openlair@openlairInstall Skill
crewai

crewai

Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working…

@openlair@openlairInstall Skill
langchain

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic,…

@openlair@openlairInstall Skill
llamaindex

llamaindex

Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and…

@openlair@openlairInstall Skill
aris-ablation-planner

aris-ablation-planner

Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.…

@openlair@openlairInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n11d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about dr-claw.

Which coding agents can use dr-claw?
dr-claw installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.