Skip to main content
Run cn to start an interactive session. You get a prompt where you can type messages, reference files with @, and use slash commands. cn uses the same underlying agent as the Continue IDE extensions.

@ Context

Use @ to point the agent at specific files or directories:
> @src/auth/middleware.ts Why is this middleware rejecting valid tokens?
> @tests/ Write missing test cases for the auth module
> @package.json @tsconfig.json Help me set up path aliases
The agent reads the referenced files and uses them as context for its response.

Slash Commands

Type / to see available commands. Run /help for the full list.
CommandWhat it does
/helpShow the help message and keyboard shortcuts
/clearClear the chat history
/loginAuthenticate with your account
/logoutSign out of your current session
/updateUpdate the Continue CLI
/whoamiCheck who you’re currently logged in as
/infoShow session information, including token usage and cost
/modelSwitch between configured chat models
/configSwitch configuration or organization
/mcpManage MCP server connections
/initCreate an AGENTS.md file for the current project
/compactSummarize chat history into a compact form
/resumeResume a previous chat session
/forkStart a forked chat session from the current history
/titleSet the title for the current session
/renameRename the current session (alias for /title)
/exitExit the chat
/jobsList background jobs
When you’re connected to a remote environment, Continue also adds remote-only slash commands such as /diff and /apply.

Resume previous sessions

Pick up where you left off:
# Resume the most recent session
cn --resume

# Or use the slash command inside a session
> /resume
This restores the full conversation history, so the agent remembers prior context.

Interactive questions in TUI mode

The agent can use the AskQuestion tool to gather clarifications before it continues. You will see a quiz-style prompt directly in the terminal.
  • Use / to highlight an option
  • Press Enter to submit the highlighted option
  • Start typing to send a custom answer (even when options are shown)
  • If a default answer is provided, pressing Enter on an empty input submits that default
This is useful when the agent needs decisions like scope, preferences, or environment details before making edits.

Tool Permissions

Tools that can modify your system (file writes, terminal commands) prompt for approval before executing. You get three options:
  • Continue — approve this call
  • Continue + don’t ask again — approve and save a policy rule to ~/.continue/permissions.yaml
  • No — reject the call and give the agent new instructions
Read-only tools (Read, List, Search, Fetch, Diff, AskQuestion) run automatically. See tool permissions for the full policy system.