Codeep

Commands

Codeep has 115 slash commands. Type /help inside Codeep for the same list — this page is generated from it, so the two cannot disagree.

★
Commands can be chained with + — for example /commit+push. Aliases are shown in brackets: /commit (/c).

General

CommandDescription
/helpShow this help
/statusCurrent status
/settingsOpen settings
/versionShow version
/updateCheck for updates
/costToken usage and estimated cost this session, per provider and model, with prompt-cache savings
/statsDetailed session view — per-model breakdown, plan-aware totals, prompt-cache reads and writes, and the per-1M pricing table
/usage [--days N]What Codeep has used across sessions, from its local usage ledger — today, the last 7 days, all time and tokens by model, with the days listed for --days N. The same figures as codeep usage in the shell, which also prints JSON with --json
/clearClear chat
/exitQuit application

Sessions

CommandDescription
/sessionsList and load sessions
/newStart new session
/rename <name>Rename current session
/search <term>Search the current session
/recall <query>Search across all saved sessions, ranked by relevance and recency
/recall … --resumeLoad the top-matching session directly, skipping the picker
/recall … --summarizeLLM recap of what you did across matches
/cloudList and resume sessions synced from other devices
/export [md|json|txt]Export chat
/compact [keepN]AI-summarize older messages to free up context, keeping the last N (default 4)

Checkpoints (2.0)

CommandDescription
/checkpoint [name]Snapshot conversation + provider/model + git HEAD
/checkpointsList saved checkpoints in this workspace
/rewind <id>Restore a checkpoint — conversation and provider/model; files roll back via the git command printed afterwards
/checkpoint delete <id>Delete a saved checkpoint

Before a risky multi-step refactor (or when the agent starts going off the rails), save a named snapshot of the conversation. Restore it later if things go sideways. File rollback is delegated to git — Codeep prints the exact git checkout command after rewind.

/checkpoint before-auth-refactor    # save snapshot
/checkpoints                        # list saved checkpoints
/rewind ck-2026-05-18-a1b2c3d4      # restore conversation + provider/model
/checkpoint delete ck-...           # remove a snapshot

Snapshots include: full conversation history, current provider + model, the list of files the agent touched in this session, and (if cwd is a git repo) the short SHA of HEAD at checkpoint time. Stored under .codeep/checkpoints/<id>.json in your project.

★
Checkpoints don't snapshot file content — by design. Use git stash or the suggested git checkout <sha> -- <file> printed after rewind to roll files back.

Agent Mode

CommandDescription
/agent <task>Run agent with task
/agent-dry <task>Dry run (no changes)
/plan <task>Generate a plan first — review before /go executes
/goExecute the pending plan from /plan
/stopStop running agent
/undoUndo last agent action
/undo-allUndo all agent actions
/historyShow agent history
/changesShow session changes

Git & Project

CommandDescription
/diffReview git diff with AI
/diff --stagedReview staged changes
/commit (/c)Generate commit message
/git-commit <msg>Commit with message
/push (/p)Git push
/pullGit pull
/amendAmend last commit
/branchCreate/manage branches
/stashStash changes
/unstashApply and drop the most recent stash
/prCreate a pull request description
/changelogGenerate changelog from recent commits
/initInitialize project (.codeep/ folder)
/scanScan project structure
/memory <note>Add note to project intelligence
/memory listShow all memory notes
/memory remove <n>Remove note by index
/memory clearClear all memory notes
/reviewAI review of unstaged git changes (not full codebase)
/review --stagedAI review of staged git changes
/review --staticStatic analysis — changed files, or whole src/ if clean
/review <file>Static analysis of specific file(s)

Project intelligence

Initialize a project, scan it once to give the AI deep context about its structure, frameworks, and conventions. Use /memory to add your own notes — they are included in every AI and agent conversation and synced to the dashboard.

★
Example notes: /memory Always use pnpm, never npm or /memory Main entry point is src/renderer/main.ts

Code Operations

CommandDescription
/copy [n]Copy code block to clipboard
/pastePaste from clipboard
/applyApply file changes from AI
/add <path>Add file to context
/drop [path]Remove file (or all) from context
/multilineToggle multi-line input mode

Skills (Shortcuts)

