lov-open-codex-session
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCodex 任务直达 · Codex Task Launcher
Direct Codex Task Launch · Codex Task Launcher
把稳定的 Codex / 交给宿主导航能力,让当前 Codex 主窗口切换到准确任务。Skill 只负责定位与打开,不修改任务内容、归档状态或 Git 状态。
sessionIdthreadIdPass a stable Codex / to the host navigation capability so the current main Codex window switches to the exact task. The Skill only locates and opens the task; it does not modify task content, archive status, or Git status.
sessionIdthreadIdTriggers
Triggers
Activate when
Activate when
- “打开这个 session”“打开刚才找到的微信读书投稿会话”“直接进入这个 Codex 任务”。
- 用户给出 Codex thread UUID 或 ,要求打开、跳转或导航。
codex://threads/<uuid> - “Open this Codex session”, “navigate to that Codex thread”, “show the task we just found”.
- “Open this session,” “Open the WeChat Reading submission session just found,” or “Go directly to this Codex task.”
- The user provides a Codex thread UUID or and asks to open, jump to, or navigate to it.
codex://threads/<uuid> - “Open this Codex session,” “navigate to that Codex thread,” or “show the task we just found.”
Do not activate when
Do not activate when
- 用户要找出过去讨论某主题的会话,但尚未得到唯一候选 —— 先用 检索并回读原文。
lov-search-chat - 用户要生成公开分享链接 —— 使用 。
lov-share-session - 用户要统计单个任务的 token —— 使用 。
lov-codex-thread-usage - 用户要新建、复制或分叉任务 —— 使用宿主对应的创建或 fork 能力。
- The user wants to find a past conversation about a topic, but no unique candidate has been identified yet—first use to search and read back the original content.
lov-search-chat - The user wants to generate a public sharing link—use .
lov-share-session - The user wants to count the tokens for a single task—use .
lov-codex-thread-usage - The user wants to create, copy, or fork a task—use the host’s corresponding create or fork capability.
User Profile (cross-session)
User Profile (cross-session)
skill.yamluser-profile/v1skills.lov-open-codex-session只有用户直接声明了需要跨会话保持的打开偏好时,才通过 写入 ,并报告保存路径。完整契约见 。
scripts/profile_store.py record --confirmrecords.*references/user-profile.mdskill.yamluser-profile/v1skills.lov-open-codex-sessionOnly when the user explicitly states an opening preference that should persist across sessions should it be written to via , after which the save path must be reported. See for the complete contract.
records.*scripts/profile_store.py record --confirmreferences/user-profile.mdSkill Group Composition
Skill Group Composition
运行前读取 。 可以交付稳定 ,但检索不是本 Skill 的隐藏依赖;已给出 UUID 或 deeplink 时必须直接导航。
references/skill-composition.mdlov-search-chatsessionIdBefore running, read . can deliver a stable , but retrieval is not a hidden dependency of this Skill; when a UUID or deeplink is provided, navigation must happen directly.
references/skill-composition.mdlov-search-chatsessionIdWorkflow (MANDATORY)
Workflow (MANDATORY)
You MUST follow these steps in order.
You MUST follow these steps in order.
Step 0: Resolve runtime context
Step 0: Resolve runtime context
- 读取 、共享 Profile 和
skill.yaml。references/skill-composition.md - 确认当前宿主提供 或语义等价的 Codex 任务导航工具。
navigate_to_codex_page - 若宿主没有任务导航能力,明确报告缺失能力;不要用 、浏览器 deeplink、AppleScript 或 Computer Use 冒充等价成功。
open
读取 Profile 的便携命令:
bash
python3 "$SKILL_DIR/scripts/profile_store.py" read \
--skill-id lov-open-codex-session --pretty- Read , the shared Profile, and
skill.yaml.references/skill-composition.md - Confirm that the current host provides or a semantically equivalent Codex task navigation tool.
navigate_to_codex_page - If the host has no task navigation capability, explicitly report the missing capability. Do not use , a browser deeplink, AppleScript, or Computer Use and present them as equivalent success.
open
Portable command for reading the Profile:
bash
python3 "$SKILL_DIR/scripts/profile_store.py" read \
--skill-id lov-open-codex-session --prettyStep 1: Resolve exactly one target
Step 1: Resolve exactly one target
按以下优先级取得目标:
- 当前请求中的 thread UUID。
- 当前请求中的 ,只提取 UUID 部分。
codex://threads/<uuid> - 当前对话里刚由检索或任务列表返回、且已经确认的唯一 /
sessionId。threadId - 只有描述没有 ID 时,调用 或宿主任务列表定位候选;检索命中必须回读标题与原文,不能凭 snippet 判断。
lov-search-chat
接受标准 UUID;拒绝空值、截断值、路径、任意 URL 和多个未消歧候选。Ataru 的 Codex 可直接作为 Codex 。
sessionIdthreadIdResolve the target using the following priority:
- The thread UUID in the current request.
- The in the current request; extract only the UUID portion.
codex://threads/<uuid> - The unique, already-confirmed /
sessionIdjust returned by retrieval or a task list in the current conversation.threadId - If only a description is available and there is no ID, call or use the host task list to locate candidates. A retrieval hit must be verified by reading back its title and original content; do not judge it from a snippet.
lov-search-chat
Accept standard UUIDs. Reject empty or truncated values, paths, arbitrary URLs, and multiple candidates that have not been disambiguated. Ataru’s Codex can be used directly as the Codex .
sessionIdthreadIdStep 2: Open the target
Step 2: Open the target
调用宿主任务导航能力:
text
navigate_to_codex_page(threadId=sessionId)不要先取消归档,不要创建新任务,不要向目标任务发送消息。打开归档任务不等于改变其归档状态。
Invoke the host task navigation capability:
text
navigate_to_codex_page(threadId=sessionId)Do not unarchive the task first, create a new task, or send a message to the target task. Opening an archived task does not change its archive status.
Step 3: Verify and report
Step 3: Verify and report
- 必须检查工具结果中的 为
navigated。true - 若已知标题,回答“已打开《标题》”;否则回答“已打开目标 Codex 任务”,并带简短 ID 便于核对。
- 工具失败时保留准确错误和目标 ID,不得报告“已打开”。
- 若用户还要求继续、发送消息、取消归档或改名,这些是新的外部动作,交给对应宿主能力处理。
- You MUST check that is
navigatedin the tool result.true - If the title is known, respond with “Opened ‘<Title>’”; otherwise, respond with “Opened the target Codex task” and include a short ID for verification.
- If the tool fails, preserve the exact error and target ID. Do not report that the task was opened.
- If the user also asks to continue, send a message, unarchive, or rename the task, these are new external actions and must be handled by the corresponding host capabilities.
Validation
Validation
- 激活句:“打开刚才找到的 Codex session。”
- Deeplink 激活句:“Open . ”
codex://threads/00000000-0000-0000-0000-000000000000 - 非触发句:“把这个 session 生成公开分享链接。”
- 真实验收以宿主返回 为准;仅解析出 UUID 不算完成。
navigated: true
- Activation phrase: “Open the Codex session just found.”
- Deeplink activation phrase: “Open .”
codex://threads/00000000-0000-0000-0000-000000000000 - Non-trigger phrase: “Generate a public sharing link for this session.”
- Real acceptance requires the host to return ; merely parsing the UUID does not count as completion.
navigated: true
Dependencies
Dependencies
- Codex desktop 宿主的任务导航能力。
- Python 3.8+,仅用于共享 Profile 读取与持久化。
- 是没有明确 ID 时的可选上游,不是必需依赖。
lov-search-chat
- Task navigation capability provided by the Codex desktop host.
- Python 3.8+, used only for reading and persisting the shared Profile.
- is an optional upstream capability when no explicit ID is provided, not a required dependency.
lov-search-chat