agent-phase-closeout

agent-phase-closeout is a skill for Codex from 1139030773-cmd/agent-workflow-system. It costs 73 tokens per session (1,416 once invoked), scanned A, a copy of agent-phase-closeout, MIT.

A Chinese-language workflow for formally finishing a project phase and recording its status for the next conversation.

In plain words
What is it for?
Use it to create status snapshots, freeze completed modules, record evidence, mark remaining work, and prepare a resume file.
Why use it?
It preserves completed work, decisions, unfinished tasks, and recovery information instead of leaving the project state unclear.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to create status snapshots, freeze completed modules, record evidence, mark remaining work, and prepare a resume file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1139030773-cmd/agent-workflow-system/agent-phase-closeout
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 1139030773-cmd/agent-workflow-system --skill agent-phase-closeout
Clone the repo
git clone --depth 1 https://github.com/1139030773-cmd/agent-workflow-system

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-phase-closeout

README.md
[![agentmods](https://agentmods.dev/badge/skills/1139030773-cmd/agent-workflow-system/agent-phase-closeout.svg)](https://agentmods.dev/skills/1139030773-cmd/agent-workflow-system/agent-phase-closeout)
Your own site
<a href="https://agentmods.dev/skills/1139030773-cmd/agent-workflow-system/agent-phase-closeout"><img src="https://agentmods.dev/badge/skills/1139030773-cmd/agent-workflow-system/agent-phase-closeout.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01416
Opus 5 $0.00036 $0.00708
Sonnet 5 $0.00015 $0.00283
Haiku 4.5 $0.00007 $0.00142

Measured 7d ago against content hash e0b0847e1b71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

agent-phase-closeout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to agent-phase-closeout — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agent-workflow-system/skills/agent-phase-closeout/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex 阶段收尾

身份:收尾者。总结、冻结、更新快照。绝对禁止开发新功能或引入新方案。

遵守统一行为规范(职能隔离 / 动作校验 / 状态机 / 五级纠错 / 回滚 / 证据链)。

📍 阶段位置

[●入口] → [●引导] → [●策划] → [●执行] → [●审计] → [◉收尾]
 当前角色: 收尾者 | 上一站: 审计 | 下一站: 结束/新循环

当前阶段自动写入 STATE_SNAPSHOT.mdcurrent_phase 字段。

硬边界

允许 禁止
总结已完成内容 开发新功能
汇总证据链到 DECISIONS.md 引入新方案
冻结模块和接口 修改代码
生成新对话启动口令 隐藏未验证内容
标记未完成任务 跳过轻量审计
写入 .resume/ session 文件 只写 RESUME.md 不写 .resume/

Session 文件写入

收尾时必须写两个位置(顺序:先 .resume/,后 RESUME.md):

  1. .resume/session-YYYYMMDD-HHmmss.md(主)— 当前窗口专属 checkpoint
    • session ID 用收尾时刻的时间戳生成
    • 文件格式:与 RESUME.md 相同的 5 字段结构,额外包含 session_id
  2. 根目录 RESUME.md(副)— 向后兼容 fallback,只保留最新一条任务信息

同一任务多次收尾用不同 session ID → 自然产生多个文件 → "继续"时按 task_name 去重,只展示最新。 |

优先读取

真相源文件:PROJECT.mdTASK_QUEUE.mdDECISIONS.mdSTATE_SNAPSHOT.md

工作流程

0. 区分收尾类型(最先执行)

必须问用户这一句,不跳过:

这一阶段完成了。下次还要继续吗?

"继续" → 阶段收尾(保留活跃,下次"继续"能找到) "不做了" / "归档" → 归档项目(打包到 archive/)

用户选"阶段收尾"→ 走下面 1-7 步 + 写 .resume/ session 文件。 用户选"归档"→ 跳到归档项目模式。

1. 收尾前快速审计

  • 有未记录决策?→ 先补充
  • 有未完成功能?→ 标记,不隐藏
  • 有偏离?→ 先调用 agent-drift-auditor

2. 总结完成内容 + 验证结果

3. 列出未完成(待开始 / 进行中 / 阻塞)

4. 识别新增决策 → 写入 DECISIONS.md

5. 冻结判断(接口 / 模块 / 命名)

6. 更新真相源

  • STATE_SNAPSHOT.md:对照旧版本逐字段确认后再改,禁止凭空重写。特别是 active_tasks 列表——旧版本有的条目不能丢,只能增/改状态/删已完成。
  • TASK_QUEUE.md:移动已完成 → 设新任务
  • DECISIONS.md:汇总证据链 + 新增决策
  • PROJECT.md:更新目标、阶段、冻结区域

7. 生成新对话启动口令

这是新对话。请先读取 PROJECT.md、DECISIONS.md、TASK_QUEUE.md 和 STATE_SNAPSHOT.md。
以这些文件为准,总结当前状态,并告诉我下一步唯一行动。

证据链汇总

本轮所有动作记录 → 写入 DECISIONS.md 附录。

偏离处理

收尾中发现新问题 → 不自己修 → 调 agent-drift-auditor

交互预算自检

收尾输出前检查:

  • 总结信息量是否可控(≤1 屏)?
  • 未完成任务清单是否清晰可逐个确认?
  • 新对话启动口令是否精简?

禁止事项

  • 不开发新功能 / 不隐藏未验证内容
  • 不把聊天历史当唯一状态来源
  • 不跳过收尾前审计

📦 归档项目模式

用户说"归档项目""归档当前项目""这个项目做完了,帮我归档"时触发。

归档流程(自动执行)

步骤 操作
1 从 RESUME.md 提取 project name + 当前阶段
2 创建 archive/{project-name}-{date}/ 目录
3 复制 TASK_QUEUE.md → 归档目录(记录任务历史)
4 复制 RESUME.md → 归档目录(记录最终状态)
5 复制活跃 .resume/ session 文件 → 归档目录
6 复制 PROJECT.md → 归档目录(项目总览 = 归档总结,无需重新生成)
7 更新 archive/INDEX.md 加一行:项目名 / 归档日期 / 状态
8 问用户:"当前活跃文件要清理吗?"(不自动删)

Read the full file on GitHub · 131 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 131 lines · 73 tokens per session scan A e0b0847e1b71

Subscribe to this mod's changes

agent-phase-closeout is a skill published in the GitHub repository 1139030773-cmd/agent-workflow-system (5 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 1,416 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-phase-closeout, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

create-supervisor

Create, update, list, and safely maintain evidence-bounded graduate-advisor Skills from comments, meeting notes, chat logs, documents, and user corrections. Use when the user asks to create or evolve a supervisor/advisor Skill, distill a mentor's working style, run /create-supervisor, /update-supervisor…

UniversePeak/Supervisor.skill · 81 tokens

skill-performance-monitor

Use when monitor and analyze skill effectiveness in real-time. Track usage, success rates, response quality, and user satisfaction for continuous optimization. Use when monitoring and analyze skill effectiveness in real-time. track usage, success.

oyi77/1ai-skills · 47 tokens

zu-article-image-skill

A skill for adding meaningful illustrations to finished Markdown articles. It places editable image prompts inside the article and can later generate the images after confirmation.

wwenj/zu-article-image-skill · 100 tokens

vlog-auto-edit

A workflow that turns raw travel or everyday video clips into a finished vlog, a short edited video built around a person's experiences.

znyupup/ai-video-editing-skill · 66 tokens

perplexity-webui-search

Use when the user asks to search Perplexity, query Perplexity through the web UI, perform web research with Perplexity, save a Perplexity answer as Markdown, or retrieve a Perplexity answer through browser automation.

sofianbll/pplx-web-query · 55 tokens

image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…

Leonxlnx/taste-skill · 116 tokens