Crawler Summary

claude-code answer-first brief

Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. --- name: claude-code description: > Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. metadata: { "openclaw": { "emoji": "🤖", "os": ["d Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Freshness

Last checked 2/25/2026

Best For

claude-code is best for run, stall, sit workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

claude-code

Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. --- name: claude-code description: > Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. metadata: { "openclaw": { "emoji": "🤖", "os": ["d

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Feb 25, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 25, 2026

Vendor

Divyekant

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Setup snapshot

git clone https://github.com/divyekant/openclaw-claude-code.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Divyekant

profilemedium
Observed Feb 25, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Feb 25, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

5

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

# Standard autonomous task
bash command:"claude -p 'Fix the typo in README.md' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project

# Bigger task with cost cap
bash command:"claude -p 'Refactor auth module into separate files and add tests' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 30 --max-budget-usd 10.00" workdir:~/project

# Background (for long tasks — you get auto-notified on completion)
bash background:true command:"claude -p 'Write comprehensive tests for src/api/' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 30 --max-budget-usd 10.00" workdir:~/project

bash

# Extract the result text
echo "$output" | jq -r '.result'

# Check for errors
echo "$output" | jq -r '.is_error'

# Get cost
echo "$output" | jq -r '.total_cost_usd'

bash

bash pty:true workdir:~/project background:true command:"claude 'Fix the flaky integration tests in src/api/.'"

bash

# See what's happening
process action:log sessionId:XXX

# If it's waiting for permission — approve it (Tier 1)
process action:submit sessionId:XXX data:"y"

# If it's asking a question — decide (Tier 2) or escalate (Tier 3)
process action:submit sessionId:XXX data:"Your answer here"

# If it's done
process action:kill sessionId:XXX

bash

bash background:true command:"claude -p 'Fix auth bug' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project
bash background:true command:"claude -p 'Add tests for utils/' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 15" workdir:~/project
bash background:true command:"claude -p 'Update API docs' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project

# Each auto-notifies on completion via OpenClaw's exec system events
process action:list

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. --- name: claude-code description: > Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. metadata: { "openclaw": { "emoji": "🤖", "os": ["d

Full README

name: claude-code description: > Orchestrate Claude Code as an autonomous coding agent. OpenClaw acts as supervisor — spawning tasks, monitoring progress, approving routine decisions, and only escalating critical items to the user. Two modes: headless (claude -p) for fully autonomous tasks, and supervised interactive for complex work requiring mid-task decisions. metadata: { "openclaw": { "emoji": "🤖", "os": ["darwin", "linux"], "requires": { "bins": ["claude"] }, }, }

Claude Code

You are the orchestrator. Claude Code is your coding agent. You supervise it, make routine decisions on its behalf, and only escalate critical items to the user.

Decision Framework

When Claude Code asks a question or needs a decision, apply this framework:

Tier 1: Auto-approve (never ask the user)

  • File reads, writes, edits (any file in the project)
  • Running tests, linting, type-checking, building
  • Installing dev dependencies
  • Creating branches, committing code
  • Reading docs, searching code, using grep/glob
  • Retrying after transient errors (API 500, rate limits, timeouts)
  • Choosing between reasonable implementation approaches
  • Running formatters or code fixers

Tier 2: You decide (use your judgment, don't ask the user)

  • "Should I refactor X or Y?" — pick the better approach and tell Claude Code
  • "Tests are failing, what should I do?" — analyze the failure, instruct retry or different approach
  • "This file is large, should I split it?" — yes, generally
  • "I found multiple bugs, which should I fix first?" — prioritize and instruct
  • "Should I add tests?" — yes, always
  • "The existing code does X, should I change it?" — if it's related to the task, yes
  • Nudging when stuck — if Claude Code loops or stalls, give it a different angle
  • Compacting when context is long — send /compact

Tier 3: Escalate to user (always ask first)

  • Destructive actions: deleting repos, force-pushing, dropping databases
  • Deployments: pushing to production, publishing packages
  • External services: making API calls to third-party services, sending emails
  • Cost decisions: actions that cost real money beyond the current task
  • Security: changing auth, modifying secrets, adjusting permissions
  • Scope changes: "this is a bigger change than expected, should I proceed?"
  • Genuine uncertainty: you truly don't know the right call

When escalating, message the user with a concise summary and options:

"Claude Code is working on [task] and needs a decision: [situation]. Options:

  1. [option A]
  2. [option B] What should I tell it?"

Mode 1: Headless (fully autonomous)

Use claude -p for tasks where Claude Code can run start-to-finish without needing mid-task decisions. This is the cleanest path — no permission prompts, structured output, no monitoring needed.

# Standard autonomous task
bash command:"claude -p 'Fix the typo in README.md' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project

# Bigger task with cost cap
bash command:"claude -p 'Refactor auth module into separate files and add tests' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 30 --max-budget-usd 10.00" workdir:~/project

# Background (for long tasks — you get auto-notified on completion)
bash background:true command:"claude -p 'Write comprehensive tests for src/api/' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 30 --max-budget-usd 10.00" workdir:~/project

Required flags (always include these)

| Flag | Value | Why | |------|-------|-----| | -p | (flag) | Non-interactive mode | | --output-format | json | Structured, parseable output | | --allowedTools | 'Bash,Read,Edit,Write,Glob,Grep' | Pre-approve tools — no stalls | | --permission-mode | acceptEdits | Auto-approve file changes | | --max-turns | 10-30 depending on task | Prevent runaway |

Optional flags

| Flag | When to use | |------|------------| | --max-budget-usd N | Cost cap for expensive tasks | | --model sonnet\|opus\|haiku | Model selection (default is usually fine) | | --resume SESSION_ID | Continue a previous session | | --append-system-prompt "..." | Add task-specific instructions | | --json-schema '{...}' | Get validated structured output |

Parsing results

# Extract the result text
echo "$output" | jq -r '.result'

# Check for errors
echo "$output" | jq -r '.is_error'

# Get cost
echo "$output" | jq -r '.total_cost_usd'

Mode 2: Interactive (only when user explicitly asks)

Interactive mode runs Claude Code with a PTY. Use it only when the user specifically wants to interact with Claude Code mid-task.

Limitation: You cannot actively poll at second-level intervals. Once Claude Code is running in background, you only find out what happened when:

  • The process exits (OpenClaw's exec system auto-notifies)
  • The user asks you to check on it
  • A heartbeat fires (minute-level, not seconds)

This means Claude Code can stall on permission prompts with nobody to approve them. Prefer headless mode to avoid this entirely.

Launch

bash pty:true workdir:~/project background:true command:"claude 'Fix the flaky integration tests in src/api/.'"

Check on it (when user asks or on heartbeat)

# See what's happening
process action:log sessionId:XXX

# If it's waiting for permission — approve it (Tier 1)
process action:submit sessionId:XXX data:"y"

# If it's asking a question — decide (Tier 2) or escalate (Tier 3)
process action:submit sessionId:XXX data:"Your answer here"

# If it's done
process action:kill sessionId:XXX

⚠️ CLAUDECODE env var

When launched from within Claude Code (common in OpenClaw), the subprocess inherits a CLAUDECODE env var that prevents nesting. Pass CLAUDECODE= (empty) as an env override in the exec tool to clear it.

⚠️ Why headless is better

In interactive mode, Claude Code can sit waiting for approval for minutes with no one checking. Headless mode with --allowedTools and --permission-mode acceptEdits pre-approves everything, so it never stalls.


Choosing a Mode

| Scenario | Mode | Why | |----------|------|-----| | Fix a bug | Headless | Well-scoped, auto-approve everything | | Add a feature | Headless | Clear requirements, no mid-task decisions | | Code review | Headless | Pipe in diff, get structured result | | Refactor a module | Headless (background) | Auto-approve edits, cost-cap | | Write tests | Headless (background) | Autonomous, just needs time | | Debug complex issue | Headless (background) | Give it freedom, check result | | Multi-file feature | Headless (background) | Auto-approve, high max-turns | | Parallel tasks | Headless (multiple background) | Each one independent | | User wants interactive | Interactive | Only when explicitly requested |

Always use headless unless the user specifically asks for interactive mode.


Rules

  1. You are the supervisor, not a relay — make Tier 1 and 2 decisions yourself
  2. Default to headless — covers 80% of tasks with zero supervision needed
  3. Always set --allowedTools + --permission-mode acceptEdits — no stalls
  4. Always set --max-turns — prevents runaway
  5. Monitor supervised sessions proactively — don't wait to be asked
  6. Report results — always tell the user what Claude Code did
  7. Don't hand-code — if asked to use Claude Code, delegate to it
  8. Parse JSON — use jq -r '.result' to extract useful output
  9. Escalate only Tier 3 — everything else, you handle

Parallel Tasks

bash background:true command:"claude -p 'Fix auth bug' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project
bash background:true command:"claude -p 'Add tests for utils/' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 15" workdir:~/project
bash background:true command:"claude -p 'Update API docs' --output-format json --allowedTools 'Bash,Read,Edit,Write,Glob,Grep' --permission-mode acceptEdits --max-turns 10" workdir:~/project

# Each auto-notifies on completion via OpenClaw's exec system events
process action:list

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/snapshot"
curl -s "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/contract"
curl -s "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 5d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T01:53:13.417Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "run",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "stall",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "sit",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:run|supported|profile capability:stall|supported|profile capability:sit|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Divyekant",
    "href": "https://github.com/divyekant/openclaw-claude-code",
    "sourceUrl": "https://github.com/divyekant/openclaw-claude-code",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-25T02:07:09.211Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-25T02:07:09.211Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/divyekant-openclaw-claude-code/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to claude-code and adjacent AI workflows.