Devin from any agent
Drive Devin through the companion CLI in the devin-plugin-cc repository:
node <PLUGIN_ROOT>/scripts/devin-companion.mjs <command> [flags] [free text]
<PLUGIN_ROOT> is plugins/devin inside a devin-plugin-cc checkout — e.g.
$HOME/devin-plugin-cc/plugins/devin, or wherever the plugin is installed.
Run it with cwd set to the repository Devin should work on; job state is
scoped per workspace. Flags go before free text; text after the first
positional is passed to Devin verbatim.
Commands
setup— check thedevinbinary, auth status, andDEVIN_API_KEY. Run this first.review [--base <ref>] [--scope auto|working-tree|branch] [--wait|--background] [focus]— read-only code review. Never modifies files.adversarial-review [same flags] [focus]— read-only review of design choices, assumptions, and failure modes.task [--read-only|--write] [--sandbox] [--resume|--resume-id <id>] [--model <id>] [text]— delegate work. Write-capable by default.handoff [--wait|--background] [--context <text>] [--tag <tag>] <task>— open a cloud session at app.devin.ai carrying repo, branch, and uncommitted diff. NeedsDEVIN_API_KEY.status [job-id] [--wait] [--json]— list/inspect jobs.result [job-id] [--json]— print a finished job's full output.cancel <job-id>— stop a running job or cloud session.
All commands accept --json for machine-readable output.
The Fusion workflow is a separate prompt-level skill, not a companion command. In Codex, invoke $fusion <task> (or pick Fusion in /skills) to use GPT 6 Astra as the lead and Devin as the sidekick for bounded mechanical or test-heavy work. The portable Fusion skill lives in skills/fusion/.
Rules
- Run
setuponce first; surface its output if Devin isn't ready. - Reviews are strictly read-only — relay Devin's findings verbatim, never apply the fixes yourself unless the user asks.
- The default model is
swe-2-max; only pass--modelwhen the user names one. - For
--backgroundjobs, tell the user the job id and how to check it (status/result); don't poll in the same turn. - Never print or persist
DEVIN_API_KEYor other credentials.