Skip to content

Slash commands

Type / in Forge Code to browse commands, or run /help. Forge Code ships 120 commands in the menu: 72 run on your machine, 14 use your Forge Cloud account, 6 hand a prepared prompt to the model, 19 are bundled skills, and 9 name services that Forge doesn’t offer and say what to use instead. Your own commands go in .forge/commands/<name>.md.

Command Aliases Arguments What it does
/add-dir &lt;path> Add a new working directory
/advisor Let Forge consult a stronger model at key moments
/artifacts Browse your saved artifacts
/auto-mode-setup [--wizard] Teach auto mode about your environment, plus optional rule tweaks
/autocompact `[auto <tokens>]`
/background /bg [prompt] Send this session to the background and free the terminal
/branch [name] Create a branch of the current conversation at this point
/brief Toggle brief-only mode
/btw [question] Ask a quick side question without interrupting the main conversation
/cd &lt;path> Move this session to a new working directory
/clear /reset /new [name] Start a new session with empty context; previous session stays on disk (resumable with /resume)
/color `[red orange
/compact &lt;optional custom summarization instructions> Free up context by summarizing the conversation so far
/config /settings [key=value] Open settings
/context [all] Visualize current context usage as a colored grid
/daemon `[start stop
/diff View uncommitted changes and per-turn diffs
/doctor Diagnose and verify your Forge Code installation and settings
/effort `[low medium
/exit /quit Exit the REPL
/export [filename] Export the current conversation to a file or clipboard
/feedback [report] Send feedback about Forge Code or report a bug
/focus Toggle focus view: just your prompt, summary, and response
/fork &lt;directive> Spawn a background agent that inherits the full conversation
/goal `[<condition> clear]`
/help Show help and available commands
/hooks View hook configurations for tool events
/ide [open] Manage IDE integrations and show status
/import `[codex gemini
/install-github-app Set up Forge Code GitHub Actions for a repository
/keybindings Open your keyboard shortcuts file
/list-agents /peers List subagents, teammates, and other Forge sessions you can message
/logout Remove an API key saved with /login
/loop [interval] &lt;prompt> Run a prompt or slash command on a recurring interval (e.g. /loop 5m /usage)
/loops List, create, and delete loops
/mcp `[reconnect enable
/memory Edit FORGE.md files and memory settings
/model &lt;model> Set the AI model for Forge Code
/output-style [style] List output styles or switch to one
/passes Share guest passes
/pause-memory /memory-pause /toggle-memory Pause or resume loading FORGE.md memory into the conversation
/permissions /allowed-tools Manage allow and deny tool permission rules
/plan `[open <description>]`
/plugin /plugins /marketplace `[install <folder git-url>
/powerup Discover Forge Code features through quick interactive lessons
/privacy-settings View and update your privacy settings
/recap Generate a one-line session recap now
/release-notes View release notes
/reload-plugins [--force] Activate pending plugin changes in the current session
/reload-skills Pick up skills added or changed on disk during this session
/rename /name [name] Rename the current conversation
/restart /update Restart Forge Code and resume this session
/resume /continue [session id or name] Resume a previous conversation
/rewind /checkpoint /undo Restore the code and/or conversation to a previous point
/sandbox Run shell commands in a sandbox (Linux bubblewrap)
/scroll-speed Adjust mouse wheel scroll speed
/setup-bedrock Reconfigure Amazon Bedrock authentication, region, or model pins
/setup-vertex Reconfigure Google Vertex AI authentication, project, region, or model pins
/skill-doctor Show which loaded skills are unused and costing context
/skills List available skills
/status Show Forge Code status including version, model, provider, API connectivity, and tool statuses
/stop Stop this background session; transcript and worktree are kept
/subtask &lt;task> Send a subagent off with your full context; its result comes back here
/tasks /bashes View and manage everything running in the background
/terminal-setup Install Shift+Enter key binding for newlines
/theme Change the theme
/tui `[default fullscreen]`
/ultraplan &lt;prompt> Plan a change in depth with parallel exploration (runs locally in plan mode)
/usage /cost /stats Show session cost, plan usage, and activity stats
/version Show this session’s version
/wellbeing /breaks /break-reminder /downtime Configure optional break reminders and quiet-hours nudges
/workflows Browse running and completed workflows

These work without an account too, and explain what signing in adds. Sign in with /login → Forge Cloud account.

Command Aliases Arguments What it does
/bug /share [report] Report a bug or share your conversation
/cloud-plugins Choose whether cloud sessions use the plugins enabled on this machine
/login [provider] [api-key] Add an API key for Anthropic, OpenAI, Google, xAI, Z.ai, Kimi or DeepSeek
/mobile /ios /android Mobile app
/rate-limit-options Manage usage limits and upgrade options
/remote-control /rc Control this session from another device
/remote-env Choose the default environment for cloud agents
/schedule `[list <interval> <prompt>
/session /remote Show cloud session URL and QR code
/teleport /tp Send this session to the cloud, or resume one
/upgrade Upgrade your plan for higher rate limits
/usage-credits Configure usage credits or request them from your admin when you hit a limit
/voice `[hold tap
/web-setup Set up cloud sessions with your GitHub account
Command Aliases Arguments What it does
/autofix-pr [pr] Monitor and autofix any issues with the current PR
/init Initialize a new FORGE.md file with codebase documentation
/insights Generate a report analyzing your Forge Code sessions
/statusline [what to show] Set up Forge Code’s status line UI
/team-onboarding Help teammates ramp on Forge Code with a guide from your usage
/ultrareview [target] Thorough multi-agent review of the current branch (runs locally with parallel subagents)

Skills load on demand when the model needs them, or when you type their name. Add your own in .forge/skills/<name>/SKILL.md.

Command Aliases Arguments What it does
/artifact-capabilities What a local Forge artifact page can and cannot do, and how to give it data
/artifact-diagramming [what to diagram] When a diagram earns its place, and how to draw one that shows the real mechanism
/batch &lt;what to change across the codebase> Research and plan a large-scale change, then execute it in parallel across several subagents, each owning one slice
/claude-api [question] Reference for building with the Claude API / Anthropic SDK: models, streaming, tool use, caching
/claude-in-chrome [task] Automate a browser to interact with web pages (uses a browser MCP server)
/code-review `[pr branch
/dataviz [data + question] Create a chart, graph, plot or dashboard that is accurate and readable
/debug [what is going wrong] Help diagnose a problem with Forge Code itself (settings, keys, MCP servers, providers)
/design &lt;brief> Make a new design from a brief as a self-contained HTML artifact
/design-sync [source] Sync design tokens between a design file or artifact and the code in this repo
/fewer-permission-prompts Scan your transcripts for common read-only tool calls, then add an allowlist to project settings to reduce permission prompts
/plugin-authoring [plugin name] Create or update a Forge Code plugin: commands, skills, agents, hooks and MCP servers
/run [what to run] Run the project: find how it starts, start it, and report what is running where
/run-skill-generator [skill name] Turn something you just did in this session into a reusable skill
/security-review [target] Complete a security review of the pending changes on the current branch
/simplify [path] Review changed code for reuse, quality, and efficiency, then fix any issues found
/slides &lt;topic or outline> Build a slide deck as a self-contained HTML artifact
/update-config &lt;what to change> Configure Forge Code through settings.json: permissions, hooks, environment variables, and other settings
/verify [what to verify] Verify that a change actually works by running it, not just by reading it
Command Aliases Arguments What it does
/chrome Browser automation settings
/copy [N] Copy Forge’s last response to clipboard (or /copy N for the Nth-latest)
/design-login Authorize design-system access for /design-sync
/desktop /app Continue the current session in a desktop app
/fast `[on off]`
/install [options] Install or update Forge Code
/install-slack-app Install the Slack app
/radio Lo-fi radio
/stickers Order stickers