Cross-agent CLI for other agents to use; currently supports claude, codex, cursor agent, copilot, and grok. A developer has created agent_cli, a cross-agent command-line tool that unifies five AI coding agents—Claude, Codex, Cursor, Copilot, and Grok—behind a single interface. The script supports both read-only review and write-capable edit modes, with explicit session management and per-agent model and effort defaults. It aims to simplify cross-agent workflows by centralizing transport quirks and providing a consistent signature for prompts, sessions, and modes. | /usr/bin/env bash | | | | | | agent cli — one front door for cross-agent work: read-only review/research | | | OR write-capable edit/refactor. | | | | | | Generalizes agent review read-only only by adding an optional trailing | | | mode arg. review default keeps every agent read-only — identical to | | | agent review. edit flips each CLI into its write-capable mode so a worker | | | can apply targeted refactors/edits. Append edit to allow writes. | | | | | | Session continuity is explicit: the first arg is either new fresh | | | session or a session ID from a previous run resume with full context . | | | There is no implicit "continue last session" — you always say which. | | | | | | Wraps the five CLI agents copilot, codex, claude, cursor, grok behind a single | | | signature so one doc describes one wrapper instead of five. This script owns the | | | per-CLI transport quirks read-only vs write mode, stdin redirect, effort | | | flag mapping, default models . When a CLI's API changes, fix it HERE. | | | | | | Usage: | | | Tools/agent cli