con un clic
wrap
Session wrap — summarise session, publish to cc-share and NATS, then dream
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Session wrap — summarise session, publish to cc-share and NATS, then dream
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Strategic guidance from the advisor model on a question, with optional focus area and depth. Use before consequential decisions or to review a plan.
Session bootstrap — loads shared memories and team standards from the Mori server. Use at session start, or after a context compaction with --post-compact.
Bundle the canonical memory set into one structured Markdown document for external-LLM review, audit, or dashboard download.
Ranked full-text search and browse over the shared memory store. Use to recall past decisions, patterns, or project context.
Runs the dream pipeline that distils session events into durable memories. Use to flush undreamed events or check dream status.
Bootstraps the memory store from existing material (repos, PDFs, transcripts). Use to seed memory from a project or document.
| name | wrap |
| description | Session wrap — summarise session, publish to cc-share and NATS, then dream |
Read ~/.config/mori/identity.yaml for the name field. Note current hostname.
Write a concise session summary covering:
Keep it brief — bullet points, not prose.
Read the URL and key from secrets. Skip this step silently if either is absent.
CC_SHARE_URL=$(~/bin/get-secret.sh CC_SHARE_URL 2>/dev/null)
KEY=$(~/bin/get-secret.sh CC_SHARE_API_KEY 2>/dev/null)
DATE=$(date +%Y-%m-%d)
if [ -n "$CC_SHARE_URL" ] && [ -n "$KEY" ]; then
curl -s -X POST "${CC_SHARE_URL}/cc-share/session-${DATE}" \
-H "X-Api-Key: $KEY" \
-H "Content-Type: application/json" \
-d "{\"key\":\"session-${DATE}\",\"value\":\"<summary from step 2>\",\"ttl_seconds\":604800}"
fi
Set TTL to 604800 (7 days) so it persists across the week.
Publish a one-line wrap message: mori_nats_pub with message "<name> on <hostname>: <one-line summary of session>".
mori-msg_send(to="broadcast", type="broadcast", body="<same one-line summary as step 4>")
This makes the summary replayable via mori-msg_recv alongside the existing cc.> NATS stream.
Skip silently if the tool is unavailable.
Call mori_dream_run to flush any undreamed events.
Report what was written and where. No autonomous actions after.