Sets a name for the current Codex thread. Only invoked manually or when the user explicitly asks to name or rename the session. Generates a concise 'Project: title' format name based on context.
Ships in dcjanus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
用于给当前 Codex thread 设置名称。这个 skill 永远不要自动调用;只有用户手动调用或明确要求重命名当前会话时才使用。
如果用户手动调用了这个 skill,即使没有提供任何额外描述,也视为已经明确要求重命名当前 Codex thread;不要再询问“是否要重命名”。默认根据当前上下文直接生成名称并调用脚本设置,不展示候选项,也不等待用户确认。只有用户明确要求提供候选名或让其选择时,才进入候选流程。
根据当前任务、cwd、仓库或项目上下文生成名称。
名称格式固定为 Project: 标题,例如 prompts: 新增会话命名 skill。
完整名称长度以 prompts: 新增 Codex 会话命名 skill 这种长度为宜,目标约 20-30 个可见字符,最多不超过 36 个可见字符;过长时压缩措辞。
Project 名由模型结合上下文判断,不要机械使用 cwd basename。
用户未明确要求候选名时,直接调用脚本设置生成的名称,不要先展示名称、征求确认或要求选择。
用户明确要求候选名或让其选择时,草拟 3 个候选名,按推荐程度从高到低排列,编号为 1、2、3,但不要在列表项里标注推荐项,然后要求用户输入数字选择:
1. prompts: 新增会话命名 skill
2. prompts: Codex thread 命名脚本
3. prompts: 当前会话标题治理
请选择 1/2/3。若直接确认,默认会选第一项。
在候选流程中,如果用户只回复“同意”“可以”“ok”“就这样”等确认语,没有给数字,则选择第 1 个推荐项。
用户选择后,调用脚本设置当前 thread 名称:
./scripts/set_current_thread_name.py "Project: 标题"
CODEX_THREAD_ID,脚本会报错并说明无法判断要设置哪个 Codex 会话。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/dcjanus-dcjanus-plugins-dcjanus:codex-thread-namerfrom dcjanus
Generated from the plugin's indexed repository (dcjanus/prompts) — no native marketplace selected
npx claudepluginhub p/dcjanus-dcjanus-plugins-dcjanus27 skills in this plugin
/codex-thread-close-check检查当前 Codex thread(会话)是否还有遗留事项,适用于用户准备关闭、归档当前对话,或询问当前 thread 是否可以收尾时。/confluence-cli查询、检索与阅读 Confluence 文档/页面。/dcjanus-merge-policy将 GitHub 或 GitLab 仓库配置为 DCjanus 偏好的合并策略,包括 squash、组织仓库的 merge queue、提交消息模板和源分支删除设置。适用于明确要求采用 DCjanus 个人合并策略的场景,不用于一般 PR/MR 合并操作。/dcjanus-preferences适用于创建、修改或评审 Skill,配置或复刻 GitHub 个人仓库与长期自用 fork 的维护、CI、发布、合并策略和 Dependabot 更新,设计或评审 CLI 的命名、输入手感、输出与补全,设计或评审前端界面的布局、信息层级和文案,或在前端技术栈与无障碍组件、Connect/Protobuf API、well-known types、FieldMask/PATCH、AIP-127 HTTP 映射与 Protovalidate 校验、项目开发工具(含 mbx/Cargo)及版本管理、用户级程序的 XDG 数据目录、跨语言的数据存储、分析、压缩、归档、哈希、Telegram Bot 消息呈现及 Python/Rust/Go 第三方库之间做技术选择的场景。/dcjanus-tasklog查询或管理 DCjanus 的 Linear 事项、提醒、长期文档、模板(含周期事项)、视图或团队配置,以及按个人任务模型整理目标、进展和关联时使用。/dependency-management新增、移除或升级项目及长期维护脚本的依赖,以及修改项目版本时使用。一次性 Python 脚本使用 python-execution;库的选型比较使用 dcjanus-preferences。Other plugins' skills for the same job