Coding

orca-control

Try it

Manage, orchestrate, inspect, and automate the Orca IDE and Multi-Agent Runtime Server — projects, worktrees, supervised workers, interactive terminals, decision gates, accounts, and automations.

What it does

**Author**: Rafa Martins () **Repository**: github.com/rafacpti23/orca-control-skill **License**: MIT

The skill document

Orca Control & Multi-Agent Orchestrator

Author: Rafa Martins (rafacpti@gmail.com)
Repository: github.com/rafacpti23/orca-control-skill
License: MIT

Comprehensive management, operation, diagnostics, and orchestration toolkit for the Orca IDE / Multi-Agent Runtime Server.


🏗️ Architecture & Server Layout

  • System User: orca (uid: 993, gid: 984)
  • Home Directory: /home/orca
  • Configuration & SQLite DB: /home/orca/.config/orca/ (orchestration.db, sockets, runtime config)
  • Projects & Workspaces: /home/orca/orca/projects/ & /home/orca/orca/workspaces/
  • Service Manager: orca-serve.service (systemd unit running port 6768, WebSocket ws://127.0.0.1:6768 or wss://)
  • Global CLI Entrypoint: /usr/local/bin/orca (wraps Node execution of unpacked Orca CLI engine with HOME=/home/orca)

🚦 Diagnostics & Health Checks

1. Runtime & Graph State

# Check runtime readiness, PID, window status and graph state
orca status

# Check systemd service status
systemctl status orca-serve --no-pager

# Restart service cleanly if required
systemctl restart orca-serve

2. Resource & Memory Diagnostics

orca diagnostics memory

📁 Project & Worktree Management

1. Projects and Repositories

# List all registered repositories
orca repo list

# List durable projects known to Orca
orca project list

# Register an existing filesystem directory as an Orca repo
orca repo add /home/orca/orca/projects/

# Make a project available on host by cloning a repository
orca project setup-clone 

2. Worktrees (Isolated Task Environments)

# List all active Orca-managed worktrees
orca worktree list

# Compact orchestration summary across worktrees
orca worktree ps

# Create a new isolated worktree based on a git branch
orca worktree create 

# Inspect a specific worktree
orca worktree show 

# Remove a worktree safely
orca worktree rm 

🤖 Multi-Agent Orchestration & Task Lifecycle

1. Runs and Tasks

# List active and past orchestration Runs
orca orchestration run-list

# Create and bind a new orchestration Run
orca orchestration run-create --title "Backend Refactor Sprint"

# List orchestration tasks
orca orchestration task-list

# Filter tasks by status (pending | ready | dispatched | completed | failed | blocked)
orca orchestration task-list --status pending

# Create a new task with explicit specifications
orca orchestration task-create --title "Implement Auth Middleware" --spec "Use JWT with HMAC-SHA256..."

# Update task status
orca orchestration task-update --task  --status completed

2. Supervised Workers (Agents in Action)

# List active supervised worker accounting
orca orchestration worker-list

# Start a worker attached to a task
orca orchestration worker-start --task 

# Read output / logs from a supervised worker
orca orchestration worker-read --worker 

# Release worker terminal when task completes
orca orchestration worker-release --worker 

# Retain worker terminal for live debugging
orca orchestration worker-retain --worker 

3. Decision Gates & Inter-Agent Inbox

# List decision gates awaiting human/coordinator resolution
orca orchestration gate-list

# Resolve a decision gate (approve or reject agent proposed change)
orca orchestration gate-resolve --gate  --decision approve

# Inspect inbox for inter-agent communication
orca orchestration inbox

# Send direct message to a terminal / worker thread
orca orchestration reply --thread  --content "Approved. Proceed with database migration."

💻 Live Terminals & Session Control

# List all live Orca-managed terminals with output previews
orca terminal list

# Create a new terminal session in the current worktree
orca terminal create

# Send commands or input to a running terminal
orca terminal send --terminal  "npm test\n"

# Read bounded terminal output
orca terminal read --terminal 

# Close a specific terminal pane
orca terminal close --terminal 

🔑 Agent Accounts & Credentials (Claude & Codex)

# List registered agent accounts
orca account list

# Add/Authenticate OpenAI Codex CLI account
orca account add --agent codex

# Add/Authenticate Anthropic Claude CLI account
orca account add --agent claude

⏰ Automations & Scheduled Workflows

# List registered automations
orca automations list

# Trigger an automation run manually
orca automations run 

# View execution history for an automation
orca automations runs 

🌐 Browser Automation & Mobile Emulators

Orca provides native computer use and viewport control tools:

# Capture DOM / accessibility tree snapshot
orca snapshot

# Navigate browser tab to URL
orca goto https://example.com

# Capture page screenshot
orca screenshot

# List connected mobile emulators
orca emulator list

# Send tap gesture to emulator
orca emulator tap --x 120 --y 340

⚠️ Pitfalls & Pro Tips

  1. User Permissions: Ensure files created in /home/orca/ belong to orca:orca (chown -R orca:orca /home/orca/orca/projects/).
  2. Sender Terminal Resolution: When invoking orca orchestration outside of an interactive terminal session, pass --from (discoverable via orca terminal list).
  3. Daemon Safety: Use systemctl restart orca-serve instead of killing Electron PIDs directly to prevent stale lockfiles.

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván2 installs

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván1 installs

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván532 installs31 stars

More from rafacpti23

Browse all skills

PAPI WhatsApp Cloud API - Envio e automação de mensagens WhatsApp (texto, PTT áudio de voz, mídias, botões interativos, enquetes, listas e webhooks).

by rafacpti23100 installs2 stars

Automate WhatsApp messaging, interactive content, instance and group management, catalogs, and webhooks via a scalable microservices API with an admin panel.

by rafacpti2393 installs1 stars

Zero-Knowledge persistent memory layer for Hermes Agent. Provides encrypted cross-session memory, Trust Quotient (TQ) scoring, and automatic recall across AL...

by rafacpti2316 installs1 stars

Subagente autônomo especialista em Meta Ads. Cria campanhas completas via MCP (Super Prompt), gera criativos com IA, monitora métricas (CPA/ROAS/CTR), executa otimizações, pausa anúncios ruins e alerta via Papi. Suporta multi-contas de anúncios.

by rafacpti232 installs

Provides persistent, encrypted AI agent memory with a 4-layer security pipeline for storing, retrieving, sharing, and analyzing agent memories.

by rafacpti2313 installs

Ferramenta de integração com o GoHighLevel (GHL) API v2. Permite gerenciar contatos, mover cartões no Kanban, identificar leads sem resposta, adicionar contatos a fluxos, ENVIAR MENSAGENS DIRETAS e receber novos leads instantaneamente via WEBHOOK.

by rafacpti231 installs