- Overview
- Highlights
- Quick Start
- Configuration
- OpenClaw Integration
- Research Lab - Quick Example
- Usage Guide
- Additional Details
- Contributing
- FAQ
- License
- Citation
- Acknowledgments
- Support & Community
Dr. Claw is a general-purpose AI research assistant designed to help researchers and builders execute end-to-end projects across different domains. From shaping an initial idea to running experiments and preparing publication-ready outputs, Dr. Claw keeps the full workflow in one place so teams can focus on research quality and iteration speed.
The Philosophy: Leveraged Cognition
Manual work is too slow. Fully automated AI is too generic. Vibe Researching is the new frontier. Dr. Claw turns your Research Taste into outsized outcomes with Agentic Execution--so you can move faster, think bigger, and still hold the line on scientific rigor.
- 🔬 Research Lab — Structured dashboard for end-to-end research: define your brief, generate a pipeline of tasks, track progress across Survey → Ideation → Experiment → Publication → Promotion, and inspect source papers, ideas (rendered with LaTeX math), and cache artifacts — all at a glance
- ⚡ Auto Research — Start one-click sequential task execution directly from the Project Dashboard, open the generated session live, and receive an email when the run completes
- 📚 100+ Research Skills — A curated library spanning idea generation, code survey, experiment development & analysis, paper writing, review response, and delivery — automatically discovered by agents and applied as task-level assistance
- 🗂️ Chat-Driven Pipeline — Describe your research idea in Chat; the agent uses the
inno-pipeline-plannerskill to interactively generate a structured research brief and task list — no manual templates needed - 🤖 Multi-Agent Backend — Seamlessly switch between Claude Code, Gemini CLI, and Codex as your execution engines
More Features
- 💬 Interactive Chat + Shell — Chat with your agent or drop into a full terminal — side by side with your research context
- 📁 File & Git Explorer — Browse files with syntax highlighting, live-edit, stage changes, commit, and switch branches without leaving the UI
- 📱 Responsive & PWA-Ready — Desktop, tablet, and mobile layouts with bottom tab bar, swipe gestures, and Add-to-Home-Screen support
- 🔄 Session Management — Resume conversations, manage multiple sessions, and track full history across projects
Expand screenshots
Project Dashboard — Start from the project overview, review status, and launch end-to-end automation.
Skill Library — Browse reusable research skills across ideation, experimentation, and writing.
News Dashboard — Follow research-relevant updates without leaving the workspace.
- Node.js v20 or higher (v22 LTS recommended, see
.nvmrc) - At least one of the following CLI tools installed and configured:
- Some systems need native build tools for dependencies like
node-ptyandbetter-sqlite3. Ifnpm installfails, see FAQ.
Cursor agent support is in progress and coming soon.
- Clone the repository:
git clone https://github.com/OpenLAIR/dr-claw.git
cd dr-claw- Install dependencies:
npm install- Configure environment:
cp .env.example .env
# Edit .env with your preferred settings (port, etc.)Need custom ports, auth, or workspace settings? See docs/configuration.md.
- Start the application:
# Development mode (with hot reload)
npm run dev- Open your browser at
http://localhost:5173(or the port you configured in.env)
If agent web search does not work later, see Troubleshooting Web Search below.
This section is written for new users integrating OpenClaw with Dr. Claw for the first time. The goal is not to expose every detail. The goal is to get a reliable first integration running quickly:
- OpenClaw can see which Dr. Claw projects exist
- OpenClaw can find sessions waiting for user input
- OpenClaw can reply into a chosen session so Dr. Claw keeps going
- OpenClaw can summarize project / portfolio progress and recommend what to focus on next
The clean mental model is:
- Dr. Claw: owns the real projects, sessions, pipelines, artifacts, and execution
drclawCLI: exposes that state through a stable local control surface exposed primarily asdrclaw- OpenClaw: acts as the user-facing secretary on mobile, chat, or voice
If you only want the shortest successful path, do these 5 things:
- Start Dr. Claw
- Install the
drclawCLI - Give OpenClaw local shell /
execaccess - Install the provided OpenClaw skill
- Make
chat waitinganddigest portfoliowork end-to-end
Once those two commands work, OpenClaw already behaves like a usable research secretary.
Before integrating, make sure:
- you can already run Dr. Claw locally
- you already have at least one project, or can create one under
~/vibelab/... - you have configured at least one execution backend such as Claude Code, Gemini CLI, or Codex
- your OpenClaw instance is allowed to run local tools
If those are not true yet, get Dr. Claw itself working first.
From the repo root:
npm install
npm run devIn another terminal:
drclaw --json auth status
drclaw server statusUse auth status as the primary reachability check. If it returns JSON, the server is reachable.
drclaw server status only reports the daemon launched by drclaw server on. If you started the app manually with npm run dev, it may still show STOPPED even though http://localhost:3001 is working.
If you want Dr. Claw to manage the background process for you:
drclaw server onFrom the repo root:
pip install -e ./agent-harnessThen verify:
drclaw --help
drclaw --json auth status
drclaw --json projects listA good sequence is:
drclaw --json auth statusshould return JSON if the server is reachabledrclaw --json projects listwill work only after login or if you already have a saved token
If projects list returns Not logged in, authenticate first:
drclaw auth login --username <username> --password <password>The key integration is not a deep API bridge. The key is that OpenClaw can directly execute drclaw ... locally.
At minimum, OpenClaw should be able to run commands such as:
drclaw --json chat waiting
drclaw --json digest portfolio
drclaw --json chat reply --project <project> --session <session-id> -m "<message>"
drclaw --json workflow continue --project <project> --session <session-id> -m "<instruction>"Recommended approach:
- enable local
exec/ shell for OpenClaw - prefer direct local CLI calls
- avoid building an extra proxy layer at the beginning
The thinner this layer is, the easier it is to debug and keep reliable.
Run:
drclaw install --server-url http://localhost:3001This will automatically:
- copy the Dr. Claw skill into
~/.openclaw/workspace/skills/drclaw - install the helper scripts OpenClaw uses for serialized local turns
- save the Dr. Claw server URL for future CLI / OpenClaw use
- remember the local
drclawexecutable path
If you also want to save the default push channel during setup:
drclaw install --server-url http://localhost:3001 --push-channel feishu:<chat_id>The compatibility form is still available:
drclaw openclaw install --server-url http://localhost:3001For a new user, do not start with everything. Start with these two:
- Find which sessions are waiting for user input
drclaw --json chat waiting- Get portfolio-wide progress and recommendations
drclaw --json digest portfolioIf OpenClaw can call both commands and summarize the result back to the user, your minimum viable integration is already working.
The next common user action is: see a waiting session, then ask OpenClaw to answer it.
The fixed pattern is:
- Find waiting sessions:
drclaw --json chat waiting-
Let the user choose a project and session
-
Send the reply:
drclaw --json chat reply --project <project> --session <session-id> -m "<message>"- Immediately re-check whether it is still waiting:
drclaw --json chat waiting --project <project>If the user wants to keep discussing the same project/session, switch to:
drclaw --json chat project --project <project> --session <session-id> -m "<instruction>"That is the better pattern for multi-turn project-scoped discussion.
Recommended OpenClaw flows:
- User asks: what needs my attention right now?
drclaw --json digest portfolio- User asks: which sessions are waiting for me?
drclaw --json chat waiting- User asks: what is the latest state of this project?
drclaw --json projects latest <project>
drclaw --json projects progress <project>- User says: reply to this session and keep it moving
drclaw --json chat reply --project <project> --session <session-id> -m "<message>"- User says: I just had a new idea, create a project and help me shape it
drclaw --json projects idea /absolute/path/to/project --name "<display-name>" --idea "<idea text>"When OpenClaw repeatedly runs openclaw agent --local, use the serialized wrapper to avoid session-lock collisions:
agent-harness/skills/dr-claw/scripts/openclaw_drclaw_turn.shExample:
openclaw_drclaw_turn.sh --json -m "Use your exec tool to run `drclaw --json digest portfolio`. Return only raw stdout."In practice: when OpenClaw calls Dr. Claw locally, stable serial turns are better than risky parallel turns.
A new user can consider the integration complete once all 4 are true:
- OpenClaw can list Dr. Claw projects
- OpenClaw can identify waiting sessions
- OpenClaw can successfully send one reply into a chosen session
- OpenClaw can produce one
digest portfoliostyle summary with recommendations
At that point, OpenClaw is no longer just a chat surface. It becomes Dr. Claw's mobile secretary.
After setup, users should be able to talk to OpenClaw naturally:
- “Check which Dr. Claw projects are waiting for my reply.”
- “Summarize the last message and current progress of this project.”
- “Reply to this session: continue with option B and report back when finished.”
- “Summarize recent experiment progress across projects and recommend what I should focus on today.”
- “I just had a new idea. Create a Dr. Claw project, discuss it with me, refine it, and start execution planning.”
The goal is not to replace Dr. Claw. The goal is to make Dr. Claw callable, reportable, steerable, and remotely manageable through OpenClaw.
Dr. Claw reads local settings from .env. For most users, the only required step is copying .env.example to .env, but these are the settings you are most likely to adjust early:
PORT: backend server portVITE_PORT: frontend dev server portHOST: bind address for the frontend and backendJWT_SECRET: required before exposing Dr. Claw beyond localhostWORKSPACES_ROOT: default root for new project workspaces
For the full environment reference and deployment notes, see docs/configuration.md.
Auto Research email notifications are configured inside the app at Settings → Email. The v1 flow supports Claude Code, Codex, and Gemini engines for unattended task execution, and interrupted runs are automatically reconciled so they do not remain stuck in running.
The core feature of Dr. Claw is the Research Lab.
The typical flow is:
- Configure one supported agent in Settings.
- Configure notification settings in Settings → Email if you want completion email notifications.
- Describe your research idea in Chat.
- Let the agent generate
.pipeline/docs/research_brief.jsonand.pipeline/tasks/tasks.json. - Review the pipeline in Research Lab and either send tasks back to Chat manually or click Auto Research on the Project Dashboard to run them sequentially.
For full step-by-step operations, see Usage Guide below.
After starting Dr. Claw, open your browser and follow the steps below.
Step 1 — Create or Open a Project
When you first open Dr. Claw you will see the Projects sidebar. You have two options:
- Open an existing project — Dr. Claw auto-discovers registered projects and linked sessions from Claude Code, Codex, and Gemini.
- Create a new project — Click the "+" button, choose a directory on your machine, and Dr. Claw will set up the workspace: agent folders such as
.claude/,.agents/,.gemini/, standard workspace metadata, linkedskills/directories, preset research dirs (Survey/references,Survey/reports,Ideation/ideas,Ideation/references,Experiment/code_references,Experiment/datasets,Experiment/core_code,Experiment/analysis,Publication/paper,Promotion/homepage,Promotion/slides,Promotion/audio,Promotion/video), and instance.json at the project root with absolute paths for those directories. Cursor agent support is coming soon.
Default project storage path: New projects are stored under
~/dr-clawby default. You can change this in Settings → Appearance → Default Project Path, or set theWORKSPACES_ROOTenvironment variable. The setting is persisted in~/.claude/project-config.json.
Step 2 — Generate Your Research Pipeline via Chat
After creating or opening a project, Dr. Claw opens Chat by default. If no research pipeline exists yet, an onboarding banner appears with a Use in Chat button that injects a starter prompt.
Describe your research idea — even a rough one is fine. The agent uses the inno-pipeline-planner skill to ask clarifying questions and then generates:
.pipeline/docs/research_brief.json(your structured research brief).pipeline/tasks/tasks.json(the task pipeline)
Step 3 — Review in Research Lab and Execute Tasks
Switch to Research Lab to review the generated tasks, progress metrics, and artifacts. Then execute tasks:
- Choose a CLI backend from the CLI selector (Claude Code, Gemini CLI, or Codex).
- In Research Lab, click Go to Chat or Use in Chat on a pending task.
- The agent executes the task and writes results back to the project.
Optional — Run Auto Research from the Project Dashboard
If you want Dr. Claw to execute the generated task list end-to-end for you, use Auto Research:
- Open Settings → Email and configure
Notification Email,Sender Email, andResend API Key. - Make sure your project already contains
.pipeline/docs/research_brief.jsonand.pipeline/tasks/tasks.json. - Open the Project Dashboard and click Auto Research on the project card.
- Use Open Session to jump into the live Claude session created for the run.
- When all tasks finish, Dr. Claw sends a completion email. If the session is interrupted, stale runs are recovered automatically so they can be cancelled cleanly instead of staying stuck in
running.
Step 4 — Troubleshooting Web Search
If the agent cannot search webpages, your current permission settings are likely too restrictive. Also check whether a runtime network lock is still active for the process.
- Check the runtime network lock:
echo "${CODEX_SANDBOX_NETWORK_DISABLED:-0}"If the output is 1, network requests can remain blocked even if Settings permissions are opened. Remove or override this variable in your deployment or startup layer (shell profile, systemd, Docker, PM2), then restart Dr. Claw.
- Open Settings (gear icon in sidebar).
- Go to Permissions, then choose your current agent:
- Claude Code:
- Enable
WebSearchandWebFetchin Allowed Tools. - Ensure they are not present in Blocked Tools.
- Optionally enable Skip permission prompts if you want fewer confirmations.
- Enable
- Gemini CLI:
- Choose an appropriate Permission Mode.
- Allow
google_web_searchandweb_fetchin Allowed Tools when web access is required. - Ensure they are not present in Blocked Tools.
- Codex:
- In Permission Mode, switch to Bypass Permissions when web access is required.
- Return to Chat, start a new message, and retry your web-search prompt.
Codex permission mode notes:
- Default / Accept Edits: sandboxed execution; network may still be restricted by session policy.
- Bypass Permissions:
sandboxMode=danger-full-accesswith full disk and network access.
Security note:
- Use permissive settings only in trusted projects/environments.
- After finishing web search tasks, switch back to safer settings.
Step 5 — Resolve "Workspace Trust" or First-Run Errors
Each agent may require a one-time trust confirmation before it can execute code in your project directory. If Chat freezes or shows a trust prompt, switch to the Shell tab inside Dr. Claw and approve the prompt there.
Steps:
- Switch to the Shell tab in Dr. Claw.
- Approve the trust/auth prompt shown in Shell.
- Return to Chat and resend your message.
By default, trust flow is already enabled in Dr. Claw, so you usually do not need to manually run extra trust commands.
The trust decision is persisted per directory — you only need to do this once per project.
Shell tab not working? If the Shell tab shows
Error: posix_spawnp failed, see docs/faq.md for the fix, then retry.
You can switch tabs at any time:
| Tab | What it does |
|---|---|
| Chat | Start here. Use it to describe your research idea, generate a pipeline, and run tasks with the selected agent. |
| Survey | Review papers, literature graphs, notes, and survey-stage tasks for the current project. |
| Research Lab | Review the research brief, task list, progress, and generated artifacts in one place. |
| Skills | Browse installed skills, inspect their contents, and import additional local skills. |
| Compute | Manage compute resources and run experiment workloads from one place. |
| Shell | Use the embedded terminal when you need direct CLI access, trust prompts, or manual commands. |
| Files | Browse, open, create, rename, and edit project files with syntax highlighting. |
| Git | Inspect diffs, stage changes, commit, and switch branches without leaving the app. |
Research Skills
Dr. Claw now uses the generated Pipeline Task List as the execution flow.
The project includes 100+ skills under skills/ to support research tasks (idea exploration, code survey, experiment development/analysis, writing, review, and delivery).
These skills are discovered by the agent and can be applied as task-level assistance throughout the workflow.
Mobile, architecture, and security notes
Dr. Claw is fully responsive. On mobile devices:
- Bottom tab bar for thumb-friendly navigation
- Swipe gestures and touch-optimized controls
- Add to Home Screen to use it as a PWA (Progressive Web App)
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Frontend │ │ Backend │ │ Agent │
│ (React/Vite) │◄──►│ (Express/WS) │◄──►│ Integration │
│ │ │ │ │ │
└─────────────────┘ └─────────────────┘ └─────────────────┘
- Express Server - RESTful API with static file serving
- WebSocket Server - Communication for chats and project refresh
- Agent Integration (Claude Code, Gemini CLI, Codex) - Process spawning, streaming, and session management
- File System API - Exposing file browser for projects
- React 18 - Modern component architecture with hooks
- CodeMirror - Advanced code editor with syntax highlighting
🔒 Important Notice: Agent permissions are configurable per provider. Review Settings → Permissions before enabling broad file, shell, or web access.
To use web and tool-heavy workflows safely:
- Open Settings - Click the gear icon in the sidebar
- Choose an Agent - Claude Code, Gemini CLI, or Codex
- Enable Selectively - Turn on only the tools or permission mode you need
- Apply Settings - Your preferences are saved locally
Recommended approach: Start with the safest permission mode that still lets you complete the task, then relax settings only when needed.
Show details
We welcome contributions! Please follow these guidelines:
- Fork the repository
- Clone your fork:
git clone <your-fork-url> - Install dependencies:
npm install - Create a feature branch:
git checkout -b feature/amazing-feature
- Make your changes following the existing code style
- Test thoroughly - ensure all features work correctly
- Run quality checks:
npm run typecheck && npm run build - Commit with descriptive messages following Conventional Commits
- Push to your branch:
git push origin feature/amazing-feature - Submit a Pull Request with:
- Clear description of changes
- Screenshots for UI changes
- Test results if applicable
- Bug fixes - Help us improve stability
- New features - Enhance functionality (discuss in issues first)
- Documentation - Improve guides and API docs
- UI/UX improvements - Better user experience
- Performance optimizations - Make it faster
For setup help and troubleshooting, see FAQ.
Dr. Claw was previously known as VibeLab. For users migrating from VibeLab, we provide a compatibility layer during the transition phase:
- CLI Alias: The
vibelabcommand is still supported as an alias fordrclawbut will issue a deprecation warning. - Python Package: The
VibeLabclass in theagent-harnessis deprecated; please use theDrClawclass instead. - Session Files: The CLI now defaults to
~/.drclaw_session.jsonbut will automatically check for and migrate~/.vibelab_session.jsonif found. - Environment Variables:
DRCLAW_URLandDRCLAW_TOKENare preferred, butVIBELAB_URLandVIBELAB_TOKENare still supported as fallbacks.
Timeline: We plan to remove legacy vibelab support in Version 2.0 (estimated Q3 2026). Please update your scripts and integrations as soon as possible.
This repository contains a combined work.
Upstream portions derived from Claude Code UI remain under GNU General Public License v3.0 (GPL-3.0), while original modifications and additions by Dr. Claw Contributors are licensed under GNU Affero General Public License v3.0 (AGPL-3.0).
See LICENSE and NOTICE for the full license texts and scope details.
If you find Dr. Claw useful in your research, please cite:
@misc{song2026drclaw,
author = {Dingjie Song and Hanrong Zhang and Dawei Liu and Yixin Liu and Zhengqing Yuan and Siqi Zhang and Lichao Sun},
title = {Dr. Claw: An AI Research Workspace from Idea to Paper},
year = {2026},
organization = {GitHub},
url = {https://github.com/OpenLAIR/dr-claw},
}- Claude Code - Anthropic's official CLI
- Gemini CLI - Google's Gemini command-line agent
- Codex - OpenAI Codex
- React - User interface library
- Vite - Fast build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- CodeMirror - Advanced code editor
- Claude Code UI — Dr. Claw is based on it. See NOTICE for details.
- AI Researcher (HKUDS) — Inspiration for research workflow and agentic research.
- Vibe-Scholar — Inspiration for the AI-native research workspace direction.
- autoresearch — Inspiration for autonomous research orchestration and end-to-end execution.
- Star this repository to show support
- Watch for updates and new releases
- Follow the project for announcements







