CodeNeter

Command reference

CodeNeter CLI commands, options, slash commands, keyboard shortcuts, and configuration.

Commands

CommandDescription
codeneterStart an interactive session in the current folder
codeneter remote-controlStart an interactive session with remote access on
codeneter runRun one prompt without the interactive interface
codeneter loginSign in through your browser
codeneter logoutRemove the stored sign-in
codeneter whoamiShow the signed-in account
codeneter configPrint the resolved configuration
codeneter updateCheck for a new version and install it
codeneter doctorCheck the connection, sign-in, and local dependencies
codeneter --versionPrint the installed version
codeneter --helpList commands and options

Options

For codeneter and codeneter remote-control:

OptionDescription
--mode <mode>agent, plan, or ask
--model <name>Model ID, or auto
--workspace <path>Folder to work in instead of the current one
--resume <sessionId>Resume a saved session

For codeneter run:

OptionDescription
-p, --prompt <text>Prompt to run; read from standard input if omitted
--output-format <format>text (default), json, or stream-json
--jsonSame as --output-format json
--resume <sessionId>Continue a saved session
--autoApprove actions that would otherwise ask for approval
--mode <mode>agent, plan, or ask
--model <name>Model ID, or auto
--workspace <path>Folder to work in instead of the current one

Headless use describes the output formats and resuming.

Slash commands

CommandDescription
/helpShow available slash commands
/modeSwitch to agent, plan, or ask
/modelSwitch model or use Auto
/compactSummarize the conversation
/resumeResume a recent session for this folder
/clearStart a new conversation
/delete-chatPermanently delete the current conversation
/remoteTurn remote access on or off for this session
/yoloTurn confirmations off or on for this conversation
/commandsBrowse and edit saved commands
/rulesBrowse and edit rules
/skillsBrowse and edit skills
/mcpInspect MCP servers and turn them on or off
/connectConnect or manage your Codex integration
/login, /logout, /whoamiSign in, sign out, or show the signed-in account
/updateCheck for a new version and install it
/exitQuit the CLI

Saved commands also appear when you type /.

Keyboard

InputEffect
@Mention a file or folder
! at the start of the promptRun a shell command yourself; the agent doesn't see the output
Ctrl+CStop the current response or shell command
Ctrl+OExpand or collapse tool output and long messages

Configuration

Settings are stored in ~/.codeneter/config.json. The desktop app uses the same file, so permission defaults you set in either one apply to both. codeneter config prints the current values.

SettingDefaultDescription
defaultModelautoModel for new sessions
defaultModeagentMode for new sessions
approvalPolicy.confirmCommandstrueAsk before running terminal commands
approvalPolicy.confirmDeletestrueAsk before deleting files
approvalPolicy.confirmMcptrueAsk before calling MCP tools
autoApprovefalseApprove actions without asking, in interactive sessions and codeneter run
{
  "defaultMode": "agent",
  "approvalPolicy": {
    "confirmCommands": true,
    "confirmDeletes": true,
    "confirmMcp": true
  }
}

MCP servers are configured in ~/.codeneter/mcp.json and the project's .codeneter/mcp.json. See MCP servers. Rules, skills, and commands are described under Customize.