Slash Commands Reference
Type / during any session to see available commands. Slash commands give you quick access to session management, code tools, model switching, automation, and configuration without leaving the conversation. Autohand Code ships with over 70 built-in commands.
Quick reference
| Command | Description |
|---|---|
/help /? |
Show available commands and tips |
/quit /exit |
Exit Autohand |
/new |
Start a new conversation |
/clear |
Clear conversation with automatic memory extraction |
/model |
Choose what model and reasoning effort to use |
/undo |
Revert the agent’s last file edit and remove the last turn |
/memory |
View, outline, rebuild, and delete project and user memory |
/skills |
Discover and install skills for your project |
/skills use [name] |
Activate a skill |
/skills new |
Create a new skill from a description |
/skills search [query] |
Search community skills |
/skills trending |
Show trending community skills |
/skills install [name] |
Browse and install community skills |
/skills remove [name] |
Remove an installed skill |
/skills info [name] |
Show detailed skill info |
/skills deactivate [name] |
Deactivate a skill |
/learn |
Deep-analyze project for better skill matching |
/learn deep |
In-depth project analysis |
/learn update |
Update existing skill recommendations |
/hooks |
View configured lifecycle hooks |
/mcp |
Connect to a configured MCP server |
/mcp install [name] |
Browse and install community MCP servers |
/plan |
Plan and break down a complex task |
/automode |
Enable interactive auto-mode for this session |
/automode status |
Check auto-mode progress |
/automode pause |
Pause current auto-mode |
/automode resume |
Resume paused auto-mode |
/automode cancel |
Cancel active auto-mode |
/repeat [interval] <prompt> |
Schedule a recurring prompt at a fixed interval |
/repeat list |
Show all active recurring jobs |
/repeat cancel <id> |
Cancel a recurring job by ID |
/cc |
Toggle context compaction on/off |
/status |
Show version, model, API connectivity, and usage |
/about |
Show information about Autohand |
/session |
Show current session details |
/rename <name> |
Name the current session so /sessions and /resume show what it is for |
/sessions |
List saved sessions |
/resume [session-id] |
Resume a previous session |
/history [page] |
Browse paginated session history |
/whatityped |
Pick a message you typed earlier, from any directory, and load it into the composer |
/fork |
Branch a new session from the active session or an earlier user message |
/clone |
Duplicate the active session branch into a new session |
/tree |
Show the fork and clone tree for this project |
/export [format] |
Export session data |
/share |
Share session |
/search |
Configure web search provider |
/agents |
Watch global Autohand session heartbeats |
/agents view |
Inspect this session’s agent runs, results, and usage |
/agents definitions |
List configured sub-agent definitions |
/agents provider [agent] |
Set the default or agent-specific provider and model for team agents |
/agents new |
Create a new sub-agent from a description |
/agents help |
Show agent commands and keyboard controls |
/team /team help |
Show team commands |
/team create <name> |
Create a team |
/team view |
Open the live team activity view |
/team status |
Show team status |
/team shutdown |
Shut down all teammates |
/tasks |
Show team task list with status and owners |
/message [name] [text] |
Send a direct message to a teammate |
/squad |
Open and manage the local Autohand Squad runtime |
/ide |
Connect to a running IDE |
/lint |
List available code linters |
/formatters |
List available code formatters |
/completion [shell] |
Generate shell completion scripts |
/permissions |
Display current permission settings |
/feedback |
Submit feedback about the CLI |
/login |
Sign in to your Autohand account |
/logout |
Sign out of your Autohand account |
/upgrade |
Open the Console to upgrade your Autohand plan |
/sync |
Manage settings sync |
/settings |
Configure Autohand settings |
/browser |
Continue the session in the Autohand browser extension |
/extensions |
Validate, install, inspect, and manage extension packages |
/ps |
List background processes started by the agent |
/stop [index] |
Stop one background process |
/whatsnew |
View and dismiss CLI announcements |
/changelog |
View recent GitHub release notes |
/import [source] |
Import data from other coding agents |
/add-dir [path] |
Add directories to workspace scope |
/theme |
Change terminal color theme |
/language [locale] |
Change display language |
/init |
Create AGENTS.md file |
/statusline |
Configure status line display |
/yolo |
Toggle YOLO mode |
/experiments |
List and toggle Autohand experiments |
/go |
Pair this session with the Autohand Code iOS app for live steering or durable queue mode |
/handoff |
Choose where to hand this session: Autohand Web or the iOS app |
/handoff web |
Continue this conversation in Autohand Web |
/handoff session |
Compatibility mobile handoff command behind experimental_handoff |
/review |
Review your current changes and find issues |
/pr-review [local|staged|<PR>] |
Review the working tree, staged changes, or a pull request with evidence-backed findings |
/deslop [scope] |
Remove unnecessary generated complexity with behavior-preserving tests |
/tester [scope] |
Plan verification and run evidence-driven testing |
/tester run <script> |
Run a package.json test script and save exit and log evidence |
/tester capture <url> [scenario.json] |
Capture localhost browser screenshots, a trace, and an animated WebP |
/deep-research [topic] /deep-search |
Research a topic deeply and save a cited report |
/deep-research status |
Show progress for the active deep research run |
/publish-research <path> |
Validate, preview, and publish a saved research report |
/autoresearch |
Run autonomous experiment loops |
/autoresearch off |
Leave auto-research mode and stop auto-resume |
/autoresearch clear --yes |
Delete session state after explicit confirmation |
/autoresearch export |
Write the experiment dashboard |
/autoresearch finalize |
Write a reviewable finalization plan for kept runs |
/autoresearch status |
Show current session state and stats |
/autoresearch history |
List every attempt, its replayability, and its decision |
/autoresearch replay <id> |
Replay an attempt in an isolated worktree |
/autoresearch rescore <id>|--all |
Append decisions using the current policy |
/autoresearch compare <a> <b> |
Compare two attempts |
/autoresearch pareto |
List advisory non-dominated candidates |
/autoresearch pin <id> unpin <id> |
Protect or release candidate artifacts |
/autoresearch prune [--yes] |
Preview or apply artifact retention |
/setup |
Run the setup wizard |
/tools |
List, inspect, disable, rename, or delete persisted meta-tools |
/goal |
Create, inspect, refine, pause, resume, complete, clear, and queue persistent goals |
/goals |
Open the live goals queue view |
/usage |
Show account limits and token activity by day, week, or month |
/peers |
List peer sessions, send messages, and open your inbox |
Session management
Commands for managing conversations, context, and session history.
/new
Start a fresh conversation. Autohand automatically extracts key facts from the current context into memory before clearing, so nothing important is lost.
/new
# Memory is extracted automatically before reset
# Use when switching to a different task
/clear
Clear the current context with automatic memory extraction. Similar to /new but stays in the same session.
/clear
# Keeps your session but resets the conversation
# Good for freeing up context window space
/session
Show the current session’s ID, name, project, model, message count, and start time.
/session
/rename <name>
Name the current session so /sessions and /resume show what it is for. To switch to another session, use /resume.
/rename auth-refactor
/sessions
List all saved sessions with their names and status.
/sessions
# Output:
# auth-refactor (active)
# bug-fix-123
# docs-update
/resume [session-id]
Resume a previous session by its ID. Restores the full conversation context from where you left off.
# Resume a specific session
/resume abc123
# Resume the most recent session
/resume
/history [page]
Browse your session history in a paginated list. Each entry shows the session ID, date, project path, model used, and message count.
/history
# Browse page 2
/history 2
/whatityped
Open a picker of messages you submitted earlier, across every directory, and load the selected one into the composer so you can edit and resend it. Each entry shows the directory and time it was typed. Requires an interactive terminal.
/whatityped
# ↑↓ select · Enter loads into composer · Esc cancels
/export [format]
Export the current session to a file. Supports markdown, JSON, and HTML formats for sharing or archiving.
/export markdown
/export json
/export html
/share
Generate a shareable link for the current session via autohand.link. Anyone with the link can view the conversation.
/share
# Output: https://autohand.link/s/abc123
/quit
Exit Autohand. Your session is automatically saved before closing.
/quit
# Also: Ctrl+C, Ctrl+D, or type "exit"
/fork
Branch a new session from the active session or from an earlier user message. Useful for exploring an alternative approach without losing your current conversation. /fork is behind the experimental_fork experiment, /clone behind experimental_clone, and /tree needs either one; enable them with /experiments enable <id> (no restart required).
/fork
# Branch from a specific user message
/fork 3
/fork --message 3
/clone
Duplicate the active session branch into a new session. The clone starts with the same context and history as the source.
/clone
# Clone a specific session
/clone abc123
/tree
Show the fork and clone tree for the current project, including which session is currently active.
/tree
# Output:
# - abc123
# - def456 (fork)
# - ghi789 (clone)
Code tools
Commands for working with code, git, and project files.
/undo
Revert the agent’s last file edit and remove the last turn. Other file changes from that turn stay in place. Shell command changes are not undone.
/undo
# Reverts the agent's last file edit and removes the last turn
# Other file changes from that turn stay in place
# Shell command changes are not undone
# Use when you want to try a different approach
/lint
Run your configured project linters and display any issues found. The agent can then help fix the reported problems.
/lint
# Runs eslint, pylint, or whatever is configured
# Agent can fix reported issues automatically
/formatters
List all configured code formatters for each file type in your project.
/formatters
# Shows formatter per file type:
# .ts - prettier
# .py - black
# .go - gofmt
/search
Configure the web search provider Autohand uses for lookups. Supports browser-profile (uses your Chrome/Brave cookies), exa, google, duckduckgo, brave, and parallel. API keys are prompted when needed.
/search
# Interactive provider selector
/search brave
/search exa
/search google
/init
Generate an AGENTS.md file by analyzing your codebase. The file includes project overview, architecture, build commands, and coding conventions.
/init
# Scans your project and creates AGENTS.md
# Includes build commands, architecture, and style
/review
Review your current changes and find issues. Loads the built-in code-reviewer skill and analyzes architecture, security, performance, error handling, and maintainability.
/review
# Focus the review on a specific area
/review check error handling in the auth flow
/pr-review
Run a read-only, staff-level review with evidence-backed findings. With no target it reviews your local working tree (staged and unstaged changes plus untracked source files). Findings are ordered by severity, each with a confidence level, file:line evidence, the triggering condition, user impact, and a suggested fix. The review never edits files, commits, pushes, or posts to GitHub.
| Target | What is reviewed |
|---|---|
local (default) |
Staged and unstaged working-tree changes (git diff HEAD) plus untracked files |
staged |
Only staged changes (git diff --cached) |
<number> |
A pull request in the current repository, via gh pr view and gh pr diff |
https://github.com/<owner>/<repo>/pull/<number> |
A pull request by URL, via gh. The PR is not checked out |
Text after the target becomes an extra focus for the review.
/pr-review
/pr-review staged
/pr-review 123
/pr-review https://github.com/org/repo/pull/123 check the migration for data loss
/pr-review help
If the target has no changes, the review says so and stops rather than picking another branch or pull request.
/deslop [scope]
Remove unnecessary generated complexity, such as redundant wrappers, impossible defensive branches, duplicate logic, misleading comments, or needless abstractions, without changing behavior. With no scope it targets the current working-tree diff; an empty diff means there is nothing to clean up.
For each simplification, Autohand first adds a characterization test and runs it, then makes the smallest verifiable edit and reruns the tests plus the relevant lint, typecheck, and proof commands. It preserves public APIs, error handling, security checks, and unrelated edits, and asks before any behavior change, dependency change, deletion, or broad refactor. It does not commit, push, reformat the whole repository, or delete files without your authorization.
/deslop
/deslop src/billing
/deslop simplify the retry helpers in src/net
/deslop help
/tester
Plan and run evidence-driven verification. Plain /tester turns your acceptance criteria (or the current changes) into observable checks, runs the smallest relevant real tests first, and finishes with an acceptance matrix of passed, failed, and not-run criteria. It uses your installed project tooling only and never downloads packages or browsers.
/tester
/tester checkout flow rejects expired cards
Two subcommands produce retained evidence directly:
# Run a package.json script (120-second limit) and save exit code and log evidence
/tester run test
/tester run test:unit -- --reporter=dot
# Capture a local app with the project's existing Playwright install
/tester capture http://localhost:3000
/tester capture http://localhost:3000 e2e/checkout-scenario.json
capture accepts only localhost URLs. The optional scenario file must be a JSON array (inside the workspace, at most 64 KiB) of click, fill, press, and waitFor steps with selectors. Evidence is written to .autohand/test-evidence/run-*/ as report.md, manifest.json, logs or PNG frames, trace.zip, and an animated WebP.
The agent can capture the same evidence with the capture_test_evidence tool. It takes a localhost url, up to 20 interaction steps, max_frames (2–24, default 6), and timeout_ms (1000–60000, default 30000), and always asks for approval because interactions can change the local app. A capture is evidence, not a passed assertion suite: visual confirmation still requires opening and inspecting the frames.
Model selection
Switch between AI models during a session based on the task at hand.
/model
Open the interactive model picker. Choose a provider (or add a custom one), then a model and its reasoning effort. /model takes no arguments; to start a session on a specific model, use the --model flag instead.
# Pick provider, model, and reasoning effort interactively
/model
# Start a session on a specific model
autohand --model claude-sonnet-5
autohand --model gpt-5.5
The picker lists the models Autohand Code CLI knows for each provider, for example claude-opus-5, claude-sonnet-5, and claude-haiku-4-5 for Anthropic, gpt-5.5 and gpt-5.4-mini for OpenAI, grok-4.5 for xAI, deepseek-v4-pro for DeepSeek, and glm-5.2 for Z.ai. Run autohand update --models to refresh the model catalog.
Agent teams
Commands for managing multi-agent teams that work together on tasks.
/team
Manage the team lifecycle. /team on its own, or /team help, prints the team commands.
# Show team commands
/team help
# Create a new team
/team create my-feature-team
# Open the live team activity view (Cmd+T or Ctrl+T closes it)
/team view
# Show team status
/team status
# Shut down all teammates
/team shutdown
Only one team can be active at a time. Creating a team with the active team’s name reuses it; to create a different one, run /team shutdown first.
/tasks
List and manage team tasks. Shows task status, owner, and dependencies across all teammates.
/tasks
# Task Status Owner
# 1 completed researcher
# 2 in_progress frontend
# 3 pending (unassigned)
/message [name] [text]
Send a direct message to a specific teammate by name. Use this to give instructions or ask for updates.
/message researcher check the auth module tests
/message frontend update the login form styles
/agents
Inspect running agents, list agent definitions, and choose which model team agents use.
# Watch global Autohand session heartbeats (live in a TTY)
/agents
# Print one heartbeat snapshot
/agents --once
# Inspect this session's direct and team agent runs, results, and usage
/agents view
# List configured sub-agent definitions
/agents definitions
# Show agent commands and keyboard controls
/agents help
In /agents view, use ↑/↓ to select a run, Enter for details, m to message the selected worker, c to cancel it (with confirmation), and Esc to go back. Messages are queued for the worker’s next model step.
/agents provider [agent]
Choose the provider and model that team agents use. Without an agent name, the choice becomes the default for all team agents (teams.defaultProvider and teams.defaultModel); with a name, it is saved as an override for that agent only (teams.agentModelOverrides). You pick from your configured providers and confirm before the config is saved.
# Default provider and model for every team agent
/agents provider
# Override for one agent
/agents provider researcher
/agents model is an alias.
/agents new
Create a new sub-agent from a description. Define the agent name, role, tools, and permissions in an interactive setup wizard.
/agents new
# Walks you through agent creation step by step
/squad
Open and manage the local Autohand Squad runtime. Installs the runtime if needed, opens the Squad UI, and reports status.
/squad
# Manage the runtime explicitly
/squad start
/squad status
/squad stop
Skills system
Skills are packages of domain knowledge that expand what the agent can do. They can come from the community registry, your team, or be generated for your project.
/skills
List all available skills from every source - built-in, community, and project-specific.
/skills
# Output:
# frontend-ui - Create polished UI components
# data-analyst - Analyze datasets and visualizations
# sre - Infrastructure and incident response
/skills use [name]
Activate a specific skill for the current session. The agent gains the skill’s knowledge and capabilities immediately.
/skills use frontend-ui
# Activates the skill for this session
/skills new
Create a new custom skill with an interactive wizard. Define the skill name, description, instructions, and example prompts.
/skills new
# Step-by-step skill creation wizard
/skills search [query]
Search for skills in the community registry by name or keyword.
/skills search frontend
# Results from community registry:
# frontend-ui - Build polished UI components
# react-patterns - Modern React patterns and hooks
# tailwind-expert - Tailwind CSS design system
/skills trending
Show the most popular community skills right now.
/skills trending
# Trending skills this week:
# 1. data-analyst +240 installs
# 2. sre +180 installs
# 3. frontend-ui +150 installs
/skills install [name]
Install a community skill from the registry. Without a name, opens the registry browser.
# Install by name
/skills install frontend-ui
# Browse the registry
/skills install
/skills remove [name]
Deactivate and remove an installed skill.
/skills remove old-skill
# Removes the skill from your local config
/learn
Run the LLM-powered skill advisor. Analyzes your project and recommends skills that match your tech stack and workflow.
# Standard recommendation
/learn
# In-depth project analysis
/learn deep
# Update existing recommendations
/learn update
/skills info
Show detailed information about an installed skill, including its description, source, and activation state.
/skills info frontend-ui
# Also works with aliases
/skills show frontend-ui
/skills deactivate
Deactivate a skill without removing it from your config. Useful for temporarily disabling a skill.
/skills deactivate frontend-ui
# Alias
/skills off frontend-ui
Automation
Commands for running the agent in autonomous mode. Auto-mode lets the agent iterate on tasks without waiting for approval at each step.
/automode
Start an autonomous development loop. The agent works through the task on its own, running tools and making edits until the goal is reached.
/automode
# Starts autonomous execution
# The agent works until the task is done
/automode status
Check the current auto-mode progress, including iteration count, cost so far, and elapsed time.
/automode status
# Iteration: 12 | Cost: $0.45 | Time: 3m 20s
/automode pause
Pause the current auto-mode run without canceling it. The agent stops after finishing its current step.
/automode pause
# Pauses after the current step completes
/automode resume
Resume a paused auto-mode run from where it stopped.
/automode resume
# Picks up from the last completed step
/automode cancel
Cancel the active auto-mode run. A changelog of all changes made during the run is generated automatically.
/automode cancel
# Stops the run and generates a changelog
/repeat [interval] <prompt>
Schedule a recurring prompt that runs at a fixed interval. Useful for polling build status, watching deployments, or running periodic health checks.
# Run a prompt every 5 minutes
/repeat 5m check the deploy status and notify me of any errors
# Run every 30 seconds
/repeat 30s run the test suite and report failures
# Default interval is 10 minutes
/repeat check for new PRs that need review
/repeat list
Show all active recurring jobs with their IDs, intervals, and prompts.
/repeat list
# ID Interval Prompt
# 1 5m check the deploy status
# 2 30s run the test suite
/repeat cancel <id>
Cancel a specific recurring job by its ID.
/repeat cancel 1
# Cancels recurring job #1
/ps and /stop [index]
Inspect and stop background shell processes launched by the agent. Process indexes are stable for the current session. With one running process, /stop can omit the index; with several, choose one from /ps.
/ps
/stop 2
/deep-research
Research a topic deeply and save a cited project report under .autohand/research/. The full text after the command is the topic. Autohand chooses an unused topic-<slug>.md path, gathers and cross-checks evidence, writes a self-contained Markdown report, and returns the exact path.
/deep-research Compare Hermes agents and DSPy as of July 2026. \
Use primary sources, connect the findings to this repository, and finish with \
an implementation decision plus rejection reasons.
While a run is active, /deep-research status shows its persisted state, task progress, current tool, evidence and failure counts, report target, tokens, and remaining context. /deep-search is an alias for /deep-research, including /deep-search status. There are no pause or resume subcommands. Read the full /deep-research user manual for scoping, parallel evidence tracks, source quality, artifacts, and completion criteria.
/publish-research <path>
Validate a saved research report, show a preview, and publish it only after you confirm. Requires an interactive terminal.
/publish-research .autohand/research/topic-agent-testing.md
/autoresearch
Run autonomous experiment loops: edit one variable, benchmark, run correctness checks, keep or revert, log the result, and repeat. This is a newer command surface; confirm it appears in /help before relying on it.
/autoresearch optimize unit test runtime
# Control an active session
/autoresearch status
/autoresearch off
/autoresearch export
/autoresearch finalize
/autoresearch clear --yes
# Work with the replayable experiment ledger
/autoresearch history
/autoresearch replay <id> --evaluator current
/autoresearch rescore --all
/autoresearch compare <a> <b>
/autoresearch pareto
/autoresearch pin <id>
/autoresearch prune --yes
Non-interactive aliases are autohand auto-research ... and autohand autoresearch .... Start from a clean branch or dedicated worktree: the loop instructs Autohand to commit kept runs and may hard-reset or check out files when discarding failed experiments. Read the full /autoresearch user manual for flags, metric output, scopes, hooks, artifacts, sub-agent phases, and finalization.
Plan mode
Plan mode separates thinking from doing. The agent first creates a plan using read-only tools, then executes it only after your approval.
/plan
Toggle plan mode on or off. You can also press Shift+Tab, which cycles edit, plan, auto and YOLO modes.
/plan
# Or press Shift+Tab to cycle edit, plan, auto and YOLO modes
# Prompt indicators:
# [PLAN] - Agent is in planning phase (read-only)
# [EXEC] - Agent is executing the approved plan
Plan acceptance options
When the agent presents a plan, you have three choices:
- Auto-accept - Approve and execute immediately
- Manual approve - Review each step before execution
- Clear context and auto-accept - Reset context and run the plan fresh
MCP servers
Commands for managing MCP (Model Context Protocol) servers that extend Autohand with external tools. Supports stdio, SSE, and HTTP transports.
/mcp
Open the interactive server manager. Use arrow keys to navigate and space or enter to toggle servers on or off.
/mcp
# Interactive list:
# > * context7 enabled (12 tools)
# o database disabled
# Up/Down navigate Enter/Space toggle q close
/mcp add
Browse a curated registry of 12+ servers including github, postgres, brave-search, slack, and more. You can also add a custom server by name and command.
# Browse the registry
/mcp add
# Add a specific server from the registry
/mcp add context7
# Add a custom stdio server
/mcp add mydb npx -y @mcp/postgres
# Add an HTTP server with auth header
/mcp add --transport http api https://api.example.com/mcp --header "KEY: val"
/mcp list
List all tools from connected servers, grouped by server name.
/mcp list
# context7 (12 tools)
# resolve-library-id, query-docs, ...
# github (8 tools)
# create-issue, list-prs, ...
/mcp connect / disconnect [name]
Connect to or disconnect from a configured server without removing it from your config.
/mcp connect github
/mcp disconnect database
/mcp install [name]
Install a new MCP server. Browse the curated registry or install by name.
# Browse the registry
/mcp install
# Install a specific server
/mcp install brave-search
/mcp remove [name]
Remove a server from your config and disconnect it.
/mcp remove old-server
Context and memory
Commands for managing what the agent knows about your project and what it remembers across sessions.
/memory
View and manage persistent memories. Memory stores key facts, decisions, and preferences that carry over between sessions.
/memory
# Shows stored facts like:
# - Project uses TypeScript with strict mode
# - Prefer functional components over class
# - Deploy target is AWS Lambda
# Explore and maintain memory
/memory outline project
/memory zoom project <snapshot> <node>
/memory forget project [snapshot]
/memory rebuild project
/memory delete project <memory-id>
Replace project with user for personal memory. See Memory System.
/add-dir [path]
Add a directory to the workspace context. Useful for monorepos or when you need the agent to see files outside the current working directory.
# Add a shared library
/add-dir ./packages/shared
# Add a sibling project
/add-dir ../api-server
/cc
Toggle automatic context compaction. When enabled, the conversation history is compressed as it grows, keeping you within model context limits.
/cc
# Status bar shows [CC: ON] or [CC: OFF]
IDE integration
Connect Autohand to your editor for a tighter development loop.
/ide
Detect running IDEs that have the current workspace open. Supports VS Code, Cursor, Zed, and Antigravity. Shows extension installation hints with marketplace links if needed.
/ide
# Detected: VS Code (workspace open)
# Extension: Install from marketplace
# https://marketplace.visualstudio.com/...
Settings and personalization
Commands for customizing your Autohand experience.
/theme
Switch between terminal color themes.
/theme
# Cycles through available color themes
/language [locale]
Change the display language. Supports 16 locales including en, es, fr, de, ja, ko, zh, pt, it, and ru.
# Interactive language selector
/language
# Switch directly to Japanese
/language ja
/permissions
View and manage tool permission settings. Control what the agent can do with files, commands, and network requests.
/permissions
# File operations: allowed
# Shell commands: ask
# Network requests: blocked
/completion [shell]
Generate shell completion scripts for bash, zsh, or fish. Add the output to your shell config for tab completion of all commands.
/completion bash
/completion zsh
/completion fish
/sync
Configure settings sync across devices. Syncs your preferences, skills, and configuration through your Autohand account.
/sync
# Toggle sync and choose what gets synced
/search
Configure the web search provider Autohand uses for lookups. Supports browser-profile (uses your Chrome/Brave cookies), exa, google, duckduckgo, brave, and parallel. API keys are prompted when needed.
/search
# Interactive provider selector
/search brave
/search exa
/search google
/settings
Open the settings configurator. Organize options by category: ui, agent, permissions, network, telemetry, automode, teams, and search.
/settings
# Interactive settings editor with categories
/statusline
Configure what appears in the composer status line, such as provider and model, context remaining, git branch, queued requests, and active-turn metrics.
/statusline
# Toggle items interactively
/yolo
Toggle YOLO mode to auto-approve all non-blacklisted tool calls. Run again to disable it and return to interactive approval.
/yolo
# Toggles on/off
# Security blacklist still applies
/experiments
List and toggle Autohand experiments (feature flags). Some experiments require a restart to take full effect.
/experiments
/experiments list
/experiments status experimental_fork
/experiments enable experimental_fork
/experiments disable experimental_fork
/experiments refresh
/experiments and /experiments list open an interactive picker. status <id> shows an experiment’s stage, default, current value, and config path. refresh reloads experiments delivered to your account remotely, which can appear in the list alongside the built-in ones. Each toggle is saved to the config path shown below, so you can also set it in your config file.
Available experiments
These built-in experiments can be toggled with /experiments enable <id> and /experiments disable <id>:
| ID | Default | Config path | What it does |
|---|---|---|---|
automatic_specialists |
On | features.automaticSpecialists |
Resolves and runs explicitly requested specialist rosters before the lead turn. Restart required |
teams |
On | teams.enabled |
Multi-agent team commands and teammate execution |
cli_usage_v2 |
On | features.cliUsageV2 |
Token activity dashboard for /usage daily, weekly, and monthly |
aws_bedrock_provider |
On | features.awsBedrockProvider |
AWS Bedrock as a first-class model provider. Restart required |
idle_logout |
On | agent.idleLogoutEnabled |
Ends authenticated interactive sessions after an idle timeout |
slash_goal |
Off | features.slashGoal |
Persistent goals across /goal, /goals, --goal, tools, RPC, and ACP |
prompt_caching |
Off | features.promptCaching |
Attaches verified provider-native cache affinity to eligible agent requests |
read_state_ledger |
Off | features.readStateLedger |
Records exactly which file content the model has seen in the active session. Restart required |
read_state_dedup |
Off | features.readStateDedup |
Replaces eligible repeated reads of unchanged files with a short stub; implies the read-state ledger. Restart required |
read_before_write |
Off | features.readBeforeWrite |
Requires a complete, unchanged, model-visible read of a file before direct edits to it; implies the ledger and dedup. Restart required |
experimental_browser_tools_v2 |
Off | features.experimentalBrowserToolsV2 |
Negotiated snapshot refs, deterministic waits, and dedicated form automation for Chrome browser tools. Restart required |
experimental_fork |
Off | features.experimentalFork |
Enables /fork |
experimental_clone |
Off | features.experimentalClone |
Enables /clone |
experimental_handoff |
Off | features.experimentalHandoff |
Enables /handoff session |
token_usage_status |
Off | features.tokenUsageStatus |
Real-time token usage and context occupancy in the status line |
usage_v2 |
Off | features.usageV2 |
The v2 usage dashboard with model, provider, context, and limit details |
chrome_integration |
Off | chrome.enabledByDefault |
Starts the browser bridge by default for Chrome extension handoff. Restart required |
/experiments list also shows stable toggles such as mcp, hooks, community_skills, prompt_suggestions, request_queue, thinking_display, completion_notifications, terminal_bell, tool_selection_cache, and telemetry. Set AUTOHAND_DISABLE_STATEFUL_READ=1 to turn off all three read-state experiments for a process.
Integrations
Commands for connecting Autohand with external tools and importing data.
/browser
Hand off the current session to the Autohand browser extension. The command supports Chrome, Chromium, Brave, and Edge through the native messaging bridge.
/browser
# Disconnect and disable the current bridge
/browser disconnect
/extensions
Operate Code extension packages without leaving the session. Declarative packages can contribute tools, agents, and skills; reviewed packages may also load a compiled runtime when installed with explicit trust.
/extensions list
/extensions show autohand.workspace-brief
/extensions validate ./my-extension
/extensions install ./my-runtime-extension --trust
/extensions doctor
See the Extension API reference for manifests, runtime registrations, security boundaries, and lifecycle behavior.
/import [source]
Import configurations, agents, skills, and memory from other coding tools. Supports claude, codex, gemini, cursor, cline, continue, and augment.
# Interactive import wizard
/import
# Import from a specific tool
/import claude
/import cursor
# Preview what will be imported
/import --dry-run
/go
/go is the canonical mobile-pairing command. Sign in with /login, start an active session, and keep the CLI open while you want live relay control. The command prints a camera-safe QR code, pairing URL, project and session identity, relay mode, and expiry.
/go
# Queue-only mode
/go --queue
# Live steer mode
/go --steer
Plain /go defaults to live steering in an interactive CLI and to queue mode when the current surface cannot accept live instructions. Phone and terminal prompts share one ordered work stream. See Continue Autohand Code from your iPhone for mobile commands, approvals, exact historical-session resume, delivery status, and relay safeguards.
/handoff web
Continue the current conversation in Autohand Web. Sign in with /login first. The command uploads a private transfer of your visible conversation (user and assistant messages and embedded images, not tools, reasoning, or runtime configuration), prints the link, and opens it in your browser. The transfer expires in 24 hours, and your local session stays available.
/handoff web
# Also carry the repository's changes
/handoff web --workspace
# Always start a new Web conversation instead of resuming the one this session came from
/handoff web --new
# Print the link without opening a browser
/handoff web --no-open
/handoff on its own lists the available targets (web and session).
/handoff session
This compatibility command remains available for older workflows behind the experimental_handoff feature flag. Prefer /go for new mobile pairing flows.
/handoff session
# Enable first if needed
/experiments enable experimental_handoff
Authentication
Commands for managing your Autohand account.
/upgrade
Open the Console to upgrade your Autohand plan. Use it for account upgrades; use the shell command autohand update to update the installed CLI.
/upgrade
/login
Authenticate with Autohand. Opens your browser for an OAuth flow and stores credentials locally.
/login
# Opens browser for authentication
# Credentials stored in ~/.autohand/auth
/logout
Sign out from Autohand and clear stored credentials.
/logout
# Clears stored credentials
System
Commands for information, diagnostics, and feedback.
/help
Show all available commands with descriptions, including any custom commands you have defined.
/help
# Lists every built-in and custom command
/status
Show Autohand status, including version, model, API connectivity, and usage.
/status
# Model: claude-sonnet-5
# Tokens: 12,450 / 200,000
# Tools: 23 active
# Mode: interactive
/about
Show the Autohand Code CLI version (with the build commit when known), links to the website, GitHub, and docs, and ways to contribute feedback or report issues.
/about
# Autohand v0.9.8 (abc1234)
# Autonomous AI-powered coding agent
/whatsnew
Refresh the active CLI announcements, mark them as seen, and let you dismiss individual notices.
/whatsnew
/changelog
Fetch and display recent Autohand Code release notes from GitHub. This is a network-backed command and can report an unavailable result when offline.
/changelog
/hooks
Browse lifecycle hooks and create new ones in plain English. Hooks run automatically on events such as pre-tool, post-tool, file-modified, stop, and session-end; use /hooks list for the full event table and /hooks manage to toggle, test, remove, or add config hooks. See the Hooks Reference.
/hooks list
# Event Installed Active Description
# pre-tool 1 1 Before a tool executes
# file-modified 1 1 When files are changed
# session-end 1 1 When a session ends
/feedback
Submit feedback to the Autohand team. Report bugs, request features, or share what is working well.
/feedback
# Opens an inline form to submit feedback
/usage
Show account limits and token activity by day, week, or month. The daily view covers the past 12 months, the weekly view covers the past 52 weeks, and the monthly view covers the past 12 months. When you are using hosted Autohand, it also shows the plan and currently enforceable allowance or throughput windows.
/usage
/usage daily
/usage weekly
/usage monthly
/peers
Show the other active Autohand Code sessions in the current workspace. By default this is a read-only view that can include each session’s model, provider, mode, status, context use, activity, and reported paths.
/peers
# No active peers in this workspace.
When local session communication is enabled (sessions.communication.enabled: true), /peers also lets sessions message each other:
/peers list [workspace|repository|machine]
/peers send <peer-id> <message>
/peers inbox
/peers reply <message-id> <message>
/peers status <message-id>
In the composer, type : to pick a peer.
/setup
Run the setup wizard to configure or reconfigure Autohand. Walks through provider, model, API key, permissions, telemetry, and advanced settings.
/setup
# Re-run any time to update configuration
/tools
List, inspect, disable, rename, or delete persisted meta-tools. Meta-tools are custom tools you or the agent have defined.
/tools list
/tools show my_tool
/tools doctor
/tools disable my_tool
/tools enable my_tool
/tools rename my_tool my_tool_v2
/tools delete my_tool
/goal and /goals
Create, inspect, refine, pause, resume, complete, clear, and queue persistent goals. Goals include a completion contract with proof, boundaries, and a stop rule. Goals are behind the slash_goal experiment; run /experiments enable slash_goal first.
# Set a goal (queued automatically if another goal is active)
/goal make every CLI error message actionable
# Draft a stronger goal through a short interview
/goal writer
# Open the live goals queue view (Cmd+G or Ctrl+G closes it)
/goal view
/goals
# Manage the queue
/goal queue
/goal queue <objective>
/goal edit <goal-or-queue-id> <objective>
# Lifecycle
/goal pause
/goal resume
/goal complete
/goal clear
/goals is the same command as /goal, except that with no arguments it opens the live view. Every subcommand works with either name, for example /goals queue or /goals pause.
| Subcommand | What it does |
|---|---|
| (none) | Starts the next queued goal when nothing is running, opens the goal writer when you have no goals, and otherwise shows the current goal and queue |
<objective> |
Creates a goal, or queues it behind the active goal |
writer [rough goal] |
Starts the built-in goal-writer interview (aliases write, refine). Interactive sessions only |
view |
Opens the live goals view; in non-interactive surfaces it prints a snapshot |
edit <id> <objective> |
Rewrites the objective of the active or a queued goal |
queue [objective] |
Lists queued goals, or enqueues a new one |
pause / resume |
Pauses the current goal, or resumes it. resume starts the next queued goal when the current one is complete |
complete [evidence JSON] |
Marks the current goal complete, optionally with completion evidence |
blocked <JSON> / waiting <JSON> |
Stops with a reason and resumption condition, or waits for an external condition |
checkpoint <JSON> |
Saves progress and the next step |
clear |
Clears the current goal |
recover [session-id] |
Restores an offline goal’s conversation without starting work |
repair |
Restores damaged goal storage from its validated backup |
templates |
Lists reusable templates from .pi-goals/ or .ai/.pi-goals/ |
Custom commands
Create your own slash commands for prompts you use often.
Creating custom commands
Custom commands are Markdown files stored in specific directories:
- Project commands:
.autohand/commands/- Available only in the current project - Personal commands:
~/.autohand/commands/- Available in all projects
# .autohand/commands/explain.md
Explain the provided code clearly:
- Summarize what it does
- Highlight key logic and data flow
- Call out assumptions or edge cases
- Suggest improvements when relevant
Focus on: $ARGUMENTS
Use the command:
/explain authentication logic
# Runs the explain prompt with "authentication logic" as $ARGUMENTS
Command variables
$ARGUMENTS- Text passed after the command name@filename- Include contents of a file!command- Run a shell command and include output
Tips and tricks
Command autocomplete
Type / anywhere in your input to see available commands. Autocomplete works at any cursor position, not just the start of the line.
Chaining commands with text
You can combine slash commands that take arguments with natural language in the same input:
/review check error handling in the auth flow
/pr-review staged focus on the new migration
Pipe mode
You can pipe output from any shell command directly into Autohand for analysis:
git diff | autohand "explain these changes"
cat error.log | autohand "what went wrong?"
Quick context switch
When switching tasks, use /new to start fresh rather than continuing with stale context:
/new
Now let's work on the authentication bug...
Frequently asked questions
What slash commands does Autohand support?
Autohand ships with over 70 built-in slash commands. Key commands include /model for switching AI models, /automode for autonomous loops, /skills for workflow packages, /mcp for external tool servers, /team for multi-agent coordination, /memory for persistent context, /plan for read-only exploration, and /repeat for recurring tasks.
How do I create a custom slash command in Autohand?
Create a markdown file in .autohand/commands/ (project-level) or ~/.autohand/commands/ (personal). Name the file after your command, such as review.md. Inside, write the prompt text. Use $ARGUMENTS for user input, @filename to include file contents, and !command to embed shell output. The command is available immediately as /review.
How do I use auto-mode with slash commands?
Type /automode followed by your task description to start an autonomous loop. Use /automode status to check progress, /automode pause to halt the loop, /automode resume to continue, and /automode cancel to stop. The agent works through the task on its own until the goal is reached or limits are hit.