Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
Documents
Tinker ORCA
Try itStop editing files one at a time. ORCA drafts every change in parallel, then applies them per-file-serialized so disjoint files fly and shared files never collide. It SPAWNS SUBAGENTS on your own provider (one per unit, which costs money) and writes ONLY the repo-relative files you list. Patches that name any other file are rejected in code. Because a symlinked path component can carry a write outside the repository, a separate checker agent resolves every path before any writer is spawned and again after apply, and lists the change set git can see; code refuses or fails the units it flags. The writers and checkers are ordinary subagents running as your user: the checkers are told not to write and their output is self-reported, and git cannot see writes outside the repository — this is detection, not a sandbox. Committing rewrites git history and needs commit AND confirmedCommit; it is OFF by default and never inferred. In its default mode it creates a git worktree and branch per unit-
What it does
One of dozens of skills and plugins in **TinkerClaw** — a self-improving OpenClaw fork that's been running 24/7 for months.
The skill document
ORCA — parallel multi-agent coding
One of dozens of skills and plugins in TinkerClaw — a self-improving OpenClaw fork that's been running 24/7 for months.
Your agent edits twelve files. One. At. A. Time.
You watch it read, think, patch, verify — then start again on the next file as if the other eleven didn't exist. The work is embarrassingly parallel and it is running in single file.
The reason nobody parallelises it is the fear of two workers touching the same file. ORCA removes the fear instead of working around it: the only contended thing in a repo is a shared file, so it puts a short-lived lease on files and on nothing else. Disjoint files run at full concurrency. Shared files queue for a moment. A patch that goes stale while waiting is re-derived rather than clobbering someone.
"Did it merge cleanly?" stops being a question you ask.
Part of TinkerClaw — real-time token tracking, self-improving crons, persistent cognitive memory. This is one piece of that stack; the repo has dozens more.
👉 https://github.com/globalcaos/tinkerclaw
Clone it. Fork it. Break it. Make it yours.
How it works — two phases
Phase A — no lease, fully parallel. Every unit reads, diagnoses and drafts its exact patch simultaneously. That is ~95% of the wall-clock, and none of it contends.
Phase B — brief per-file lease. Acquire the lease, apply the prepared patch, verify that file, release. Disjoint units run concurrently; units sharing a file serialise; a staleness guard makes a worker re-derive a patch that no longer applies.
Phase C — one commit per unit (optional, on by default). Each unit stages only its own files — never git add -A — so a parallel session's unrelated work is never swept in.
Requirements
- OpenClaw with a configured model provider.
- A subagent-spawn CLI. Point at it with
spawnCliPathin args, or theORCA_SPAWN_CLIenv var. - A git repo. ORCA works on the repo you name and nowhere else.
Usage
Workflow({
scriptPath: "/scripts/parallel-implement.workflow.js",
args: {
repoRoot: "/path/to/your/repo",
units: [
{ id: "u1", task: "what to change", writes: ["src/a.ts"], reads: ["src/x.ts"] },
{ id: "u2", task: "what to change", writes: ["src/b.ts"] }
],
commit: true
}
})
units[].writes are the lease keys. Keep them disjoint for maximum parallelism; overlapping writes are safe — they simply serialise.
Permissions, Data Flow & Consent
What it does. Runs git commands and applies patches inside the repoRoot you pass, and spawns one subagent per unit through your own provider.
What it does not do. It touches nothing outside repoRoot, reads no credentials, makes no network calls of its own, and never force-pushes or amends. It does not use --no-verify — your hooks run.
Your off switches. commit: false leaves everything uncommitted for you to inspect. Leave ORCA_CONDUCTOR unset and every unit runs on your default model. A file you do not list in writes is a file ORCA will not write.
It costs money. One subagent per unit, on your provider, at your rates. A 12-unit run is 12 agents. Start with two.
Optional extras, off unless you set them. ORCA_CONDUCTOR (per-domain model routing) and ORCA_OWNERSHIP_SCRIPT (a session-ownership pre-flight). Without them ORCA falls back to a plain dirty-worktree check and a single model.
When NOT to use it
- A single-file change — just edit it.
- Edits where unit B must read unit A's committed result — split into separate runs.
Included Files
| File | Purpose |
|---|---|
scripts/parallel-implement.workflow.js | The orchestrator. No host paths, no hardcoded machine assumptions |
Related skills
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Query Twitter/X profiles, tweets, follower events, and KOL data through the 6551 REST API.
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
More from globalcaos
Browse all skillsGive your OpenClaw agent a JARVIS-style British voice with matching dry humor, audio plus a purple chat bubble in one call.
Native WhatsApp channel for OpenClaw with 22 messaging/group actions plus Protocol v2 multi-agent coordination.
One dashboard tracking Anthropic, Gemini, OpenAI, and Manus token usage with budget alerts and a local REST API.
Stop sending 'format this JSON' to Opus. Stop sending 'cron job' to GPT. Billing-aware routing guide for choosing among the models already configured in your OpenClaw setup when assigning an agent, sub-agent or cron task — flat-rate first, metered only when justified, budget pressure respected. Not for picking models outside your configuration, and not a runtime proxy.
Your agent says 'done' — but did it check? Superpowers turns any OpenClaw agent into a disciplined engineer. Verification iron law (evidence before claims), three-agent code review (build → verify spec → verify quality), systematic debugging (4-phase root cause, three-strike rule), brainstorming gates (design before code), and anti-over-engineering rules. Use when: (1) coding tasks of any complexity, (2) debugging failures, (3) about to claim work is complete, (4) spawning sub-agents, (5) planning features, (6) reviewing code. Inspired by top coding agent methodologies, adapted for OpenClaw multi-agent architecture.
Read and search Outlook, inspect attachments, and create or edit drafts without any send endpoint. Uses one short-lived Microsoft Graph access token supplied on stdin for one run; it never stores credentials. Bulk mailbox export is opt-in.