Codello documentation
Never miss a Claude prompt. Get push notifications when Claude needs input and respond from anywhere with a full terminal on your phone.
Installation
Install Codello with a single command:
$ curl -fsSL https://codello.app/install.sh | bashRequirements: Node.js 18+ on macOS or Linux.
Tip: To uninstall, run: curl -fsSL https://codello.app/install.sh | bash -s -- --uninstall
Login & setup
After installation, log in to connect your machine to your Codello account:
$ codello loginThis opens your browser where you can sign up or sign in. Once authenticated, your credentials are stored securely on your machine.
Your first session
Start Claude Code in a Codello session:
$ codello claudeThis launches Claude Code wrapped in a terminal session that's accessible from your phone. You'll see a URL in the terminal—open codello.app on your phone to connect to the same session.
Alternative: Use codello start to run Codello on your host without launching Claude, then connect from any device.
Configuring hooks
For push notifications, Claude Code needs to be configured to notify Codello when it stops. This happens automatically when you run codello claude, but you can also set it up manually.
Automatic setup
Check your hook configuration:
$ codello hook checkManual setup
Add to ~/.claude/settings.json:
{
"hooks": {
"Stop": [{
"matcher": "",
"hooks": [{
"type": "command",
"command": "codello hook notification"
}]
}]
}
}Respond from your phone
The core use case: step away from your desk and keep your Claude session running. When Claude needs input, you get a push notification on your phone.
1. Start a session
Run codello claude on your dev machine
2. Walk away
Leave Claude working on your task
3. Get notified
Receive a push when Claude needs you
4. Respond
Open codello.app and type your reply
Long-running tasks
Give Claude a big task and let it run. Perfect for:
- Refactoring large codebases
- Running test suites
- Generating documentation
- Building and deploying projects
You don't need to watch the terminal—you'll get notified when Claude finishes or needs guidance.
Multi-location work
Access your development session from anywhere:
- Home to office: Start a task at home, continue at work
- On the go: Monitor progress from your phone during commute
- Multiple devices: Switch seamlessly between laptop, phone, and tablet
Terminal sessions
Codello provides a full terminal experience on your mobile device using xterm.js. Features include:
- Full color and formatting support
- Keyboard shortcuts and special keys
- Copy/paste support
- Session history preserved across reconnects
Push notifications
Get notified when Claude stops and needs input. Notifications are:
- Instant: Delivered within seconds over Web Push in your browser and over APNs in the iOS app
- Actionable: Tap to open the session directly
- Privacy-focused: No session content in notifications, just "Claude needs your input"
Enable notifications: Allow notifications from codello.app in your browser, or in the Codello iOS app when it asks after you sign in. On an iPhone without the app, add codello.app to your Home Screen first; iOS only delivers Web Push to an installed web app.
Multi-device
Your sessions sync across all your devices:
- View active sessions from any logged-in device
- Switch between devices mid-task
- Each device receives push notifications
End-to-end encryption
Pair a device with your host to encrypt terminal traffic end-to-end. Once paired, every byte of session input and output is encrypted on your device and decrypted on your host (Noise IK over X25519 / ChaCha20-Poly1305 / BLAKE2b)—the Codello relay only forwards ciphertext it can neither read nor undetectably alter.
Pairing a device
- On your phone or browser, open codello.app, tap the shield icon on the host's row, and choose Pair with this host. Four words appear on the device.
- On the dev machine, run
codello pair. It lists the waiting device by name and prompts for the four words. - Type the four words as they appear on the device, all on one line or one at a time. Any unique prefix of a word is enough—press Tab or Enter and the prompt completes it and echoes what it resolved to.
- That is the whole ceremony. Nothing is compared: the four words are the password of a key exchange, so typing them is what gives the two ends a shared key, and each end proves it holds that key before anything is stored. Type the wrong words and both screens abort with nothing pinned. You get three tries per request, then start over on the device.
The words never leave the device screen and your keyboard. They are never sent over the network, never written to a log, and never printed by the host—Codello on the host cannot print them, because it does not have them until you type them. To pair without the prompt, run codello pair --phrase "word word word word". codello approve still works as an alias.
$ codello pair # type the four words the device is showing
$ codello fingerprint # print this host's identity fingerprint
$ codello device list # list paired devices
$ codello device revoke <id> # revoke — the device's next connection is refusedPairing pins your host's identity on the device (like SSH's known_hosts) and registers the device's key on the host (like authorized_keys). Once paired, a session's connection details popover shows Encryption: End-to-end (Noise IK)—and a paired device never falls back to plaintext: if either side stops matching, the connection fails closed instead.
Pairing is always required. A host rejects unpaired viewers and shows them a “Pairing required” prompt—so pair every device you use before starting Codello on a new host, or you’ll be locked out until you finish the pairing ceremony. There is no opt-out: session content is encrypted end to end, so not even the relay can read your terminal.
Scheduled sessions
Schedule a pre-seeded Claude session to fire later on this machine, in a chosen directory, at a cron or one-shot time. The session inherits the real files, tools, and credentials already in that directory—it just adds the trigger. It pauses on permission prompts (no auto-approve), so you tap in from your phone to steer, and the normal hook→push path notifies you on launch, idle, and done.
# Recurring (cron) — every weekday at 9am, in the current dir
$ codello schedule add --name standup-prep --at "0 9 * * 1-5" --prompt "Summarize yesterday's commits and open PRs."
# One-shot (ISO date/time), with a multiline prompt from a file
$ codello schedule add --name nightly-deploy --cwd ~/work/api --at "2026-06-17T22:00" --prompt-file ./deploy-prompt.txt
$ codello schedule list # name · next/last run · enabled
$ codello schedule run standup-prep # fire now (test path)
$ codello schedule disable standup-prep # keep it, but stop firing
$ codello schedule remove standup-prepThe directory must be a trusted Claude project. An untrusted directory hangs at the trust dialog and swallows the seeded prompt—open Claude there once and accept the trust dialog first. Scheduled runs fire only while the host is awake and Codello is running on it; a run missed while asleep is caught up on next wake within a 30-minute grace window, otherwise skipped. A run starts even while the previous run’s session is still open, idle, or waiting on you; it is skipped only while that session’s agent is in the middle of a turn or waiting on its own background tasks. A skipped run sends one notification that says why, and the schedule moves on to its next time.
Background runs
Add --background and the schedule fires the agent non-interactively, the way claude -p does: no terminal, no viewer, and no session in your list. Use it for work that never needs you mid-run—a nightly summary, a dependency audit, a report—and read the result when you get to it.
$ codello schedule add --name nightly-audit --background --at "0 2 * * *" --prompt "Audit dependencies and write the findings to AUDIT.md."
$ codello schedule runs # every background run: schedule · started · statusEach run is recorded with its schedule, start and end times, and how it ended. Open Background runs in the web app to read any run’s full transcript from your phone—the same view chat mode uses, read-only, and it follows along live while a run is still going.
A background run cannot answer a permission prompt. There is no terminal to answer one on, so a tool the agent is not already allowed to use is denied and the run fails. The failure reaches you where you already look: an item in the notification bell that opens the run, and a push. The run’s page names the tools that were denied. Give the prompt what it needs up front, or schedule it without --background when you want to be able to step in. Transcripts are the agent’s own—nothing is copied—so a run’s transcript disappears from the list once Claude’s own cleanup removes the file.
Prefer natural language? The Claude Code plugin exposes /codello:schedule <what> <when>—it parses your request, captures the current directory, writes a self-contained prompt, previews it, and (on your confirmation) runs codello schedule add for you. Each scheduled run is a fresh Claude with no memory of any chat, so the prompt must be self-contained (the plugin does this for you).
Claude Code plugin
The Codello plugin adds slash commands and skills to Claude Code so an agent can drive Codello from inside a session—spawn and schedule sessions, hand work off, copy results to your phone, and answer questions about Codello itself. Install it from its public marketplace:
/plugin marketplace add masonsystems/codello-plugin
/plugin install codello@codello-marketplacePlugin 2.0.0 renames the plugin and its marketplace, and registers only the /codello: namespace. Coming from the old plugin? Remove it and its marketplace first with /plugin uninstall codetogo@codetogo-marketplace and /plugin marketplace remove codetogo-marketplace, then run the two commands above. Upgrade the Codello CLI in the same sitting, because the plugin and the CLI have to agree on the namespace, and edit any scheduled prompt of your own that names a /codetogo: command.
Slash commands
| Command | What it does |
|---|---|
/codello:spawn <tasks> | Start fresh, titled sessions now, one per task, each in its own project directory—live in your session list immediately so you can steer each one from your phone |
/codello:schedule <what> <when> | Schedule a pre-seeded session to fire later (cron or one-shot); list and remove <name> manage existing schedules |
/codello:handoff | Write .claude/tmp/HANDOFF.md so another agent or a fresh session can continue the work (quick for the essentials) |
/codello:resume [path] | Pick up from a handoff (default .claude/tmp/HANDOFF.md, deleted once read) |
/codello:compact [path] | Reset a live Codello session's context in place: writes a handoff, then hot-swaps the claude process under the same session at the next idle boundary—same session id, viewers, and scrollback |
/codello:copy [content] | Put formatted content on the clipboard of the phone or browser viewing the session; a tap on the chip keeps bold, bullets, tables, and monospace on paste |
Skills
Skills have no slash command—Claude loads them on its own when a question calls for them. If a freshly installed skill doesn't load, invoke it once by hand (for example Skill: codello:docs); Claude Code ranks skills by recent use, so one use promotes it.
| Skill | What it does |
|---|---|
codello:docs | Answers “how do I … with Codello” questions from this documentation: it fetches the live page, searches it, quotes the matching section, and links it. Anything the page doesn't cover falls back to codello --help, and it says so when something isn't documented |
codello:cli | Teaches an agent to work the codello CLI: list what's running on this machine, map a transcript id back to the session that wrote it, read what a session said without attaching (codello tail), and see what's waiting on you |
CLI commands
| Command | Description |
|---|---|
codello login | Authenticate with codello.app |
codello claude | Start Claude Code in a Codello session |
codello codex | Start OpenAI Codex in a Codello session |
codello agent | Start Cursor Agent CLI in a Codello session |
codello start | Start Codello on this host without starting an agent |
codello run <cmd> | Run any command in a Codello session |
codello stop | Stop Codello on this host |
codello stop <id> | Close one session and leave Codello running |
codello status | Show connection status |
codello sessions | List all active sessions |
codello connect [id] | Connect to an existing session (interactive picker if no ID) |
codello tail <id> | Show the last assistant messages from a session without attaching to it |
codello viewers [id] | List the devices viewing a session, with their terminal sizes |
codello resume | Resume sessions from the latest snapshot after a restart or reboot |
codello rename <name> | Rename the current session (run inside it) |
codello snooze [duration] | Stop surfacing the current session as waiting on you: until-wake (default), 1h, 4h, 8h, or clear |
codello copy [text] | Copy text or a markdown file (--md) to the clipboard of the device viewing this session |
codello send <files> | Send a file to the device viewing this session (image preview + download) |
codello notepad | Add links, notes, and follow-ups to this session's notepad |
codello compact <handoff> | Swap in a fresh claude under this session, reseeded from a handoff, at the next idle boundary |
codello logout | Clear credentials |
codello hook check | Verify hook configuration |
codello repair | Rebuild native modules after Node upgrade |
codello setup | One-step setup: login, hooks, shim, autostart |
codello spawn <cmd> | Start a command in background session (returns immediately) |
codello schedule add | Schedule a Claude session to fire later (cron or one-shot); add --background to run it with no session attached |
codello schedule runs | List background runs — schedule, start time, status; transcripts are on the Background runs page |
codello restart | Restart Codello on this host (from within a session) |
codello upgrade | Upgrade to the latest installed Codello, keeping sessions |
codello doctor | Diagnose and repair common configuration issues |
codello config get|set | View or change settings in ~/.codello/config.json |
codello autostart | Manage system boot autostart (enable/disable/status) |
codello logs search | Search centralized logs |
codello logs tail | Stream logs in real-time |
codello logs export | Export logs to file |
codello shim | Manage Claude wrapper (install/remove) |
codello notify <msg> | Send push notification directly |
codello fingerprint | Print this host's E2EE identity fingerprint |
codello pair | Pair a device by typing the four words it is showing (alias: codello approve) |
codello device list | List devices paired for end-to-end encryption |
codello device revoke <id> | Revoke a paired device |
VS Code / Cursor integration
Codello works with Claude Code in VS Code and Cursor. The integration supports:
- Cursor sessions: Connect to Claude in Cursor from your phone
- Message injection: Your responses are typed directly into the editor
- Session detection: Automatically detects active Claude sessions
Setup for Cursor
Configure Cursor hooks for notifications:
$ codello hook cursorDocker sandbox
Codello works inside Docker's Claude Code sandbox. This enables mobile access to Claude Code sessions running in isolated Docker containers.
Setup
1. Start a sandbox with your project mounted:
$ docker sandbox run -w ~/your-project claude2. Inside the sandbox, install build tools and Codello:
$ sudo apt-get update && sudo apt-get install -y build-essential
$ cd /path/to/codetogo && npm install -g .3. Authenticate using environment variables (browser login doesn't work in containers):
# Get token from host machine: cat ~/.codello/auth.json
$ export CODETOGO_TOKEN="your-jwt-token"
$ export CODETOGO_USER_ID="your-user-id"4. Start Codello:
$ codello start
$ codello status # Verify cloud connectionNote: The node-pty module requires build tools to compile in Linux containers. Network access to codello.app is required for the cloud relay connection.
Keyboard shortcuts
Codello supports keyboard shortcuts in the web interface for efficient navigation and input.
Session navigation
| Shortcut | Action |
|---|---|
Cmd/Ctrl + Shift + < | Switch to previous session |
Cmd/Ctrl + Shift + > | Switch to next session |
Ctrl + Tab | Back to the session you were on before (installed app only) |
Cmd + Shift + F on macOS, Ctrl + Shift + F elsewhere | Search conversations in open and recent sessions on every host |
Cmd + Shift + 1 on macOS, Ctrl + Shift + 1 elsewhere | Show the sessions pane on its Sessions tab |
Cmd + Shift + 2 on macOS, Ctrl + Shift + 2 elsewhere | Show the sessions pane on its Inbox tab |
Session switcher popup
When the session switcher is open:
| Key | Action |
|---|---|
Arrow Up/Down | Navigate session list |
Home/End | Jump to first/last session |
Enter/Space | Select highlighted session |
Escape | Close switcher |
Terminal input
| Shortcut | Action |
|---|---|
Option/Alt + Arrow Left | Move cursor one word left |
Option/Alt + Arrow Right | Move cursor one word right |
Option/Alt + Backspace | Delete word before cursor |
Option/Alt + Delete | Delete word after cursor |
Chat input
| Key | Action |
|---|---|
Enter | Send message |
Shift + Enter | Insert new line |
Mobile features
The Codello web app is optimized for mobile use with several touch-friendly features.
Terminal page
- Line Input Mode: Tap the "Aa" button for a mobile-friendly textarea input instead of raw terminal input
- Settings: Adjust font size, toggle dark/light theme, manage quick phrases
- Session switcher: Quickly switch between active sessions with status indicators
Chat page
- Image upload: Attach images up to 5MB (PNG, JPEG, GIF, WebP)
- Quick responses: Tap option buttons for Claude's AskUserQuestion choices
- Idle detection: Automatically detects when Claude needs input for push notifications
Dashboard
- Session renaming: Tap the host or session name to rename sessions
- Hide sessions: Open a session's menu and choose Hide to take it off the list
- Quick create: Quickly create new sessions from the dashboard
- Status indicators: Real-time session status (active, idle, needs attention)
Settings page
- Session ID visibility: Show session IDs in notifications for debugging
- Quick phrases: Configure frequently used responses
- Show tips again: Bring back the tips you already dismissed
Tip: Install Codello as a PWA (Progressive Web App) for an app-like experience. On iOS, tap Share → "Add to Home Screen". On Android, tap the install prompt or menu → "Install app".
Session status dots
Every session in the app carries a small dot that says what the agent is doing and whether it is waiting on you. Tap any dot in the app to see the same explanation for that one status.
- BlockedThe agent is waiting for you to approve something or answer a question, or it told Codello it can’t go on until you act.
- Needs youThe agent finished its turn and is waiting for your reply, or it told Codello it is waiting on you even though background work is still running.
- EmergencyThe agent reported serious harm, like a production outage or lost data, and sent you an urgent push. Open the session to read what happened; the status clears when you do.
- StalledAn agent was waiting on background work (like a CI watch). That work finished, but no agent picked the result back up, so nothing will happen until you send a message.
- Rate limitedThe agent hit its usage limit and stopped. Switch it to another account, or wait for the reset. The command palette can restart every rate-limited session at once.
- DoneThe agent finished the task it was working on.
- FailedThe agent stopped because the task it was working on failed.
- WorkingThe agent is working. Nothing for you to do yet.
- Background workThe agent's turn ended while work it started, such as team agents or background commands, is still running. It picks up again on its own.
- SnoozedYou snoozed this session. No dot and no push until the snooze ends.
- AsleepThe session sat idle long enough that Codello shut its agent down to save memory. Its chat history stays, and your next message starts the agent again in the same session.
- IdleNothing to report. In a session list, a resting session has no dot at all, as here. The session header shows a short gray dash in its place, because that dot is also the button that opens the connection details.
- OfflineThe computer running this session is not connected.
- ConnectingStill opening the connection to this session.
- Connection errorThis device cannot reach the session right now.
- ConnectedConnected over a WebSocket through the relay.
- Connected via WebRTCConnected over a direct peer connection, which is the fastest path.
Configuration
Configuration is stored in ~/.codello/config.json (~/.codetogo on a host still running an older Codello). Use the CLI to view and modify settings:
$ codello config get # Show all config
$ codello config get logLevel # Get specific value
$ codello config set logLevel debug # Set log levelAvailable settings
| Setting | Values | Default | Description |
|---|---|---|---|
logLevel | debug, info, warn, error | info | Log verbosity for Codello on the host |
logToFile | true, false | false | Write logs to file with rotation |
logMaxSize | number (bytes) | 10485760 | Max log file size before rotation |
logMaxFiles | number | 3 | Backup log files to keep |
Troubleshooting
"posix_spawnp failed" error
The node-pty native module must be compiled for your Node version. If you switch Node versions:
$ codello repairNo push notifications
- Ensure notifications are enabled in your browser settings
- Check that hooks are configured:
codello hook check - Verify Codello is running on your host:
codello status
Session not showing on phone
- Make sure you're logged into the same account on both devices
- Check that your host is connected to Codello:
codello status - Refresh the dashboard on your phone
View logs for debugging
$ codello config set logLevel debug
$ tail -f ~/.codello/server.logNeed help? Contact us at support@codello.app