# crossagent

> An agent skill that turns your coding agent into an orchestrator routing tasks across subagents on other providers' models.

crossagent is an agent skill published by gabi200 on GitHub. It turns the coding agent you are working in into an orchestrator over subagents running on other providers' models, and works in Claude Code, Codex, OpenCode, Antigravity (agy) and Gemini CLI. A bundled Node CLI handles detection, routing, usage tracking, runs, handoffs and logging.

## What It Is

crossagent is a skill folder (`skills/crossagent/`) containing SKILL.md and reference instructions for the orchestrating model, plus a Node.js CLI that does the bookkeeping. It does three things: routes each task to a suitable model by task type and minimum tier among the models you have allowed and that still have quota; cross-checks significant checkpoints with a model from a different provider; and brainstorms with models from several providers that cannot see each other's ideas until a critique round.

## How the workflow runs

On first use it detects installed CLIs (claude, codex, opencode, agy, gemini), asks which models to allow, your Claude plan, a Google daily cap and a DeepSeek budget, and saves the answers. It then decomposes work and dispatches subagents as background runs that are polled with a status command. Writing runs get their own git worktree and branch. State lives in a `.crossagent/` directory with run files, handoffs to `orchestrator.md`, and a log of decisions, verdicts and reroutes, so work is resumable.

## Usage tracking and handoff

crossagent tracks usage per provider, warns at 80% and hands work to another provider at 95%, both configurable. Fidelity varies: Codex usage is read from session logs, Claude usage is exact with an optional status line add-on, Google usage is estimated against a configured daily cap, and DeepSeek is tracked as spend against a budget. When a CLI reports a rate-limit error, the provider is marked exhausted, a handoff file is written and the run is rerouted.

## Setup path

Requires Node.js 20 or newer with no npm dependencies, and at least one supported CLI installed and logged in. Install with `npx skills add gabi200/crossagent -g`, the bundled installer, or by manually copying the skill folder into each harness's skills directory. The routing table in `routing.json` is editable.

## Features
- Routes tasks to models by task type and minimum tier
- Cross-checks checkpoints with a model from a different provider
- Multi-provider brainstorming with blind ideation before critique
- Per-provider usage tracking with 80% warning and 95% handoff thresholds
- Automatic reroute on rate-limit or quota errors
- Background subagent runs polled by status
- Git worktree per writing run
- Resumable state and handoff files in .crossagent/
- Editable routing table
- Optional Claude Code status line for exact usage

## Integrations
Claude Code, Codex, OpenCode, Antigravity, Gemini CLI, DeepSeek, Anthropic, OpenAI, Google

## Platforms
WINDOWS, MACOS, LINUX, CLI

## Pricing
Free

## Links
- Website: https://github.com/gabi200/crossagent
- Documentation: https://github.com/gabi200/crossagent
- Repository: https://github.com/gabi200/crossagent
- EveryDev.ai: https://www.everydev.ai/tools/crossagent
