Multi frontier desktop

From BuilderIO/agent-native · View interactive version

Multi frontier desktop is an AI agent skill from the GitHub repository BuilderIO/agent-native. Run or extend the Desktop Code Agents Multi-Frontier workflow. Use when coordinating Codex and Claude Code subscriptions, collaboration phases, checkpoints, recovery, usage meters, or helper admission.

How to use this skill

Skill file

Multi-Frontier Desktop

Rule

Multi-Frontier is a Desktop-only, local Code Agents workflow with exactly two

subscription-native participants: Codex through ChatGPT and Claude Code through

Claude. Electron main owns every privileged operation, durable state transition,

provider process, and write lease. The renderer is presentation and command

intent only.

Before a collaboration

  1. Connect subscriptions through their own CLI sign-in flow. Use codex login

for ChatGPT and claude auth login --claudeai for Claude. Never ask for,

parse, copy, extract, log, or persist OAuth credentials, auth files,

Keychain values, or rollout data.

  1. Read provider status through the typed Desktop host/preload/IPC operations.

Do not call Node, child processes, app-server stdio, or the filesystem from

the renderer.

  1. Present only provider-reported plan and usage fields. Missing data is “Not

reported by provider,” not zero. Codex may show capability-probed live usage

and credits. Claude v1 shows connection and plan tier with explicit “Live

usage unavailable” when its supported session side channel cannot report it.

  1. Treat account identity and provider raw payloads as private. They do not

belong in collaboration state, artifacts, transcript metadata, usage

snapshots, logs, telemetry, or IPC. Keep renderer cards compact and disclose

meter details in an accessible popover.

Collaboration workflow

  1. Start both participants as read-only. They independently produce bounded

proposal artifacts.

  1. Give each participant the other proposal, the original request, and bounded

repository evidence for cross-review. Number findings by consequence.

  1. Allow at most one revision per participant per round and retain

supersession links; never overwrite an earlier proposal or review.

  1. Publish a compact, attributed convergence summary. Stop after three rounds

rather than guessing through a material disagreement.

  1. Default to an inline explicit GO. Per-run auto-continue is permitted

only after recorded agreement on a reversible path. It never disables

escalation for scope or intent ambiguity, destructive work, security or

privacy impact, external communication, meaningful cost expansion, or

irreversible data or architecture decisions.

  1. Grant workspace_write only to the current driver generation after GO. The

other participant remains read-only. Do not rely on prompts for this rule.

  1. At a stable driver turn or material-diff boundary, revoke the write lease,

record an immutable bounded checkpoint, and let the watchdog review that

checkpoint rather than a moving worktree. Record each finding as addressed,

rejected with rationale, or deferred with rationale.

  1. On cancellation, crash, quit, or restart, stop owned children, revoke the

lease, persist a paused recovery record, and require an explicit newly

fenced continuation. Never automatically resume native execution after

recovery.

Helper and quota policy

analysis, and review only. Record requested and effective model for every

helper launch; omission must not inherit an expensive frontier model.

and delegation-depth caps.

driver is suspended. Two workspace-write processes are never allowed.

launching optional helpers/watchdog work at the configured threshold. Let a

running provider report its own authoritative limit error.

Persistence and UI

versioned, additive, file-backed local Code-run data with atomic parent

updates and bounded append-only events/artifacts.

checkpoint/proposal/review references, opaque session references, and bounded

summaries only. Never persist full prompts, diffs, unbounded provider output,

credentials, account identifiers, or raw app-server events.

participants, and per-run auto-continue choice to the existing composer; show

phase as a subtle status line and roles as two small badges; keep proposal,

review, and checkpoint evidence compact and collapsed by default; put rare

pause, cancel, and role-swap controls in the existing run menu where possible.

Use accessible status announcements and the shared composer stack instead of

a bespoke prompt field.

Verification

must not become command authority.

are rejected.

child running.

packaged-runner and installed-app evidence in MULTI_FRONTIER_PROOF.md.

Don't

scraping, or undocumented provider usage endpoints to Desktop v1. Keep an

API-key path explicitly separate; never silently substitute it for a

subscription runtime.

remaining tokens, dollars, or a plan limit.

moving worktree, or permit a write-capable helper without a lease handoff.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.