360 Secure SkillHub
360 安全技能中心

Close Loop

用于会话结束时的四阶段收尾工作流:依次执行发布状态整理、记忆固化、自我改进与发布队列整理,并在安全门控下输出一份人读报告和一段机器可读 JSON,供任务交接与后续发布准备使用。

clarezoe
clarezoe
热度 70.37
最近更新 2026-07-05 10:13:22
分类:自动化依赖:代码执行 / 读写文件应用场景:工作流 / 报告撰写 / 笔记整理 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add close-loop
Metadata
name
close-loop
description
End-of-session workflow for shipping changes, consolidating memory, applying self-improvements, and preparing publishable outputs with safety gates.
license
MIT
metadata
{"version":"2.1.1","category":"session-memory"}

Close Loop

Use this skill when the user says "wrap up", "close session", "end session", "close out this task", or invokes /wrap-up.

Run four phases in order and return one consolidated inline report.

Modular structure

This skill is split into components for maintainability:

  1. components/01-design-principles.md
  2. components/02-phase-1-ship-state.md
  3. components/03-phase-2-memory.md
  4. components/04-phase-3-4-and-output.md

Follow these components in order.

Quick run order

  1. Apply execution policy and action gates (01-design-principles.md)
  2. Execute Ship State (02-phase-1-ship-state.md)
  3. Consolidate Memory (03-phase-2-memory.md)
  4. Run improvements + publish queue + output contract (04-phase-3-4-and-output.md)

Required output

Return:

  • Artifact A: human-readable report sections exactly as defined in component 04
  • Artifact B: machine-readable JSON block exactly as defined in component 04

Resources

  • references/memory-frameworks.md
  • assets/templates/wrap-report-template.md