一键导入
sync
Sync session context to memory and project files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync session context to memory and project files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Look up any arxiv paper on alphaxiv.org to get a structured AI-generated overview. This is faster and more reliable than trying to read a raw PDF.
Generate or edit image artifacts by delegating to Codex CLI's built-in image generation tool; do not use for standalone image analysis, PNG reading, or visual QA.
Write git commit messages that state what changed. Apply when creating, amending, or proposing a commit message.
Python coding standards covering language, types, style, and patterns. Apply when writing, editing, or reviewing Python files, including pyproject.toml.
| name | sync |
| description | Sync session context to memory and project files |
| allowed-tools | Bash(uv run *), Read, Glob, Grep |
Sync the current session's context to persistent files for cross-session continuity.
Never use Bash when a dedicated tool exists. No exceptions:
ls, find → Globgrep, rg → Grepcat, head, tail → ReadBash is only for the extraction script (uv run).
Run the extraction script to get the full conversation transcript:
uv run ~/.claude/skills/sync/scripts/extract-session.py
This outputs only user messages and Claude text responses, stripped of tool calls, images, progress messages, and system reminders.
Also read the current state of these files (if they exist):
.claude/CLAUDE.md~/.claude/CLAUDE.md (to avoid duplicating what's already there)Write what future-you needs to pick up where you left off:
Do NOT include:
Keep it under 180 lines (auto-load limit is 200). Organize by topic, not chronologically. Merge with existing content and remove outdated entries.
Only update if project structure, conventions, or constraints have genuinely changed. Most sessions won't need CLAUDE.md changes.
Examples of when to update:
Review the conversation for recurring patterns about how the user prefers to
work, communicate, or be assisted. Surface anything that should become a
permanent rule in ~/.claude/CLAUDE.md.
Present suggestions as a short list. For each:
Do NOT edit general.md directly. Only suggest. The user decides what to add.
Show a brief summary: