Remote Work MapCommand Library →
Bookmark me

The Codex Prompt Library

Copy, paste, and fill in the brackets. Terminal blocks are literal SSH commands. Desktop blocks are natural-language work orders you can paste directly into any Codex task. Replace the brackets, send it, and stay in the same conversation while Codex crosses the machine boundary.

Straight from the guide

Codex taskNatural-language dispatch
Yo, use SSH host vps1. Work only in /path/to/project. Run the requested job there, do not touch this Windows workspace, and bring back the command output plus git status.
Terminal · SSHDirect SSH check
ssh vps1 "hostname && pwd && git -C /path/to/project status --short"
Terminal · SSHSafe preflight
ssh <alias> "hostname; whoami; pwd; git -C '<remote-project>' status --short"
Codex taskLong remote job
Run this on SSH host <alias> in <remote-project>. Preflight the host and repo first. Launch the long job detached in tmux, give me the tmux session name, then verify it is still running before you tell me I can close this task.
Codex taskPersistent Herdr dispatch
Run this on <host> in Herdr. Create one workspace for <repo>, start Cody in a roster-named agent pane, use plain panes for tests and logs, keep the job alive when I disconnect, and return the workspace plus final proof.
Terminal · SSHHerdr remote entry
ssh <host>
herdr
Codex taskLet Codex choose the lane
Do this on <machine alias>. First decide whether this should run through SSH from here or inside that machine's environment. Use the lightest safe option, explain the boundary in one sentence, then execute and verify on the same machine.
Codex taskLet the agent route the browser
Use the full browser stack for this task. Honor any browser I named. Otherwise choose between Codex in-app browser, Codex Chrome extension, Kimi WebBridge, Playwright, Steel, Browserbase, Hyperbrowser, Kernel, Browser Use, or Multilogin based on authentication, existing tabs, installed extensions, visibility, proof, stealth, CAPTCHA, proxy, persistence, and identity needs. Tell me the lane in one sentence, then execute.
Codex taskUse an existing logged-in tab
Use Kimi WebBridge on the tab I am currently viewing. Read the page, summarize what needs attention, and stop before submitting or sending anything.
Codex taskComplete a browser task
Use Kimi WebBridge to open <URL>, complete <TASK>, and capture a screenshot proving the final state. Ask before any purchase, deletion, publish, or irreversible submit.
Codex taskPaste this into a Codex task
HOST: <ssh alias or environment>
PATH: <exact remote path>
GOAL: <outcome>
BOUNDARY: <what may change and what must not>
PERSISTENCE: <foreground, Herdr, service, or tmux fallback>
DONE WHEN: <tests, process state, URL, logs, screenshot, or git evidence>

Preflight the host and path, execute there, verify there, and report concise evidence.
Codex taskPlain-English Codex example
Go to SSH host vps1 and work only in /srv/my-app. Deploy the current branch without changing secrets or unrelated services. Use Herdr so it survives disconnects. It is done when the production health endpoint returns 200 and you show me the remote git status, deployment URL, and final logs.

Remote orientation

Terminal · SSHIdentity
ssh <alias> "hostname; whoami; pwd"
Terminal · SSHRepo state
ssh <alias> "git -C '<remote-project>' status --short --branch"
Terminal · SSHCapacity
ssh <alias> "uptime; free -h; df -h"

Natural-language dispatch

Codex taskBounded SSH job
Use SSH host <alias>. Work only in <remote-path>. Do <goal>. Do not touch local files. Verify on the remote host and bring back the exact result.
Codex taskDetached job
Run <job> on <alias> in <remote-path> inside a named tmux session. Verify the process and log are live, then tell me exactly how to check or reattach.

Use in Codex

Codex taskStructured work order
HOST: <ssh alias or environment>
PATH: <exact remote path>
GOAL: <outcome>
BOUNDARY: <what may change and what must not>
PERSISTENCE: <foreground, Herdr, service, or tmux fallback>
DONE WHEN: <remote proof required>

Preflight the host and path, execute there, verify there, and report concise evidence.
Codex taskFast natural-language version
On <host>, in <exact path>, do <goal>. Do not touch <boundary>. Keep it <foreground or detached>. Prove completion with <tests, logs, URL, screenshot, process state, or git evidence>.
Codex taskLet Codex choose the host
Run this on the best-fit available fleet machine. Verify OS, tools, repo locality, capacity, current load, privacy, latency, and cost before choosing. Tell me the selected host and why, then execute there and verify there.

Herdr orchestration

Codex taskLong fleet job
Use Herdr on <host> for <goal>. Create one workspace for <repo>, use roster-named agent panes, plain panes for tests and logs, verify it survives detachment, and return the resume path plus proof.
Terminal · SSHAttach to Herdr
ssh <host>
herdr

Browser routing

Codex taskChoose the browser lane
Choose the safest browser lane for <task> from Codex in-app browser, Codex Chrome extension, Kimi WebBridge, Playwright, Steel, Browserbase, Hyperbrowser, Kernel, Browser Use, and Multilogin. Use Chrome or Kimi when my existing local login or browser state matters. Keep bulk or stealth traffic off my home IP, then return browser proof.

Codex Chrome extension

Codex taskUse my logged-in Chrome
Use the Codex Chrome extension on my existing logged-in Chrome tab. Read the page, complete <task>, and capture visible proof. Do not inspect cookies, passwords, local storage, profiles, or session stores.
Codex taskUse an installed Chrome extension
Use the Codex Chrome extension because this task depends on <extension or Chrome-only state>. Stay in Chrome, complete <task>, and ask before any irreversible submit, send, publish, payment, deletion, or account change.

Kimi browser control

Codex taskRead only
Use Kimi WebBridge on my active browser tab. Read and summarize it. Do not click anything that changes state.
Codex taskAct with a confirmation gate
Use Kimi WebBridge to complete <task>. Stop and ask me immediately before any final submit, send, publish, payment, deletion, or account change.