| name | wrap |
| description | Wrap an Egregore session when the user invokes /wrap or $wrap, or says they are done, wrapping up, or at a stopping point in Codex. |
Egregore Wrap
Native Codex Egregore skill. Use this inside an Egregore checkout with
bin/agent.sh. The command routes through bin/capture-run.sh --mode personal.
It writes the personal record first, appends graph and handoff-completion events
to the local WAL, and reconciles them detached; do not wait for or repeat that
background work.
Flow
- Synthesize a topic, a one to three sentence summary, and concise open notes
from the current session.
- If the session has ambiguous or potentially misleading state, confirm with
the user. Use structured Codex question tooling when available; otherwise
show numbered choices plus
Other: and wait.
- Resolve the author from
.egregore-state.json github_username, then
name, then git config.
- Write the notes to a temp markdown file.
- Run:
bin/agent.sh wrap --from "$AUTHOR" --topic "$TOPIC" --summary "$SUMMARY" --body-file "$BODY_FILE"
- If
git status --porcelain reports repo changes after the wrap, run:
bin/agent.sh save --message "Wrap: $TOPIC" --topic "$TOPIC"