CodexCleanUp
检查当前 Codex 会话是否属于正确的 Project,并在用户选择推荐分组后,使用官方 Codex App 能力在目标 Project 下创建一个带压缩上下文的交接会话。保留原会话、原标题和原归属,不关闭 App,不修改本地私有状态。用户说“整理当前会话”“这个会话该放哪个 Project”“帮我调整分组”“清理 Codex 会话”“codex clean up”“CodexCleanUp”或明确要求把当前会话交接到另一个 Project 时使用。
Install
npx skills add manwithshit/CodexCleanUp --skill CodexCleanUpgit clone --depth 1 https://github.com/manwithshit/CodexCleanUp.git /tmp/CodexCleanUp
mkdir -p ~/.claude/skills
cp -r /tmp/CodexCleanUp/. ~/.claude/skills/CodexCleanUpPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Codex Clean Up ## Contract 使用“创建交接会话”模型,不使用“原地移动会话”模型。 - 原会话保持原样:不改 Project、标题、内容、归档状态或 pinned 状态。 - 目标 Project 下创建一条新的 Codex 会话,并把当前会话压缩成可继续工作的上下文写入新会话。 - 不关闭 Codex/ChatGPT App,不修改 `~/.codex/.codex-global-state.json`、SQLite 或其他私有状态文件。 - 不删除、归档、fork 原会话;只使用官方 Codex App 工具创建新会话。 - 创建失败、标题更新失败或目标 Project 无法确认时,不声称已完成。 ## 可用工具与边界 优先使用当前 Codex App 提供的官方工具: - `codex_app__list_projects`:读取可创建会话的 Project 及其 `projectId`。 - `codex_app__list_threads`:需要核对近期会话标题时读取摘要;当前 App 版本只传 `limit`,且不超过 50,不要传 `query`,在返回结果中自行筛选。 - `codex_app__create_thread`:在目标 Project 下创建新会话。 - `codex_app__set_thread_title`:创建成功后设置交接标题。 - `codex_app__read_thread`:创建后有线程 ID 时做只读回读验证。 `codex_app__list_projects` 可能同时返回 `projectKind: "chatgpt"` 的云端 Project。它们不是本 Skill 的目标;只选择可由 `codex_app__create_thread` 创建的 Codex local Project,remote Project 只有在工具明确支持对应 target 时才使用。 如果这些官方工具不可用,停止并报告“当前环境无法创建 Project 内新会话”;不要退回私有状态写入方案。 ## 工作流 ### 1. 只读诊断 先判断当前会话的主题、当前 Project、标题和会话 ID。优先使用当前线程上下文;需要核对时使用 `codex_app__list_threads`。无法确认当前会话 ID 或当前归属时,明确标记为未知,不猜测。 使用 `codex_app__list_projects` 获取最新 Project 列表。结合以下证据评估候选: - 当前会话主题和目标/产品实体; - Project 名称、根目录和近期会话标题; - 当前会话工作目录(只能作为证据之一,不能单独覆盖主题判断); - 已知的用户 Project 画像或本轮读取到的项目上下文。 不要因为当前 cwd 落在某个目录,就直接认定该 Project 一定合理。先判断主题是否一致。 如果当前归属合理,只报告合理性和依据,不创建交接会话。 ### 2. 候选与用户选择 仅展示推荐度不低于 60 分的候选。 - 最高候选明显领先时,只展示最高候选。 - 分值接近时最多展示 3 个候选。 - 始终提供 `N. 都不是`。 - 使用 `A/B/C/N` 选择,不要求用户重复输入 Project 全名。 输出格式:
Details
- Skill name
CodexCleanUp- Repository
- manwithshit/CodexCleanUp
- Repo updated
- 5 August 2026
FAQ
What does the CodexCleanUp skill do?
检查当前 Codex 会话是否属于正确的 Project,并在用户选择推荐分组后,使用官方 Codex App 能力在目标 Project 下创建一个带压缩上下文的交接会话。保留原会话、原标题和原归属,不关闭 App,不修改本地私有状态。用户说“整理当前会话”“这个会话该放哪个 Project”“帮我调整分组”“清理 Codex 会话”“codex clean up”“CodexCleanUp”或明确要求把当前会话交接到另一个 Project 时使用。
How do I install the CodexCleanUp skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add manwithshit/CodexCleanUp --skill CodexCleanUp. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is CodexCleanUp popular?
It lives in manwithshit/CodexCleanUp, which has 8 GitHub stars and 0 forks.
Related skills
Lixi Reverse
7wobushilixi/lixi-reverse
【启动词:李喜,路径,需求】李喜 = 安卓授权/卡密验证的全自动逆向绕过。 四层判型:控制面 APK/dex · 脚本面 壳里的 .lua · 载荷面 ELF/.so · 特权面 .ko 内核模块; 另加服务端判决面(真响应重放 / 假服务器 / SNI 侦察)。一个入口脚本跑完只读分析并出 【带原字节的可执行命令】。23 个 Python 工具 + 3 个跨语言第一响应,不依赖 jadx/apktool/frida。 核心判据:能不能破由"判决归属"决定,不由"加密强度"决定。输出语言:中文。 触发词:李喜 / 安卓逆向 / APK / dex / 卡密 / 授权 / 内核模块 / ko / 驱动 / ELF / so / 脱壳 / 加固 / 重放 / 绕过。
Code Function
7lyp1278471473/code-function
Turn any project into one self-contained interactive HTML map that answers: which code implements this feature/page? Show every feature of the project, and for each, all the code across frontend/backend/database/workers with exact file:line — clickable to open in the user's editor. Use when the user says 'code-function', '功能地图', '这个功能对应哪段代码', '生成功能地图', 'locate the code for <feature>', or asks to map features/pages to their implementation. Also use to refresh a map generated earlier.
Opus Mode for Codex
8ncusspm25/opus-mode-for-codex
Use for long-running or multi-turn tasks, ambiguous debugging, architecture work, multi-file changes, complex research, and continuation of context-heavy work. Preserve task state, synthesize earlier context, maintain global consistency, investigate root causes, challenge premature conclusions, and verify outcomes before claiming completion. Do not use for trivial edits, obvious one-step tasks, simple rewrites, isolated typos, or simple questions.
Zemax Python Connect
9Hao-xl/zemax-python-connect
当用户提到 Zemax OpticStudio Python 连接、ZOS-API 配置、独立应用程序、交互扩展、CreateNewApplication、ConnectAsExtension、ZOSAPI_NetHelper.dll、NotAuthorized、PrimarySystem None、Instance Number,或在连接 Python 与 Zemax 时遇到 --replace-current 时使用。
Powershell Windows CLI
8UncertaintyDeterminesYou4ndMe/powershell-windows-cli-agent-skill
PowerShell and Windows Command Prompt (CMD/Batch) expert skill. Use whenever the user asks about PowerShell, pwsh, CMD.exe, batch files, Windows Terminal, Windows command line, Windows administration, Windows automation, registry edits, Windows services, event logs, scheduled tasks, WMI/CIM, Active Directory, UAC, execution policy, file permissions, PATH environment variables, or running Windows commands from an agent. Trigger especially on phrases like: "write a PowerShell script", "how do I do X in CMD", "Windows batch", "PowerShell error", "my CMD command failed", "list services", "query ev
Wechat Miniprogram Skill
9Gourdbaby/wechat-miniprogram-skill
Expert guidelines for Native WeChat Mini Program development focusing on performance, code size, and native compatibility. Use when developing WeChat Mini Programs in native JavaScript.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.