---
name: helicopter
description: Use Helicopter for local coding sessions that need cloud CPU, memory, or continuity.
---
# Helicopter

Helicopter runs coding sessions in the cloud. For HTTP keys and MCP, see the [API guide](https://helicopter.dev/docs/api). For all interfaces, read [llms.txt](https://helicopter.dev/llms.txt).
Supported clients: claude, codex, grok, gemini, cursor-agent, opencode, aider, goose, qwen, amp, copilot, crush.

## Set up new sessions

- When the user asks to install, use their local client. For Codex, save this page as `~/.agents/skills/helicopter/SKILL.md`. For Claude Code, save it as `skills/helicopter/SKILL.md` in its config directory.
- Use the client's active user instructions. For Codex, use `AGENTS.md` or its active override in the config home. For Claude Code, use `CLAUDE.md` in its config directory.
- Add or update one Helicopter section without replacing other instructions. Put this rule in it:
  > For new local coding sessions, use the Helicopter skill before starting work. Use the local session if I ask. Skip handoff when `ACM_CELL` is set.
- Confirm the two files you saved. Tell the user that new sessions in this client will load the rule. If the client cannot save local skills, explain that and give https://helicopter.dev/setup.
- Install the skill without moving the current session unless the user also asks to use Helicopter now.

## Use Helicopter

- Ask the user before you move. Say what moves: this folder and this chat. Never paste a token, a key or a password into chat. Never read the Helicopter key or a tool login file.
- Stop when a step fails. Tell the user the error. Keep the local session working.

1. Find `helicopter` on your PATH or at `~/bin/helicopter`. Use its path in each command. If neither exists, install it:

   ```sh
   mkdir -p ~/bin && curl -fsSL https://helicopter.dev/install/helicopter -o ~/bin/helicopter && chmod +x ~/bin/helicopter
   ```

2. Run `helicopter ls`. If it asks you to sign in, run `helicopter login --no-browser`. Give the approval link to the user. Wait for approval before you continue.
3. Only for aider and cursor-agent, write `HANDOFF.md` with the goal, work, next steps, and open questions. Keep secrets out of it.
4. Run `helicopter move --plan` in the project folder. It sends nothing. Add `--json` for the file manifest and size. Use `--tool` and `--session` to select the chat. Use `--project NAME` to set the destination for a Git worktree.
5. Tell the user the files, size, branch, and choices from the plan. Ask about environment files and the tool login. Ask about website logins only when the task needs them.
6. After approval, run the plan command with `--yes`. Use the same tool and session as in the plan. Pass `--env no` and `--login no` unless the user approved the respective transfer.
   - Check `helicopter move --help` for `--sites`. If supported, pass `--sites no` unless the user approved specific site domains. The client groups subdomains by site. Pass only the approved groups with `--sites`. Keep the scope on this project.
   - For older clients or browser approval, send the user to https://helicopter.dev/dashboard#import. Ask them to select only the approved sites in Chrome.
   - Do not ask for passwords or read browser cookies yourself.
   - If the CLI prints a tool sign-in link and code, show them to the user at once. Keep the command running.
   - Add `--model NAME` only when the user requests a model.
7. Give the user the `Moved. Continue here: LINK` line when the CLI confirms the handoff. Use the Claude app (Remote Control) or Codex app when the session offers it.
8. If the CLI offers agent code review or helicopter CI, share the settings link. Leave those features off unless the user asks.

## If something fails

- Retry a denied or expired sign-in when the user asks. For a missing session, run the plan from that session's project folder.
- If the CLI cannot confirm the handoff, give the link and tell the user.
- For a missing account, have the user connect their tool at https://helicopter.dev/settings#accounts.
- Older clients support `helicopter teleport --session ID` for Claude or Codex. `helicopter pull CELL` brings the work back.

## Use the shared drive

- Run `helicopter drive ls` on this computer. Use `helicopter drive read PATH` to preview text. Use `helicopter drive put FILE PATH` to copy one text file. Add `--version N` to replace that version.
- In a cloud sandbox with the drive mounted, use `ls /drive`. For a chat with the Helicopter connector, use `drive_ls`. A session move requires separate approval.

## Other handoffs

- If the user asks to sync local changes, run `helicopter sync CELL` for that move.
- If the user asks to move stopped sessions, list them with `helicopter move --list`. Ask the user once to approve the list.
- After that approval, run the printed `helicopter move --stopped --yes` command with the approved session IDs and choices. Use `--as TOOL` only if requested.
