Skip to content
Back to skills

octoclaw

ASecurity

OctoClaw is the TypeScript-first policy, delegation, status, and operator layer for OpenClaw. Use it when a turn should be routed through reply/delegate policy, WorkContract-backed delegation, runtime status, IM delivery, or feedback-loop tooling.

  • 48 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 1, 2026
ai-agentstypescriptpythonsql

Security analysis

A100/100

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

Scanned September 1, 2026

npx -y skills add guanbear/OctoClaw --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of octoclaw?

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

Security grade badge for octoclaw
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/guanbear-octoclaw/badge)](https://www.skillsdirectory.com/skills/guanbear-octoclaw)

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: octoclaw
metadata:
  author: openclaw-community
  version: "0.6.0"
  timestamp: "2026-05-09"
  stable: false
tags:
  - multi-agent
  - scheduler
  - productivity
description: >
  OctoClaw is the TypeScript-first policy, delegation, status, and operator
  layer for OpenClaw. Use it when a turn should be routed through
  reply/delegate policy, WorkContract-backed delegation, runtime status, IM
  delivery, or feedback-loop tooling.
postInstall: |
  ![](./banner.png)
  OctoClaw is installed. Current live route authority is `reply | delegate`.
  Use `octoclaw_dispatch` for delegated work and `octoclaw_status` for status.
---

# OctoClaw Runtime Skill

This skill describes the current `v0.6.0` runtime line. It intentionally does
not describe the old Python `octoclaw_spawn.py`, completion-file finalizer, or
JSON delivery-outbox runtime. Those were historical mechanisms and must not be
reintroduced as compatibility paths.

## Current Authority

| Layer | Authority |
|------|-----------|
| live route | `reply | delegate` only |
| execution lifecycle | OpenClaw native TaskFlow / `sessions_spawn` / native announce |
| OctoClaw metadata | SQLite runtime ledger: WorkContract, route seal, native refs, spawn intent, audit events |
| status display | generated projection from metadata + native lifecycle |
| `task-state.json` | rebuildable read-model cache, not truth |
| replay log | observability and evaluation evidence, not runtime truth |

## Main-Agent Rules

1. For direct answers, use `reply`; do not create work.
2. For delegated work, call `octoclaw_dispatch`; do not hand-write spawn args.
3. After native spawn is accepted, confirm with `octoclaw_dispatch_confirm`.
4. For status/provenance/follow-up questions, use `octoclaw_status` or
   `octoclaw_task_action`; do not dispatch new work just to explain old work.
5. Do not call or recreate `octoclaw_spawn`.
6. Do not use completion files, child-finalizer recovery, or JSON delivery
   outbox as the normal final-delivery mechanism.
7. Do not treat `task-state.json` as durable truth. Missing or corrupt
   task-state must be rebuilt or reported degraded.
8. Do not inject raw child transcripts into the parent context.

## Tool Use

| Tool | Use |
|------|-----|
| `octoclaw_route_hint` | Ask the runtime for route guidance before model/tool escalation. |
| `octoclaw_policy_decide` / `octoclaw_route` | Resolve policy and route facts. |
| `octoclaw_dispatch` | Create a WorkContract-backed delegation plan and native spawn intent. |
| `octoclaw_dispatch_confirm` | Bind accepted native `runId` / `childSessionKey` evidence back to OctoClaw metadata. |
| `octoclaw_task_action` | Read task details, queue, artifacts, or supported task operations. |
| `octoclaw_status` | Render status/details/queue/timeline from projection. |

## Auto Router Commands

| Command | Use |
|---------|-----|
| `octoclawctl router wizard [--incremental] [--config answers.json]` | Create or update local router plan/budget/privacy/language/restricted/same-provider config. |
| `octoclawctl router promotion review [--input shadow.jsonl]` | Evaluate local shadow samples and append promotion decisions. |
| `octoclawctl router decisions [--since 7d]` | Inspect shadow-to-live promotion decisions. |
| `octoclawctl router cost report [--period 7d]` | Review local cost grouped by model, complexity, and route, including prediction and budget status. |
| `octoclawctl router cost budget set --monthly <usd>` | Store the local monthly router budget. |
| `octoclawctl router score override <model> <tier>=<score>` | Override a model score for a complexity tier. |
| `octoclawctl router model mark <model> --dispreferred-for <tier>` | Soft-avoid a model for a tier. |
| `octoclawctl router model ban <model> --for <tier>` | Hard-exclude a model for a tier. |

## Delegation Contract

Delegated work must carry:

- WorkContract id and route seal.
- scope and allowed tools.
- role / worker-pool / model profile metadata.
- native spawn intent id.
- accepted native refs after confirm.
- status projection derived from native lifecycle and OctoClaw metadata.

`spawnExecuted=true` requires accepted native run evidence. A child session key by
itself is only a reference; it is not execution proof.

## Status Questions

These are status-surface requests, not new work:

- "OctoClaw status"
- "task status"
- "which task is running?"
- "why did it not dispatch?"
- "who handled the previous task?"
- "show queue/details/timeline"

Answer through `octoclaw_status` or `octoclaw_task_action`. If no verifiable
record exists, say that clearly and do not invent a task.

## Current Docs

- `README.md` / `README.zh-CN.md`: operator-facing overview.
- `docs/octoclaw-architecture-map-2026-05-09.md`: detailed module graph.
- `docs/octoclaw-ts-rebuild-design-v2.md`: architecture baseline.
- `docs/octoclaw-runtime-convergence-cleanup-plan-2026-05-07.md`: runtime cleanup handoff.
- `docs/octoclaw-repo-debt-cleanup-plan-2026-05-09.md`: archive/version/terminology cleanup.
- `docs/archive/`: historical material only.

## Forbidden Legacy Paths

Do not reintroduce these as product runtime behavior:

- `octoclaw_spawn` as a public tool or alias.
- plugin `runtime.subagent.run()` fallback.
- fake detached runtime capability registration.
- child completion files as normal final protocol.
- child-finalizer recovery loop.
- JSON delivery outbox for new planner/native runtime tasks.
- resident runner / tmux / ClawTeam as required substrate.

Files in this skill

  • .npmrc55 B
  • CHANGELOG.md2.5 KB
  • CODE_OF_CONDUCT.md4.1 KB
  • CONTRIBUTING.md2.9 KB
  • README.zh-CN.md12.1 KB
  • RELEASE_NOTES_v0.1.0.md927 B
  • SECURITY.md1.3 KB
  • SKILL.md5.4 KB
  • bin/update-openclaw-macmini.sh3.3 KB
  • docs/octoclaw-ai-install-runbook.md7.7 KB
  • docs/octoclaw-architecture-map-2026-05-09.md14.6 KB
  • docs/octoclaw-auto-router-v3-supplement-2026-05-15.md24.3 KB
  • docs/octoclaw-auto-router-v3.2-health-loop-2026-05-16.md19.9 KB
  • docs/octoclaw-design-foundation.md41.5 KB
  • docs/octoclaw-im-display-contract.md6.7 KB
  • docs/octoclaw-improvement-plan-2026-05-12.md23.8 KB
  • docs/octoclaw-judge-ack-policy-spec-2026-04-21.md20 KB
  • docs/octoclaw-local-deploy-guide.md4.7 KB
  • docs/octoclaw-migration-onboarding-feishu-guide.md9.4 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.