CommandDescription
/test (/t)Generate/run tests
/test-fixFix failing tests
/coverageRun/analyze test coverage
/e2eGenerate end-to-end tests
/mockGenerate mock data for testing
/docs (/d)Open web docs for a command
/readmeGenerate or update README
/api-docsGenerate API documentation
/refactor (/r)Improve code quality
/fix (/f)Debug and fix issues
/explain (/e)Explain code
/optimize (/o)Optimize performance
/debug (/b)Debug problems
/securitySecurity audit (SQLi, XSS, secrets, auth)
/typesAdd or improve TypeScript types
/cleanupClean up code (remove unused, format)
/modernizeUpdate code to use modern syntax
/migrateMigrate code to newer version
/splitSplit a large file into smaller modules
/logAdd logging to code
/translateTranslate code comments to English
/skillsList all skills
/skills <query>Search skills by keyword
/skills bundlesList skill bundles (project + global)
/skills create-bundle <name>Scaffold a bundle in .codeep/skills/
/skills show <name>Print a bundle's SKILL.md
/skills browse [query]Search the marketplace at codeep.dev/skills
/skills install <owner>/<slug>Install a marketplace bundle into the project
/skills publish <name> [--public]Share a bundle to codeep.dev
/skills unpublish <owner>/<slug>Remove a bundle you published

Code Generation

CommandDescription
/component <name>Generate UI component
/api <name>Generate API endpoint
/hookGenerate a React hook
/serviceGenerate a service/utility module
/pageGenerate a new page/route
/formGenerate a form with validation
/crudGenerate full CRUD for an entity
/dockerGenerate Dockerfile + compose
/ciGenerate CI/CD configuration
/envSetup environment configuration
/k8sGenerate Kubernetes manifests
/terraformGenerate Terraform configuration
/nginxGenerate Nginx configuration
/monitorAdd monitoring and observability
/buildBuild the project
/deployBuild and deploy
/releaseCreate a new release
/publishPublish package to npm

Settings

CommandDescription
/providerChange AI provider
/modelChange model
/model <name>Load saved profile (e.g. /model fast)
/protocolSwitch API protocol
/langSet response language
/grantGrant write permission
/loginLogin with API key
/logoutLogout from provider
/profile save <name>Save current provider+model as profile
/profile load <name>Load a saved profile
/profile listList saved profiles
/profile delete <name>Delete a saved profile
/openrouterOpenRouter routing preferences: show, prefer or ignore upstream providers, fallbacks on/off, privacy strict/allow, clear
/personalityList personalities and custom bots with model, tools, and scope
/personality <name>Activate a personality or custom bot. /personality off to clear.
/meYour user profile — reply language, style, stack — injected into every run on every surface
/me init [project]Scaffold a profile template (global, or for this project). /me off to disable
/me learn [on|off]Learn durable prefs from this session now; on/off toggles auto-learn. /me forget clears it
/me syncPush your profile to the codeep.dev dashboard (and pull on a fresh machine)
/agentsList the sub-agents the agent can delegate to — planner, researcher, reviewer, tester, or your own in .codeep/agents/
/insights [--days N]Activity summary — runs, files, tools, projects over the last N days (default 7)
/telegramSet up answering confirmations on your phone
/telegram on|offTurn Telegram approvals on or off
/auditWhat agents did here — runs, tools, and what the boundary refused
/audit on|offTurn the project audit record on or off

Thinking

CommandDescription
/thinking (/effort)Show the thinking tier and what this model supports
/thinking <auto|low|medium|high|max>Set the reasoning-effort tier. Auto uses each model's own default; other tiers are clamped to the levels the current provider and model actually distinguish, so an unsupported value is never sent. Models with no graded control ignore it.

Extensions & MCP (2.0)

