执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。
文档
Tinker ORCA
试用Stop 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-
它能做什么
One of dozens of skills and plugins in **TinkerClaw** — a self-improving OpenClaw fork that's been running 24/7 for months.
技能文档
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 |
相关技能
把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
编写、调试与调优 Playwright 测试,涵盖定位器策略、追踪诊断与 CI 友好的超时配置。
globalcaos 的更多技能
浏览全部技能为 OpenClaw 智能体加上 JARVIS 风格的英式嗓音与冷面幽默,一条命令同步输出语音和紫色聊天气泡。
OpenClaw 原生 WhatsApp 通道:22 项消息与群组操作,叠加 Protocol v2 多智能体协同。
一个本地面板,统一追踪 Anthropic、Gemini、OpenAI、Manus 四家提供商的 token 用量与预算告警。
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.