save-session
БесплатноЗапускает вложенные скриптыНе проверенSave AI agent session information for later resumption. Use when: (1) Finishing a work session and want to save progress (2) User says "save session"…
от blacktop★ 17 звёзд на GitHubОб этом скилле
Save Session
Save session metadata to docs/.ai/sessions.json for future resumption by any AI agent.
Usage
python3 ~/.agents/skills/save-session/scripts/save_session.py \
--session-id "SESSION_ID" \
--agent "claude" \
--summary "Brief description of work done" \
--repo-root "$(pwd)"
For Codex, you can use automatic detection:
python3 ~/.agents/skills/save-session/scripts/save_session.py \
--session-id auto \
--agent codex \
--summary "Brief description of work done" \
--repo-root "$(pwd)"
Finding Your Session ID by Agent
Claude Code
Session storage: ~/.claude/projects/<project-hash>/<SESSION_ID>.jsonl
How to find:
- Run
echo "$CLAUDE_CODE_SESSION_ID"; Claude Code exports the current session ID to its Bash tool environment - Use
/statuscommand to see session info - List sessions:
claude --resume(interactive picker)
Environment: CLAUDE_CONFIG_DIR changes storage location (default: ~/.claude)
Resume: claude --resume SESSION_ID or claude -r SESSION_ID
OpenAI Codex CLI
Session storage: ~/.codex/sessions/
How to find:
- Run
echo "$CODEX_THREAD_ID"; Codex exports the current thread ID, whichcodex resumetakes, to its shell tool environment - Use
/statuscommand within Codex - Copy from session picker
- List files in
~/.codex/sessions/ - Or pass
--session-id auto(uses latest~/.codex/shell_snapshots/*.shfilename; verify if multiple sessions are active)
Resume: codex resume SESSION_ID
GitHub Copilot CLI
How to find:
- Use
/sessionor/usagecommand to display current session ID - Use
gh agent-task list(requires gh v2.80.0+) - Use
gh agent-task viewfor session details
Resume: /resume SESSION_ID or /resume last
Note: Auto-compaction maintains context across long sessions
Cursor IDE
Session storage: SQLite databases in workspace storage
- macOS:
~/Library/Application Support/Cursor/User/workspaceStorage/ - Linux:
~/.config/Cursor/User/workspaceStorage/ - Windows:
%APPDATA%\Cursor\User\workspaceStorage\
How to find: Sessions stored in .vscdb files as JSON blobs
Note: No built-in session ID. Use SpecStory extension for backup/export.
Aider
Session storage: Chat history in .aider.chat.history.md in repo root
Note: No formal session ID system. History is file-based and can be referenced by timestamp.
Session File Format
{
"sessions": [
{
"id": "uuid-session-id",
"agent": "claude",
"summary": "Implemented multi-platform CI",
"created_at": "2026-01-31T15:45:00Z",
"tags": ["ci", "rust"]
}
]
}
Resuming Sessions
| Agent | Resume Command |
|---|---|
| Claude Code | claude --resume SESSION_ID |
| Codex | codex resume SESSION_ID |
| Copilot CLI | /resume SESSION_ID |
| Cursor | Restore from workspaceStorage backup |
| Aider | Reference .aider.chat.history.md |
Установить save-session в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл save-session?
Save AI agent session information for later resumption. Use when: (1) Finishing a work session and want to save progress (2) User says "save session", "remember this session", or "save your session ID" (3) Before ending a long coding/debugging session (4) When user wants to be able to resume this conversation later Supports Claude, Codex, Copilot, Cursor, and other AI agents.
Как установить скилл save-session?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл save-session запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic