Skip to content
Back to skills

Agent Harness

ASecurity

Dr. Claw workspace skill for project lookup, session inspection, TaskMaster progress, OpenClaw structured schema, and event-driven reporting

  • 1,199 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsbash

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Agent Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openlair-agent-harness/badge)](https://www.skillsdirectory.com/skills/openlair-agent-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drclaw
description: Dr. Claw workspace skill for project lookup, session inspection, TaskMaster progress, OpenClaw structured schema, and event-driven reporting
---

# Dr. Claw Research Skill

Use this skill when the user asks about Dr. Claw projects, wants to inspect Claude/Cursor/Codex/Gemini sessions, needs task progress pushed to OpenClaw/mobile, or wants structured OpenClaw-ready JSON outputs.

## Setup check

Before using Dr. Claw, verify the server is reachable:

```bash
drclaw server status
```

If needed, start it:

```bash
drclaw server on
```

## Project discovery

```bash
drclaw --json projects list
```

Project references accepted by the CLI:

- `name`
- `displayName`
- filesystem `path` / `fullPath`

If a path exists locally but is not registered yet:

```bash
drclaw projects add /absolute/path/to/project --name "Display Name"
```

## Session workflows

List sessions:

```bash
drclaw --json sessions list <project-ref>
drclaw --json sessions list <project-ref> --provider cursor
```

Fetch messages:

```bash
drclaw --json sessions messages <project-ref> <session-id> --provider claude --limit 100
```

Send Claude a message:

```bash
drclaw --json chat send --project <project-ref> --message "<user message>"
```

Reply to an existing session with structured OpenClaw output:

```bash
drclaw --json chat reply --project <project-ref> --session <session-id> -m "<user message>"
```

List active sessions across projects:

```bash
drclaw --json chat sessions
```

## TaskMaster workflows

Check whether TaskMaster is present:

```bash
drclaw --json taskmaster detect <project-ref>
```

Get progress and next action:

```bash
drclaw --json taskmaster summary <project-ref>
drclaw --json taskmaster next-guidance <project-ref>
```

Initialize `.pipeline` for a project if needed:

```bash
drclaw taskmaster init <project-ref>
```

## OpenClaw / mobile reporting

Configure the default push channel once:

```bash
drclaw openclaw configure --push-channel feishu:<chat_id>
```

Preview a mobile report:

```bash
drclaw --json openclaw report --project <project-ref> --dry-run
```

Send it:

```bash
drclaw openclaw report --project <project-ref>
```

Start the event-driven watcher daemon:

```bash
drclaw --json openclaw-watch on --to feishu:<chat_id>
drclaw --json openclaw-watch status
drclaw --json openclaw-watch off
```

The watcher is now a useful notification pipeline rather than raw websocket forwarding. It:
- subscribes to Dr. Claw WebSocket events
- resolves the concrete project when possible
- compares workflow snapshots to derive higher-level signals
- deduplicates repeated notifications with a stable signature and 6-hour TTL
- asks OpenClaw agent to generate the final Feishu/Lark summary through `--deliver`
- falls back to a direct bridge push if agent summarization fails

Current attention-worthy signals include:
- `human_decision_needed`
- `waiting_for_human`
- `blocker_detected`
- `blocker_cleared`
- `task_completed`
- `next_task_changed`
- `attention_needed`
- `session_aborted`

Watcher runtime files:
- state: `~/.drclaw/openclaw-watcher-state.json`
- log: `~/.drclaw/logs/openclaw-watcher.log`

## Structured OpenClaw schema

Major JSON commands now include a top-level `openclaw` field with a stable versioned schema for mobile / voice clients.

Current schema families:

- `openclaw.turn.v1`
- `openclaw.project.v1`
- `openclaw.portfolio.v1`
- `openclaw.daily.v1`
- `openclaw.report.v1`
- `openclaw.event.v1`

Practical client rules:
- prefer `decision.needed` over guessing whether to interrupt the user
- prefer `next_actions` for quick actions and voice suggestions
- prefer `turn.summary` or portfolio `focus` for compact rendering
- for watcher events, read `openclaw.event.v1.event.signals` first instead of raw `type`

Formal contract:

```bash
cat agent-harness/cli_anything/drclaw/SCHEMA.md
```

## Recommended operating flow

1. If the user did not specify a project, run `projects list` and resolve the project first.
2. For freeform project questions, use `chat send` or `chat reply`, and prefer the `openclaw` schema field over parsing raw reply text.
3. For status/progress questions, prefer `workflow status`, `digest project`, `digest portfolio`, and `taskmaster next-guidance`.
4. For proactive mobile updates, use `openclaw report`.
5. For background attention monitoring, use `openclaw-watch on` instead of polling digest commands manually.

Files in this skill

  • DRCLAW.md4.8 KB
  • SKILL.md4.3 KB
  • cli_anything/drclaw/README.md10.9 KB
  • cli_anything/drclaw/README.zh-CN.md10.8 KB
  • cli_anything/drclaw/SCHEMA.md6.7 KB
  • cli_anything/drclaw/__init__.py103 B
  • cli_anything/drclaw/core/__init__.py181 B
  • cli_anything/drclaw/core/chat.py22.3 KB
  • cli_anything/drclaw/core/conversations.py3 KB
  • cli_anything/drclaw/core/daemon.py7.5 KB
  • cli_anything/drclaw/core/openclaw_bridge.py3.4 KB
  • cli_anything/drclaw/core/openclaw_daemon.py25.8 KB
  • cli_anything/drclaw/core/projects.py6.6 KB
  • cli_anything/drclaw/core/session.py7.6 KB
  • cli_anything/drclaw/core/settings.py1.3 KB
  • cli_anything/drclaw/core/taskmaster.py6.5 KB
  • cli_anything/drclaw/tests/TEST.md3.7 KB
  • cli_anything/drclaw/tests/__init__.py42 B
  • cli_anything/drclaw/tests/test_core.py42.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.