بنقرة واحدة
entity-shutdown
Run the sleep cycle for an entity — extract memories and consolidate
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run the sleep cycle for an entity — extract memories and consolidate
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Collaboratively refine a high-level ambition into a set of chunk prompts.
Migrate the project's ACTIVE chunks to the present-tense, intent-owning standard. Audits each chunk's goal against the code it claims to govern; rewrites retrospective framing inline; logs over-claims that need operator triage; historicalizes chunks with no enduring intent. Designed for full-corpus migrations — fans out across many parallel sub-agents at 5 chunks per agent.
Create a new chunk of work and refine its goal. Use when the operator wants to start new intent-bearing work, chunk something, define a piece of work, or break work into a chunk.
Update code references in the current chunk and move both the PLAN.md and the GOAL.md to the ACTIVE state.
Wake an entity by loading its identity, memories, and operational context
Set up a project steward via interactive interview
| name | entity-shutdown |
| description | Run the sleep cycle for an entity — extract memories and consolidate |
Run the sleep cycle for a named entity. This consolidates what was learned this session into the entity's persistent memory tiers.
The exact steps depend on whether this is a wiki-based entity (has a wiki/
directory) or a legacy entity (memory-only, no wiki).
Ask the operator which entity to shut down, or accept the entity name as an
argument to this command (e.g., /entity-shutdown mysteward).
Verify the entity exists by running:
ve entity list --project-dir .
Check whether the entity is wiki-based:
ls .entities/<entity_name>/wiki 2>/dev/null && echo "wiki entity" || echo "legacy entity"
wiki/ directory)For wiki entities, the shutdown pipeline uses Agent SDK to automatically diff the wiki and consolidate new knowledge. No manual memory extraction is needed.
During the session, you should have updated the wiki pages in
.entities/<entity_name>/wiki/ to reflect what was learned. If you haven't done
so yet, update the relevant wiki pages now.
Use git to check what changed:
git -C .entities/<entity_name> status
ve entity shutdown <entity_name>
This command will:
After the command completes, tell the operator:
wiki/ directory)For legacy entities, you extract memories manually from the session, then run the consolidation via the Anthropic API.
Review your entire conversation in this session. Identify moments worth REMEMBERING across session boundaries.
Categories of memory-worthy events (in priority order):
For each memory, provide:
[
{
"title": "Check PR state before acting",
"content": "Before taking action on a PR, always verify its current state.",
"valence": "negative",
"category": "correction",
"salience": 4
}
]
Write this JSON to /tmp/entity_memories.json.
ve entity shutdown <entity_name> --memories-file /tmp/entity_memories.json
After the command completes, tell the operator:
Clean up the temporary file when done.