wrap
SkillDev toolsSession wrap, summarise session, publish to cc-share and NATS, then dream
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the wrap skill
What this skill tells your AI
The instructions your AI receives, as published by fjwood69/mori in skills/wrap/SKILL.md and read by ahel’s review.
1. Identify
Read ~/.config/mori/identity.yaml for the name field. Note current hostname.
2. Summarise
Write a concise session summary covering:
- What was done (key changes, decisions, fixes)
- What's pending / next steps
- Any gotchas or notes for the next session
Keep it brief — bullet points, not prose.
3. Publish to cc-share
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.
4. Publish to NATS
Publish a one-line wrap message: mori_nats_pub with message "<name> on <hostname>: <one-line summary of session>".
4b. Broadcast to mori-msg
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.
5. Dream
Call mori_dream_run to flush any undreamed events.
6. Sign off
Report what was written and where. No autonomous actions after.
Signals
- GitHub stars
- 28
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
wrap-fjwood69- Source
- github.com/fjwood69/mori