CommandDescription
/mcpList connected MCP servers + their tools
/mcp browse [id]Browse the MCP marketplace, or show one server
/mcp install <id> [args]Install a marketplace server into this project
/mcp add <name> <cmd>Add a custom MCP server (npx, binary, etc.)
/mcp remove <name>Remove a project-scoped MCP server
/mcp reloadRe-read .codeep/mcp_servers.json (after manual edit)
/mcp resourcesList resources exposed by connected servers
/mcp read <uri>Read one MCP resource
/mcp promptsList prompt templates exposed by servers
/mcp prompt <server> <name>Materialize a prompt with arguments (key=value)
/hooksList installed lifecycle hooks (.codeep/hooks/<event>.sh)
/commandsList custom slash commands (.codeep/commands/*.md)
/web-cacheShow @web fetch cache stats
/web-cache clearClear the @web fetch cache

Cloud & Account

CommandDescription
/accountShow whether this machine is linked to codeep.dev. Linking runs in your shell as codeep account, and the approval link it prints can be opened on any device where you are already signed in
/tasksList codeep.dev tasks
/tasks add <title> [--bug|--feature] [--desc <text>]Create a task on the dashboard
/tasks done <n>Mark task #n as done
/tasks delete <n>Delete task #n
/syncSync learning preferences and profiles to codeep.dev
/sync learningSync only learning preferences
/sync profilesSync only saved profiles
/telemetry [on|off]Show or toggle automatic cloud telemetry
/keysync [on|off]Show or toggle syncing API keys to codeep.dev. Off by default — keys stay in your OS keychain unless you opt in

Context

CommandDescription
/context-saveSave conversation
/context-loadLoad conversation
/context-clearClear saved context
/learnLearn code preferences
/learn statusShow learned prefs
/learn rule <text>Add custom rule

Ollama (Local AI)

CommandDescription
/providerSelect "ollama" for local models
/settings > Ollama URLSet URL (default: http://localhost:11434)
/modelPick installed Ollama model dynamically
/model pull <model>Pull an Ollama model (local Ollama only)
/model browseBrowse recommended local coding models and pull one
/model rm <model>Remove a locally-installed Ollama model (local only)
OLLAMA_HOST=0.0.0.0Required env var for remote Ollama access

Lifecycle Hooks

Drop executable shell scripts in .codeep/hooks/<event>.sh and Codeep runs them at the relevant moment during a session. Use them to enforce policy (block writes to certain paths), auto-format edits, run lint gates before commit, or log every tool call to your own pipeline.

EventWhenBlocking?
pre_tool_callBefore every agent tool call (built-in or MCP)Yes — non-zero exit blocks the call
post_editAfter write_file / edit_file succeeds (built-in only)No (advisory)
on_errorWhen any tool call fails (built-in or MCP)No (logging)
pre_commitBefore /commit stages anythingYes — non-zero exit blocks the commit

Each hook receives these environment variables:

CODEEP_HOOK_EVENT     # event name
CODEEP_WORKSPACE      # workspace root absolute path
CODEEP_SESSION_ID     # current session id
CODEEP_HOOK_TOOL      # tool name (pre_tool_call, on_error, post_edit)
CODEEP_HOOK_PARAMS    # JSON-encoded tool parameters (pre_tool_call, on_error)
CODEEP_HOOK_FILE      # absolute file path (post_edit only)

Example — auto-format on every edit:

#!/bin/bash
# .codeep/hooks/post_edit.sh
prettier --write "$CODEEP_HOOK_FILE" 2>/dev/null
⚠
Hooks are arbitrary shell that runs whenever an agent tool fires. Codeep shows a warning banner on session start if hooks are installed — for the same reason we don't read hooks from a global ~/.codeep/hooks/ directory (only project-scoped, so cloning a hostile repo at least flashes the warning before scripts can run).

Custom Slash Commands

Drop a Markdown file in .codeep/commands/<name>.md (project-scoped) or ~/.codeep/commands/<name>.md (global, all projects) and Codeep exposes it as /<name> — in the TUI, the VS Code extension, and any other ACP client (Zed). The file's body becomes the user prompt; the agent handles it normally.

Example: a security review template

Save the following as .codeep/commands/sec-review.md:

---
description: Security review of a file
aliases: [sec, secrev]
---

Please perform a thorough security review of {{args}}. Look for:
- AuthN/AuthZ bypasses, SQL/NoSQL injection, XSS, CSRF
- Path traversal, insecure deserialization
- Hardcoded secrets, race conditions

Report findings ordered by severity.

Then call it as /sec-review src/api/login.ts (or /sec via the alias).

Placeholders

PlaceholderResolves to
{{args}}Full argument string
$ARGUMENTSFull argument string (Claude Code compatibility)
{{arg1}}, {{arg2}}, …Positional arguments (1-indexed)
★
Project files shadow global files with the same name, so a per-repo .codeep/commands/deploy.md can override a global one. Run /commands to list everything available in the current workspace.

Image Paste

Press Ctrl+V to paste an image directly from the clipboard into the conversation. Codeep will automatically detect the image and send it to a vision model for analysis.

★
Requires a Z.AI or MiniMax API key. On macOS, copy a screenshot with Cmd+Shift+4 then press Ctrl+V in Codeep.