Logo : Dr Claw

Dr Claw

OrganisationPopulaire
OpenLAIR
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.

Présentation

ÉditeurOpenLAIR
Dépôtdr-claw
Nom de la compétencedr-claw
Étoiles
1.2K
Forks
136
Fichiers inclus
2
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 2

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par OpenLAIR sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Dr Claw dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/OpenLAIR/dr-claw/tree/main/agent-harness/skills/dr-claw
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenLAIR/dr-claw.git /tmp/dr-claw
mkdir -p .claude/skills
cp -r /tmp/dr-claw/agent-harness/skills/dr-claw .claude/skills/dr-claw
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Dr Claw dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Dr Claw dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Dr Claw n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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:

bash
$DRCLAW_BIN server status

If the server is not running:

bash
$DRCLAW_BIN server on

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

bash
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:

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

When calling OpenClaw locally from automation or shell, use:

bash
./scripts/openclaw_drclaw_turn.sh

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

Project discovery

List projects:

bash
$DRCLAW_BIN --url "$DRCLAW_URL" projects list

Inspect the latest message in a project:

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

Inspect project progress and next actions:

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

Create a new empty project workspace:

bash
$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:

bash
$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:

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

List waiting sessions across all projects or one project:

bash
$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:

bash
$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:

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

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

bash
./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:

bash
$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:

bash
$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:

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

Per-project digest:

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

Cross-project portfolio digest with recommended follow-ups:

bash
$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:

bash
$DRCLAW_BIN --url "$DRCLAW_URL" workflow status --project <project> --json
$DRCLAW_BIN --url "$DRCLAW_URL" taskmaster artifacts --project <project> --json

Response format guidance for mobile / chat

Keep replies compact:

  • first line: direct answer
  • then: short project / session / status bullets if relevant
  • always include exact session ids when asking the user to choose one
  • when reporting a post-reply state, say whether the session is still processing or has cleared

When JSON is available:

  • prefer openclaw.decision.needed to decide whether to interrupt the user
  • prefer openclaw.next_actions for quick replies or buttons
  • prefer openclaw.turn.summary / openclaw.focus for compact rendering

Event-driven watcher daemon

Use the watcher when OpenClaw should proactively notify the user instead of waiting for manual digest polling.

Start / stop / inspect:

bash
$DRCLAW_BIN --url "$DRCLAW_URL" --json openclaw-watch on --to feishu:<chat_id>
$DRCLAW_BIN --url "$DRCLAW_URL" --json openclaw-watch status
$DRCLAW_BIN --url "$DRCLAW_URL" --json openclaw-watch off

Watcher behavior:

  • subscribes to Dr. Claw WebSocket events
  • reacts to important event types only
  • resolves the affected project when possible, including path-based file change events
  • compares workflow snapshots to derive higher-level openclaw.event.v1.event.signals
  • current useful signals include human_decision_needed, waiting_for_human, blocker_detected, blocker_cleared, task_completed, next_task_changed, attention_needed, and session_aborted
  • asks OpenClaw agent to generate the final Feishu/Lark notification when enough project context is available
  • parses delivered agent output back into clean human-facing text instead of leaking plugin logs / raw JSON
  • enriches events with openclaw.event.v1 and project-level status when possible
  • deduplicates repeated notifications for a 6-hour time window
  • pushes only attention-worthy updates to the configured OpenClaw channel

Watcher runtime files:

  • state: ~/.drclaw/openclaw-watcher-state.json
  • log: ~/.drclaw/logs/openclaw-watcher.log

Reliable OpenClaw patterns

Pattern: list projects

  1. Run $DRCLAW_BIN --url "$DRCLAW_URL" projects list.
  2. Present short names, display names, and paths only when needed.

Pattern: user asks what needs attention

  1. Run $DRCLAW_BIN --url "$DRCLAW_URL" digest portfolio --json.
  2. Use the embedded openclaw.portfolio.v1.focus field first.
  3. Fall back to chat waiting --json if the user explicitly wants raw waiting sessions.

Pattern: user asks OpenClaw to answer a waiting session

  1. Run $DRCLAW_BIN --url "$DRCLAW_URL" chat reply --project ... --session ... -m ... --json.
  2. Read openclaw.turn.v1 from the response.
  3. If decision.needed=true, surface the decision reason and quick actions.
  4. If the same session is still present in waiting_sessions, report that it is still processing.
  5. Optionally run drclaw_wait_until_clear.sh and report the final clearance.

Pattern: user suddenly has a new idea

  1. Pick a workspace path, usually /Users/<user>/vibelab/<slug>.
  2. Run $DRCLAW_BIN --url "$DRCLAW_URL" projects idea <path> --name <display-name> --idea <idea> --json.
  3. Return the created project, session id, and first Dr. Claw reply.
  4. Continue the discussion with $DRCLAW_BIN --url "$DRCLAW_URL" chat reply on that session.

Pattern: user wants an update without opening Dr. Claw

  1. Run $DRCLAW_BIN --url "$DRCLAW_URL" digest daily --json, $DRCLAW_BIN --url "$DRCLAW_URL" digest project --project ... --json, or $DRCLAW_BIN --url "$DRCLAW_URL" digest portfolio --json.
  2. Use digest portfolio when the user wants cross-project progress, attention recommendations, or suggested replies.
  3. Prefer the openclaw.* schema field for rendering.
  4. Summarize only the load-bearing items: waiting sessions, task progress, blockers, next actions.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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.

Pourquoi utiliser Dr Claw sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Dr Claw se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Dr Claw dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/OpenLAIR/dr-claw/tree/main/agent-harness/skills/dr-claw. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Dr Claw ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Dr Claw ?

Autant que vous le souhaitez. Vous pouvez utiliser Dr Claw avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Dr Claw est-elle gratuite ?

Cette compétence est publiée sur GitHub par OpenLAIR. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