Using Atomic
This page collects day-to-day usage details that do not fit on the quickstart page.Interactive Mode

- Startup header - shortcuts, loaded context files, prompt templates, skills, and extensions
- Messages - user messages, assistant responses, tool calls, tool results, notifications, errors, and extension UI
- Editor - where you type; border color indicates the current thinking level
- Footer - working directory, session name, token/cache usage, cost, context usage, and current model
/settings or by custom extension UI.
Editor Features
| Feature | How |
|---|---|
| File reference | Type @ to fuzzy-search project files |
| Path completion | Press Tab to complete paths |
| Multi-line input | SHIFT+Enter, or CTRL+Enter on Windows Terminal |
| Images | Paste with CTRL+V, ALT+V on Windows, or drag into the terminal |
| Shell command | !command runs and sends output to the model |
| Hidden shell command | !!command runs without sending output to the model |
| External editor | CTRL+G opens $VISUAL or $EDITOR |
Slash Commands
Type/ in the editor to open command completion. Extensions can register custom commands, skills are available as /skill:name, and prompt templates expand via /templatename.
| Command | Description |
|---|---|
/login, /logout | Manage OAuth or API-key credentials |
/model | Switch models |
/scoped-models | Enable/disable models for CTRL+P cycling |
/fast | Toggle Codex fast mode for chat and workflow stages when openai/* or openai-codex/* models are available |
/workflow | List/run workflows; manage runs (connect/inspect/pause/interrupt/resume/kill); reload workflow resources |
/settings | Thinking level, theme, message delivery, transport |
/resume | Pick from previous sessions |
/new | Start a new session |
/name <name> | Set session display name |
/session | Show session file, ID, messages, tokens, and cost |
/tree | Jump to any point in the session and continue from there |
/fork | Create a new session from a previous user message |
/clone | Duplicate the current active branch into a new session |
/compact [prompt] | Manually compact context, optionally with custom instructions |
/copy | Copy last assistant message to clipboard |
/export [file] | Export session to HTML |
/share | Upload as private GitHub gist with shareable HTML link |
/reload | Reload keybindings, extensions, skills, prompts, and context files |
/hotkeys | Show all keyboard shortcuts |
/changelog | Display version history |
/exit | Exit Atomic |
/quit | Quit Atomic |
Message Queue
You can submit messages while the agent is still working:- Enter queues a steering message, delivered after the current assistant turn finishes executing its tool calls.
- ALT+Enter queues a follow-up message, delivered after the agent finishes all work.
- Escape aborts and restores queued messages to the editor.
- ALT+Up retrieves queued messages back to the editor.
steeringMode and followUpMode.
Sessions
Sessions are saved automatically to~/.atomic/agent/sessions/, organized by working directory.
/sessionshows the current session file and ID./treenavigates the in-file session tree and can summarize abandoned branches./forkcreates a new session from an earlier user message./cloneduplicates the current active branch into a new session file./compactsummarizes older messages to free context.
Context Files
Atomic loadsAGENTS.md or CLAUDE.md at startup from:
~/.atomic/agent/AGENTS.mdfor global instructions- parent directories, walking up from the current working directory
- the current directory
--no-context-files or -nc.
System Prompt Files
Replace the default system prompt with:.atomic/SYSTEM.mdfor a project~/.atomic/agent/SYSTEM.mdglobally
APPEND_SYSTEM.md in either location.
Exporting and Sharing Sessions
Use/export [file] to write a session to HTML.
Use /share to upload a private GitHub gist with a shareable HTML link.
If you use Atomic for open source work and want to publish sessions for model, prompt, tool, and evaluation research, see badlogic/pi-share-hf. It publishes sessions to Hugging Face datasets.
CLI Reference
Package Commands
Modes
In print mode, Atomic also reads piped stdin and merges it into the initial prompt:
Model Options
| Option | Description |
|---|---|
--provider <name> | Provider, such as anthropic, openai, or google |
--model <pattern> | Model pattern or ID; supports provider/id and optional :<thinking> |
--api-key <key> | API key, overriding environment variables |
--thinking <level> | off, minimal, low, medium, high, xhigh |
--models <patterns> | Comma-separated patterns for CTRL+P cycling |
--list-models [search] | List available models |
Session Options
| Option | Description |
|---|---|
-c, --continue | Continue the most recent session |
-r, --resume | Browse and select a session |
--session <path|id> | Use a specific session file or partial UUID |
--fork <path|id> | Fork a session file or partial UUID into a new session |
--session-dir <dir> | Custom session storage directory |
--no-session | Ephemeral mode; do not save |
Tool Options
| Option | Description |
|---|---|
--tools <list>, -t <list> | Allowlist specific built-in, extension, and custom tools |
--no-builtin-tools, -nbt | Disable built-in tools but keep extension/custom tools enabled |
--no-tools, -nt | Disable all tools |
read, bash, edit, write, ask_user_question, todo. Additional built-in read-only tools are available through tool options: grep, find, ls.
Resource Options
| Option | Description |
|---|---|
-e, --extension <source> | Load an extension from path, npm, or git; repeatable |
--no-extensions | Disable extension discovery |
--skill <path> | Load a skill; repeatable |
--no-skills | Disable skill discovery |
--prompt-template <path> | Load a prompt template; repeatable |
--no-prompt-templates | Disable prompt template discovery |
--theme <path> | Load a theme; repeatable |
--no-themes | Disable theme discovery |
--no-context-files, -nc | Disable AGENTS.md and CLAUDE.md discovery |
--no-* with explicit flags to load exactly what you need, ignoring settings. Example:
Other Options
| Option | Description |
|---|---|
--system-prompt <text> | Replace default prompt; context files and skills are still appended |
--append-system-prompt <text> | Append to system prompt |
--verbose | Force verbose startup |
-h, --help | Show help |
-v, --version | Show version |
File Arguments
Prefix files with@ to include them in the message:
Examples
Environment Variables
| Variable | Description |
|---|---|
ATOMIC_CODING_AGENT_DIR | Override config directory; default is ~/.atomic/agent |
ATOMIC_CODING_AGENT_SESSION_DIR | Override session storage directory; overridden by --session-dir |
ATOMIC_PACKAGE_DIR | Override package directory, useful for Nix/Guix store paths |
ATOMIC_OFFLINE | Disable startup network operations, including update checks, package update checks, and install/update telemetry |
ATOMIC_SKIP_VERSION_CHECK | Skip the Atomic version update check at startup. This prevents the latest-version request |
ATOMIC_TELEMETRY | Override install/update telemetry: 1/true/yes or 0/false/no. This does not disable update checks |
PI_CACHE_RETENTION | Provider/upstream-specific prompt-cache retention knob; set to long where supported |
VISUAL, EDITOR | External editor for CTRL+G |
PI_* aliases are also supported for app-specific ATOMIC_* variables for legacy compatibility. PI_CACHE_RETENTION is not one of those aliases and has no ATOMIC_* equivalent. Use PI_CACHE_RETENTION=long when configuring prompt-cache retention for providers/upstreams that support long-lived caches.