Atlas-session-lifecycle sync
Fast save-point: sync all session-context files and MEMORY.md with current progress. Zero questions, zero delay. Use when user says /sync, save progress, save state, sync context, or /sync --full for capability inventory.
git clone https://github.com/anombyte93/atlas-session-lifecycle
T=$(mktemp -d) && git clone --depth=1 https://github.com/anombyte93/atlas-session-lifecycle "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/sync" ~/.claude/skills/anombyte93-atlas-session-lifecycle-sync && rm -rf "$T"
skills/sync/SKILL.mdSync
Zero questions. Edit files. Print summary. Done.
Rules
- No questions — never ask the user anything. Just save.
- No subagents — run entirely in the main thread.
- No MCP tools — direct file reads and edits only (faster).
- No narration — don't announce steps. Just do them.
- Touch every file — even if only adding a timestamp entry.
- Speed over perfection — a rough sync beats no sync.
Execute
Use the current time formatted as
HH:MM DD/MM/YY for the checkpoint header.
1. Edit session-context/CLAUDE-activeContext.md
session-context/CLAUDE-activeContext.mdAppend a new section at the end:
## [SYNC] {time} **Accomplished:** - {bullet list of what was done this session} **In progress:** - {what's currently being worked on} **Next steps:** - {what comes next} **Blockers:** - {any blockers, or "None"}
2. Edit session-context/CLAUDE-decisions.md
session-context/CLAUDE-decisions.mdAppend new decisions made this session. If none, append:
## {time} No new decisions this session.
3. Edit session-context/CLAUDE-patterns.md
session-context/CLAUDE-patterns.mdAppend new patterns discovered. If none, append:
## {time} No new patterns this session.
4. Edit session-context/CLAUDE-troubleshooting.md
session-context/CLAUDE-troubleshooting.mdAppend new issues and solutions. If none, append:
## {time} No new issues this session.
5. Update MEMORY.md
Update the auto-memory file at the project memory path with any new learnings from this session. If nothing new, skip this file (memory should stay concise).
6. Print summary
Print exactly one block:
Synced. {N} files updated. - Active context: {1-line summary of what was captured} - Decisions: {count new or "no new"} - Patterns: {count new or "no new"} - Troubleshooting: {count new or "no new"} - Memory: {updated or "no changes"}
/sync --full (Capability Inventory)
Extended sync that includes capability inventory generation.
Execute
- Run standard sync flow (Steps 1-5 above).
- Call
— bypasses cache and regenerates inventory even if git unchanged.session_capability_inventory(project_dir, force_refresh=True) - If
: the MCP tool will generate the inventory.needs_generation == True - Read
if it exists.CLAUDE-capability-inventory.md
Print summary
Print the standard sync block above, plus:
Capability Inventory: {status} - MCP Tools: {count} - Test Coverage: {percentage} - Critical Untested: {count} - Inventory: {path}