EN 中文

Slash Commands (TUI)

Command Usage Description
/help/help, /?Show help topic picker, or pass a topic (all, commands, keys, about)
/hooks/hooksList active shell hooks (user + project)
/clear/clearStart a fresh conversation (saves current session, opens new one, clears screen). Ctrl+L to only clear the display.
/new/newStart a fresh conversation (same as /clear)
/model/model [id]Switch model — no arg opens a picker
/effort/effort [off|high|max]Set DeepSeek reasoning effort
/yolo/yoloToggle --yolo (bypass permission prompts)
/plan/planToggle plan mode (read-only exploration)
/review/review [branch]Code review working-tree changes
/branch/branchFork this session (new ID, parent link)分叉当前会话
/compact/compactSummarise prior history to free up context
/checkpoints/checkpointsList git checkpoints for current session
/distill/distillExtract project decisions → M memory
/skills/skillsList loaded skills with source paths
/skill/skill <verb> [args]Manage skill packages (install, uninstall, list, …)
/memory/memory <verb> [args]Inspect project memory (list, show, search, archive)
/setup/setupRe-run the API-key configuration wizard
/upgrade/upgrade [--force] [--dry-run]Download latest release and replace binary
/exit/exit, /quit, /qQuit seek
/steer/steer, /sInterrupt and send new instructions
/undo/undo [path]Undo the last write or edit
/redo/redo [path]Redo a previously undone write or edit
/restore/restore [turn]Restore entire working tree from a git checkpoint
/agents/agentsList subagents for this project: spawn time, type, status, turns, tokens, description
/worktrees/worktreesList seek-managed git worktrees: id, branch, path (includes prior sessions)
/diagnose/diagnosePrint a diagnostic report (version, OS, provider, config, session metadata) — paste into bug reports
/keys/keysShow the active keymap (incl. any ~/.seek/keybindings.toml overrides)

Key Bindings

Key Action
EnterSend prompt发送 prompt
↑ / ↓Recall prompt history (input empty)回滚 prompt 历史(输入框为空)
EscCancel ongoing assistant response取消 assistant 响应
Shift+TabCycle mode: ask → plan → yolo → ask循环切换模式
Ctrl+JInsert newline in input输入框内换行
Ctrl+LClear visible screen (same as /clear)清屏(同 /clear)
Ctrl+RToggle reasoning visibility切换推理过程显示
Ctrl+CQuit seek退出 seek
Alt+EnterInterrupt with new instructions (/steer)中断并发送新指令
?Open this help overlay (/help)打开帮助面板

CLI Subcommands

Command Description
seek checkpoint listList git checkpoints for the current session
seek checkpoint restore <turn>Restore working tree from a checkpoint turn
seek checkpoint pruneRemove old checkpoints (default 90 days)
seek undo [path]Undo the last file write/edit
seek redo [path]Redo a previously undone write/edit
seek hooks listList active hooks with average duration
seek hooks checkDry-run: show which hooks would fire for an event
seek hooks trustReset trust record for project hooks
seek hooks auditQuery hook execution audit log
seek skill install <path|url>Install a skill from local path, git URL, or HTTPS tarball
seek skill listList installed skills (user + project)
seek skill uninstall <name>Remove a skill from user-level installs
seek skill update <name>Re-fetch a git-installed skill
seek skill stats [--top N]Show skill call counts ranked by frequency
seek memory listList M-memory entries for current project
seek memory show <name>Print full content of an M-memory entry
seek memory search <query>Search M-memory by keyword (tagline + body)
seek memory archive <name>Archive a stale entry (preserved on disk, removed from index)
seek cron create [flags] <prompt>Register a scheduled prompt (--at @daily / @every 1h)
seek cron list [--json]List registered cron jobs with next-run time
seek cron run <name>Fire a cron job immediately (bypass schedule)
seek cron delete <name>Remove a cron job
seek cron tickOS-scheduler entry point — scan + fire all due jobs (called every 1 min by launchd/systemd/Task Scheduler)
seek worktree listList seek-managed worktrees (includes externally-created ones flagged "external")
seek worktree gcReap orphan worktrees + dangling refs from prior crashes
seek keys listList active key bindings (defaults + user overrides)
seek keys checkLint ~/.seek/keybindings.toml for conflicts and unknown actions
seek keys actionsList all bindable actions (the actions a user override can target)
💡 Many subcommands have TUI slash-command equivalents: /checkpoints, /restore, /undo, /redo, /hooks, /skill, /memory, /agents, /worktrees, /keys. Use either path interchangeably.

CLI Flags

Flag Type Default Description
-pstring""Prompt text; non-empty → print mode
-modelstring""Model ID override
-max-turnsint200Agent loop safety boundAgent 循环安全上限
-max-tokensint0Completion token cap (0 → default 16384)输出 token 上限
-auto-continueboolfalseAuto-inject 'continue' on text-only turns自动注入 'continue'
-yoloboolfalseAllow bash + writes outside CWD without prompting允许 bash 和写入当前目录外
-planboolfalseRead-only: no bash/writes/edits只读模式:禁止 bash/写入/编辑
-jsonboolfalseEmit agent events as JSONL on stdout以 JSONL 格式输出事件
-resumestring""Load a saved session by ID通过 ID 恢复会话
-continueboolfalseResume most recent session
-no-saveboolfalseEphemeral session (don't persist)
-listboolfalseList saved sessions and exit
-no-project-mdboolfalseSkip AGENTS.md auto-load
-providerstring"deepseek"LLM provider (deepseek | anthropic | openai | gemini | compatible)
-base-urlstring""Base URL for --provider=compatible
-themestring"auto"Color theme (auto | dark | light)
-rpcboolfalseJSON-RPC 2.0 server over stdio
-versionboolfalsePrint version info
-upgradeboolfalseDownload latest release and replace binary
-upgrade-forceboolfalseForce upgrade even for dev builds
-upgrade-dry-runboolfalseDownload + verify, do not replace下载 + 校验,不替换
-upgrade-checkboolfalseCheck for newer release, never modify检查新版本,不改动
-dreamboolfalseM→L distillation scan (read-only)M→L 蒸馏扫描(只读)
-dream-writeboolfalseWrite dream candidates to soul.md写入 dream 候选到 soul.md
-no-suggestboolfalseDisable suggested-reply predictor + UI placeholder (v4 柱 D)
-no-cron-tickboolfalseSkip startup cron auto-tick (jobs still fire via OS scheduler)
-keep-checkpointsboolfalsePreserve session checkpoints/ across session end (default: cleaned)
-installboolfalseAdd seek to user PATH (Windows)
-benchmarkstring""Run benchmark task (self-hosting | fim-patch) and report metrics
-benchmark-outstring""With -benchmark: write JSON report to this file (default: stdout)
-provider-namestring"Compatible"Display name for --provider=compatible
💡 Use seek --help for the most up-to-date flag list. The table above reflects the source at cmd/seek/main.go. Reply language follows your input — there is no /lang or --lang.