sessionman For minimalists like me.为了像我一样的极简主义者。

Switch when credits run out. Trim when context bloats. Share sessions with anyone. Let agents call each other.额度用完就切换。上下文太长就精简。会话随时分享。Agent 自由组合。

curl -fsSL https://sessionman.dev/install | sh
sm
New session · Presets
› review      Codex · o3-pro · low       Code review and audit, read-only sandbox
  deep-impl   Claude · opus-4.6 · high   Large refactors and new feature implementation
  explore     Gemini · 2.5-pro · med     Codebase exploration and research
  + Create preset…

Recent sessions · Current workspace
  claude    Nov 13 14:08 (18m)    Design the SessionMan landing page
  codex     Nov 13 13:42 (47m)    Refactor OAuth callback handler
  gemini    Nov 12 16:08 (1h)     Map runtime boundaries before split
  pi        Nov 12 10:24 (44m)    Reduce duplicate state in navigation
  opencode  Nov 11 15:50 (1h)     Polish session list layout

↑/↓ select · Enter open · t trim · e export · q quit

Switch agents,
keep working
换一个 Agent,
继续干活

Claude out of credits? Select the session, pick Codex, and keep going. SessionMan converts the transcript into the target agent's native format and starts its native resume.Claude 额度用完了?选中会话,选择 Codex,继续工作。SessionMan 自动将对话转换为目标 Agent 的原生格式并启动原生恢复。

sm
Continue session in:

› codex
  claude
  gemini
  opencode
  pi

Session: Design the SessionMan landing page
Source:  claude · Nov 13 14:08 · 18 min

Trim the context,
keep going
精简上下文,
轻装继续

Session too long and responses degrading? Press t on any session. SessionMan trims the context and continues in the agent of your choice — with a clean slate.会话太长,回答质量下降?在任意会话上按 t。SessionMan 精简上下文后在你选择的 Agent 中继续——轻装上阵。

sm
Recent sessions · Current workspace
  claude    Nov 13 14:08 (18m)    Design the SessionMan landing page
› codex     Nov 13 13:42 (47m)    Refactor OAuth callback handler
  gemini    Nov 12 16:08 (1h)     Map runtime boundaries before split
  pi        Nov 12 10:24 (44m)    Reduce duplicate state in navigation

↑/↓ select · Enter open · t trim · e export · q quit

Send a session
to anyone
把会话发给
任何人

Export a session as a portable file. Your friend imports it into their own agent and picks up right where you left off — no shared accounts, no cloud sync.导出会话为通用文件。朋友导入到自己的 Agent 中,从你离开的地方继续——不需要共享账号,不需要云同步。

Terminal
$ sm session export abc123 --source claude > session.json

  Exported: claude session abc123
  → session.json (42 KB)

# Send session.json to a friend…

$ sm session import codex session.json

  Imported as codex session def456
  Ready to resume

Agents calling
agents
Agent 之间
互相调用

Inside a session started from sm, call another preset as a subagent. Each agent runs natively in its own session — no relay inference, no overhead.在 sm 启动的会话中,直接调用其他预设作为子 Agent。每个 Agent 原生运行在自己的会话中——无中继、无开销。

sm codex
You: Ask my claude-review preset to review this change.

[ExternalSubagent] Starting claude-review…
[ExternalSubagent] Claude session a1b2c3 created
[ExternalSubagent] Reviewing 3 changed files…
[ExternalSubagent] Done. 2 issues found.

The review found two issues:
  1. Missing nil check in auth.go:47
  2. Unused import in handler.go:3

Supported Agents支持的 Agent

Claude Code
sessions · resume
skills · hooks
Codex CLI
sessions · resume
skills · hooks
Gemini CLI
sessions · resume
skills · hooks
Pi
sessions · resume
skills · hooks
OpenCode
sessions · resume
skills
DeepSeek
launch · skills

Get started开始使用

curl -fsSL https://sessionman.dev/install | sh