Junie Help

Reference

Complete reference for the slash commands (/) and shortcuts available in Junie CLI (interactive mode).

Built-in slash commands

Command

Description

/account

Manage your Junie Accounts and Junie API keys, or connect your own API key from Anthropic, OpenAI, and other OpenAI API-compatible providers.

/branch [name]

Copy the current conversation into a new session and switch to it. If you provide [name], Junie uses it as the title of the new session.

/brave

Cycle through the brave mode levels (Off, Auto, On) that control how much Junie CLI relies on user approval before running potentially sensitive actions.

/commands

List custom slash commands (and in the interactive TUI, create/manage them). In ACP clients, /commands prints a Markdown listing with sources and edit paths; create/edit still happens via Markdown files or the TUI.

/copy [N]

Copy an assistant response to the clipboard. Without [N], copies the most recent response. With [N], copies the Nth-latest response (1 = most recent, 2 = the one before that, and so on).

/debug

Toggle debug mode, in which Junie CLI acts as an AI debugging assistant against a live debugger session in a connected JetBrains IDE. Shortcut: Shift+Tab cycles through default, Plan, and Debug mode.

/demo

Launch a visual demo of a feature inside a disposable VM. Junie asks what to demo and offers scopes based on the state of your repository: the changes of the current branch, uncommitted changes, the last commit, the changes of the current session, a smoke test, or a request you describe yourself.

/effort

Set the reasoning effort level for the current model. The set of supported effort levels depends on the selected model.

/extensions <arg>

Browse, install, update, and manage Junie CLI extensions — bundles of agent skills, MCP servers, subagents, custom commands, and guidelines.

/feedback <prompt>

Share feedback about the current session with the Junie team. If you provide <prompt>, Junie opens the feedback screen with that text as an editable draft.

/history [sessionId]

Open Task history to search sessions, switch between live sessions, or resume a saved session from a previous run. Press Tab to toggle between sessions from all directories and only the current project directory. If you provide [sessionId], Junie resumes or switches directly to that session — handy with the /branch flow.

/ide

Show the current JetBrains IDE connection status and the JetBrains IDE features available to the current session. For details, see Junie CLI and JetBrains IDE integration.

/install-github-action

Launch an interactive wizard for installing and configuring Junie GitHub Action in the current GitHub repository.

/import

Import user- or project-level configs from other coding agents.

Junie CLI detects and suggests import of guidelines, agent skills, slash commands, or MCP server configurations from other coding agents like Claude Code, Codex, or Cursor.

/mcp

List and manage MCP servers. In the interactive TUI, opens the full management screen (add/edit/enable/OAuth). Over ACP, prints a read-only Markdown listing of local servers (with runtime status) and session servers provided by the ACP client at session init, plus guidance on where to edit local configs.

/model

Select the main Large Language Model (LLM) to be used by Junie CLI and, for supported models, the reasoning effort level.

Default is the recommended pre-selected option with the best price quality ratio. The model behind the Default option is set dynamically and may change as new models are released.

/new <prompt>

Start another live session. If you provide <prompt>, Junie opens the session with that text in the prompt.

/plan <prompt>

Toggle plan mode. If you provide <prompt>, Junie enables plan mode and submits the prompt immediately.

/remote

Open the current Junie CLI session in a web browser. For details, see Remote Mode.

/review [prompt]

Start a local code review of your changes (compared to main, the last commit, or unstaged changes) before you commit them. If provided, [prompt] adds custom instructions to the selected review target. Requires a git repository.

/settings

Change Junie settings, including theme, notifications, step limit, subagents mode, and diff view mode.

/quit

Exit Junie CLI interactive mode while staying logged in.

/title [name]

Set the title of the current session. If you provide [name], Junie uses it as the session title. If you omit it, Junie auto-generates a title by summarizing the whole conversation. A title you set this way persists across session reloads and is shown in /history, the terminal window title, and task-completion notifications, and it is not overwritten by the agent's automatic name. Alias: /rename.

/update

Check for updates and install if available.

/stats

Show usage statistics for the current session and all-time totals, including token usage, used models, code changes, and (on JetBrains AI) your remaining balance. Aliases: /usage, /cost, /quota, /balance, /credits.

/worktree

Open the worktree menu to create or switch to an isolated Git worktree for parallel file changes. See Parallel sessions and worktrees.

/agent-mode

Choose the session mode: Classic or Chat. The mode is locked after the first prompt of a session.

/compress

Compress the conversation context before the next task, which may discard some information. Alias: /compact.

/goal [message]

Run the task in orchestrated, step-by-step mode (Junie auto-plans if needed). Use /goal stop to leave orchestrated mode. If you provide [message], Junie starts working on it.

/logs

Export the current session logs as a ZIP archive for bug reports. Alias: /export-logs.

/loops [prompt]

Open the loops view to manage recurring scheduled tasks. If you provide [prompt], Junie schedules a recurring task from it. Aliases: /crons, /cron-jobs.

/project-onboarding

Analyze your project and suggest improvements that help the agent work more effectively.

/promo

Activate a promo code for trial tokens.

/pull-request [pr]

Review a pull request or merge request. If you provide [pr], Junie reviews that pull request. Alias: /pr.

/skills

List the agent skills available in the current session.

/voice

Record voice input from your microphone. Aliases: /mic, /record.

You can also add your own slash commands to Junie CLI. For details, see Custom slash commands.

Shortcut

Description

Ctrl+C twice

Quit Junie CLI interactive mode.

!

Run a shell command in the embedded terminal. Example: !ls.

@

Search for a file or folder in your project to attach it to the prompt.

/

Open the slash command suggestion menu.

?

Open the help menu to see all available shortcuts.

Modes and features

Shortcut

Description

Shift+Tab

Cycle through default mode, plan mode, and debug mode (Debug mode appears in the cycle only when it is available).

Ctrl+B

Cycle through the brave mode levels (Off, Auto, On).

Ctrl+R

Search the prompt history.

Ctrl+T

Open subagent tasks.

Ctrl+O

Open the current main or selected subagent transcript using the configured transcript view.

Ctrl+S

Scroll to the bottom of the conversation.

Text editing

Shortcut

Description

Shift+Enter (or Ctrl+J)

Insert a new line in the prompt.

Ctrl+A

Move cursor to the start of the line.

Ctrl+E

Move cursor to the end of the line.

Alt+B

Move cursor one word backward.

Alt+F

Move cursor one word forward.

Ctrl+U

Delete the entire line.

Ctrl+W

Delete the word before the cursor.

10 September 2026