Commands
nsq help prints this list in your terminal. An agent is named by its name or id, as nsq ls
shows it.
Agents
| Command | What it does |
|---|---|
nsq | The dashboard (starts the daemon) |
nsq run <claude|codex|opencode> [prompt] | Start an agent in the current folder |
nsq run [--name n] -- <command…> | Run any command as an agent |
nsq run -- <claude|codex|opencode> [its own flags…] | Start that CLI as its agent from its own command line — details |
nsq ls [--json] | Agents, their status, the pending question, cost and branch |
nsq attach <agent> | The agent full screen in this terminal; Ctrl] detaches |
nsq send <agent> "prompt" [--when-done] | Send a prompt now, or when the current turn is done |
nsq answer <agent> yes|always|no | Answer a permission prompt |
nsq interrupt <agent> | Interrupt the current turn (with the key that CLI expects) |
nsq stop / start / restart <agent> | Stop, start or restart the process; start and restart resume its session |
nsq rm <agent> [--worktree] | Remove the agent (and, with --worktree, delete its worktree) |
nsq set <agent> [--dangerous on|off] [--model id|none] [--provider name|openrouter|none] [--quiet-after min|default] | Change an agent; --quiet-after — its own quiet threshold |
nsq diff <agent> | The git diff of the agent’s folder |
nsq peek <agent> [-n 20] | The last lines of its screen |
nsq cost [--since 7d] [--json] | What each agent spent |
nsq log approvals [--agent x] [--since 2h] [-n 50] [--json] | Every “needs you” question, its answer and who gave it from where — the approvals log |
Options of nsq run:
| Option | |
|---|---|
--name <name> | The agent’s name (default: the CLI’s or command’s name, made unique) |
--worktree | Its own git branch and checkout — see Worktrees |
--model <id> | The model to use |
--provider openrouter | Run through OpenRouter |
--provider <name> | Run on one of your own model servers |
--dangerous | Approve the agent’s permission prompts for it |
--attach | Open it full screen right away |
--raw | With -- claude|codex|opencode …: run it as a plain command, exactly as written |
Everything else
| Command | What it does |
|---|---|
nsq openrouter set-key | clear-key | models [query] | status | OpenRouter |
nsq provider add <name> --url <address> [--ask-key | --key-stdin] | Add your own model server — tested first: its models and which APIs it speaks |
nsq provider list | models <name> [query] | test <name> | remove <name> | List your servers, show a server’s models, test it again, remove it |
nsq phone on [--lan] | off | pair | rotate | status | Phone access (experimental) |
nsq phone push ntfy [--url] [--token] | test | show | status | off | Push “needs you” to the phone through ntfy |
nsq phone on --online [--expire 12h] | Phone access from anywhere through a Cloudflare tunnel |
nsq phone tunnel-token set | clear | The token of your own named Cloudflare tunnel (OS keyring), used with --online --tunnel-token --hostname <host> |
nsq dictation setup | status | test <file.wav> [--model id] | Dictation |
nsq login · logout · whoami | The optional NeuroSquad account — nothing in nsq needs it |
nsq up · nsq down | Start or stop the daemon. down stops the agents; up brings back the ones that were running, resumed |
nsq update [--check] | Install the newest release now, or only check — nsq also does it by itself (updates) |
nsq config [get | set | unset <key> [value]] | Settings, e.g. nsq config set autoUpdate notify |
nsq doctor | Check the agent CLIs, curl, the terminal addon, the OpenRouter key and the terminal |
nsq --version | The version |
Cost
nsq cost and the cost column of nsq ls are read from each CLI’s own session logs: tokens are
whole numbers, and a model nsq has no price for shows no price — never $0.