[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108018":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":14,"starSnapshotCount":14,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},108018,"save-session","jemshit\u002Fsave-session","jemshit","Save, list, and resume AI coding-agent sessions by project title — one ledger per harness: Pi, Claude Code, Codex, Antigravity, OpenCode.","",null,"Python",213,1,0,160,70.9,"MIT License",false,"main",[21,22,23,24,25,26,27,28],"agent-skills","ai-agent","ai-agents","antigravity","claude-code","codex","opencode","session-management","2026-10-20 18:32:23","2026-11-21 05:57:02","# save-session\n\n**Stop losing track of your AI coding sessions.**\n\nYou are deep in one coding-agent session, switch tools for another task, and a week later cannot\nremember which session had the useful context—or how to get back into it. Session ids are opaque,\neach harness resumes differently, and using the wrong directory can open another project's history.\n\n`save-session` gives every supported coding agent the same simple workflow: bookmark the session\nyou are in under a name you will remember, then find and resume it later with the exact command and\nworking directory handed back to you.\n\n```text\nsave this session — project is \"heap benchmark\"     →  one bookmark written\nshow me my saved sessions                            →  saved work listed\nresume the heap benchmark session                    →  exact command + working directory\n```\n\n## Why install it?\n\n- **One skill, five harnesses.** Use the same requests in Pi, Claude Code, Codex, Antigravity CLI,\n  and OpenCode.\n- **It never guesses.** If detection is uncertain, it asks before saving or presenting a session\n  as the right one.\n- **No ids or flags to memorize.** Ask by project name and get the harness's native resume command.\n- **Plain text on your machine.** Bookmarks are small, human-readable Markdown files. The skill\n  adds no server, account, or hosted database.\n\n## Install\n\nFor Agent Skills-compatible harnesses, including Codex and OpenCode:\n\n```bash\nnpx skills add jemshit\u002Fsave-session -g\n```\n\nOmit `-g` to install only for the current project.\n\nFor Claude Code as a plugin:\n\n```bash\nclaude plugin marketplace add jemshit\u002Fsave-session\nclaude plugin install save-session@save-session\n```\n\nFor Pi:\n\n```bash\npi install git:github.com\u002Fjemshit\u002Fsave-session\n```\n\n## How it works\n\n**Save** detects the current session id, model, and working directory, then stores one bookmark\nunder the project title you provide. If the same session already has another title, it asks whether\nto keep or replace it. If another session uses the same title, it safely adds `- 2`, `- 3`, and so\non. Similar-looking titles are shown for confirmation instead of being merged automatically.\n\n**Find and resume** searches by project title or lists the current harness's bookmarks, then returns\nthe exact native resume command and the directory to run it from. Finding is read-only.\n\nRecords live in one Markdown file per harness under `~\u002F.agents\u002Fmemories\u002Fsessions\u002F` because session\nids do not translate across harnesses. Set `AGENTS_MEMORIES_DIR` to use another location.\n\n```markdown\n# Sessions — Pi\n\n## heap benchmark\n- saved: 2026-10-16T23:40:00Z\n- session_id: 11111111-2222-3333-4444-555555555555\n- model: provider\u002Fmodel-name\n- dir: \u003Cabsolute path to the project>\n```\n\n## Supported harnesses\n\n| Harness | Session detection | Resume command |\n|---|---|---|\n| Pi | Current `PI_SESSION_ID` | `pi --session \u003Cid>` |\n| Claude Code | Environment hint validated against the project transcript when available | `claude --resume \u003Cid>` |\n| Codex | Local rollout matched to the current working directory | `codex resume \u003Cid>` |\n| Antigravity CLI | Older conversation cache; newer installs currently require an explicit id | `agy --conversation \u003Cid>` |\n| OpenCode | `opencode session list` or the local session store | `opencode --session \u003Cid>` |\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","save-session 是一个用于统一管理 AI 编程智能体（coding-agent）会话的本地命令行工具。它支持 Pi、Claude Code、Codex、Antigravity 和 OpenCode 等多种 AI 编程环境，提供基于项目名称的会话保存、列表查看与精准恢复功能；所有记录以轻量、可读的 Markdown 文件本地存储，不依赖服务器或账户，且通过显式确认机制避免误操作。适用于多任务切换频繁、需跨时间\u002F工具复用上下文的 AI 辅助编程场景，尤其适合中短期项目迭代与实验性代码开发。",2,"2026-11-24 04:33:18","CREATED_QUERY"]