独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
M

minqiyang/open-in-rex

Continue Claude desktop Code sessions in the Rex terminal by session title or ID

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:git clone https://github.com/minqiyang/open-in-rex ~/.claude/skills/open-in-rex

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
0 ★ · minqiyang/open-in-rex · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 2 个来源列出
评分构成
综合分 203 · 2 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 minqiyang/open-in-rex;我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# open-in-rex

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

open-in-rex is a Claude Code skill and a small command-line tool called cresume. It lets you take a conversation from the Claude desktop app's Code tab and continue it in the Rex terminal with the Claude Code CLI.
## Why
The Claude desktop app has a Code tab where you run Claude Code sessions, listed in the sidebar by title. Sometimes you want to continue one of those conversations in a real terminal using claude --resume .
To do that, you need two things the desktop app does not show: the session's folder and the CLI session ID. There is no button to copy the session ID or show the folder, and sessions started without a folder live in hidden temporary directories (there can be dozens of them).
open-in-rex finds both the folder and the session ID from the session title, then continues the session in Rex.
## Requirements
macOS
Claude desktop app (Code tab) and the Claude Code CLI (claude on PATH)
Rex (the app is named "Rex Beta") with the rex CLI
Python 3 and jq
## Install
sh
git clone https://github.com/minqiyang/open-in-rex ~/.claude/skills/open-in-rex
mkdir -p ~/.local/bin
ln -s ~/.claude/skills/open-in-rex/scripts/cresume.py ~/.local/bin/cresume
Make sure ~/.local/bin is on your PATH. Claude Code loads skills from ~/.claude/skills/, so the skill will be ready in new sessions.
## Usage
### From a Claude session
Inside a Claude desktop session, type /open-in-rex, or ask in plain words (for example, "open this session in Rex" or "在 CLI 里打开这个会话"). Claude will open a new Rex tab that continues the current session.
You can also ask Claude to open a different session by giving its sidebar title, or ask it to just copy the resume command to the clipboard.
### From the terminal (cresume)
scripts/cresume.py is a single Python 3 file using only the standard library. You can run it directly in any terminal:
sh
cresume "Context bloat" # continue the session whose title contains "Context bloat"
cresume "Context bloat" --print # only print the command: cd ' ' && claude --resume
cresume "Context bloat" --print | pbcopy # copy that command
cresume 90ae6653-1c14-4e7d-8ca6-779d10984a7c # continue a session by its Claude Code session ID
cresume "HW3" --fork-session # extra options go to claude; this one starts a copy of the session
cresume # inside a Claude session: use the current session ($CLAUDECODESESSIONID)
## How it works
### cresume
Title search: Reads the Claude desktop app's session files in ~/Library/Application Support/Claude/claude-code-sessions/. Each file holds the sidebar title, the CLI session ID, and the folder. Matching is case-insensitive and accepts partial titles, though an exact title match wins over a partial one. Lookups take about 0.1 seconds.
Multiple matches: If more than one session matches the title, cresume prints a list showing the last activity time, session ID, title, and (archived) if archived, then stops. You can then run it again with the specific session ID.
Session ID lookup: When given a session ID, it also works for plain CLI sessions that the desktop app does not know about, reading the folder from the transcript in ~/.claude/projects/.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/minqiyang-open-in-rex/)
来源
github · https://github.com/minqiyang/open-in-rex
按领域浏览
开源项目
收录来源
2 个独立来源
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引