close-loop
End-of-session workflow for shipping changes, consolidating memory, applying self-improvements, and preparing publishable outputs with safety gates.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/clarezoe/close-loopWhat This Skill Does
The Close Loop skill serves as the comprehensive end-of-session orchestration engine for OpenClaw. It functions as the final checkpoint, ensuring that every session concludes with structural integrity and persistent growth. The skill operates through a strictly ordered four-phase pipeline: first, it applies execution policies and safety gates; second, it ships all pending state changes to the target environment; third, it consolidates session-specific memory for long-term retention; and fourth, it executes self-improvement logs, clears the publishing queue, and formats the final output contract.
By leveraging this modular architecture, OpenClaw ensures that your work is not just transient but integrated into your broader project trajectory. It prevents "context decay" by formalizing how internal states are saved and providing a standardized final report that bridges the gap between machine operations and human review.
Installation
To integrate the Close Loop skill into your OpenClaw environment, ensure you have sufficient permissions and execute the following command in your terminal:
clawhub install openclaw/skills/skills/clarezoe/close-loop
Use Cases
Use this skill whenever you are finishing a multi-step project or a long research session. It is ideal for developers who need to commit changes to a codebase while updating documentation and project memory. It is also highly effective for data scientists who need to summarize findings, archive session variables, and verify that all processing steps have been successfully applied before closing the environment. In creative workflows, use it to ensure that iterative drafts are saved and versioned alongside a self-reflection summary.
Example Prompts
- "I'm finished with the current refactoring task, please close out this task."
- "/wrap-up: I've completed the data analysis, let's consolidate the findings and end the session."
- "Wrap up everything now, make sure the memory is updated and save the final report."
Tips & Limitations
The Close Loop skill is highly opinionated regarding order of operations to ensure safety. You cannot skip phases; if a phase fails, the skill will halt to prevent inconsistent state changes. Always ensure your workspace is in a stable state before invoking the skill, as it performs critical write operations. Review the generated artifacts A and B carefully if the output contract requires specific integration with downstream systems.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-clarezoe-close-loop": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
foxcode-openclaw
Configure and manage Foxcode AI models in OpenClaw. Guides users through API setup, endpoint selection, primary/fallback model configuration, and status monitoring. Optimized for beginners with psychology-backed teaching approach.
ai-csuite
Runs a script-backed AI C-Suite strategic debate for SaaS teams. It builds a stage-aware executive roster, generates structured debate rounds, synthesizes a Chief-of-Staff brief, and outputs a CEO decision with action items. Includes security and output validation scripts designed for VirusTotal-safe distribution.
psychology-master
World-class psychology expertise for human mind optimization. Masters learning science (age-appropriate skill acquisition for languages, coding, etc.), cognitive psychology, behavioral economics, and ethical marketing/conversion psychology. Use when designing learning programs, understanding human motivation, optimizing user experiences, creating persuasive messaging, improving conversion rates, or analyzing human behavior patterns. Covers developmental psychology, memory systems, habit formation, decision-making biases, and customer psychology.
research-to-wechat
A research-first content pipeline that turns a topic, notes, article, URL, or transcript into a sourced article with an evidence ledger, routed structure, polished Markdown, inline visuals, cover image, WeChat-ready HTML, browser-saved draft, and optional multi-platform distribution (小红书、即刻、播客、朋友圈). Use when the user wants 深度研究、改写成公众号、写作、排版、配图、HTML 转换、公众号草稿生成、多平台分发.