{"id":50998983,"url":"https://github.com/dd3ok/savepoint","last_synced_at":"2026-06-20T12:34:20.408Z","repository":{"id":355337106,"uuid":"1227687117","full_name":"dd3ok/savepoint","owner":"dd3ok","description":"Agent skill for creating verified savepoints so coding work continues in a fresh session without chat history.","archived":false,"fork":false,"pushed_at":"2026-06-10T06:15:28.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T06:25:11.670Z","etag":null,"topics":["agent-skill","ai-agent","codex-skill","developer-tools","openai-skill","python","session-handoff"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dd3ok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-03T02:56:25.000Z","updated_at":"2026-06-10T06:15:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dd3ok/savepoint","commit_stats":null,"previous_names":["dd3ok/agent-session-continuity","dd3ok/savepoint"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dd3ok/savepoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd3ok%2Fsavepoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd3ok%2Fsavepoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd3ok%2Fsavepoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd3ok%2Fsavepoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dd3ok","download_url":"https://codeload.github.com/dd3ok/savepoint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dd3ok%2Fsavepoint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34570538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skill","ai-agent","codex-skill","developer-tools","openai-skill","python","session-handoff"],"created_at":"2026-06-20T12:34:16.422Z","updated_at":"2026-06-20T12:34:20.389Z","avatar_url":"https://github.com/dd3ok.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Savepoint\n\nA repo/Git savepoint artifact for coding-agent handoff after compaction, reset, or transfer.\n\nSavepoint creates or verifies `.savepoint/SAVEPOINT.md` so a fresh agent can continue from current repo/Git state without prior chat context. It records the repo snapshot, validation posture, redaction status, and resume prompt that a plain summary can miss.\n\nSavepoint is not a lightweight conversation summary. It is a recoverable repo/Git checkpoint; use `/savepoint text` or an ordinary summary when file recovery is unnecessary.\n\n## 30-second usage\n\n```text\n/savepoint        Create or refresh .savepoint/SAVEPOINT.md.\n/savepoint save   Same as default.\n/savepoint load   Verify an existing savepoint and report whether continuation is safe.\n/savepoint text   Print a copy-paste handoff only; no file recovery guarantee.\n```\n\nIf a client does not pass custom slash prompts through, use the natural-language equivalent: `Use $savepoint to save`, `Use $savepoint to load`, or `Use $savepoint to create a text handoff`.\n\n[Korean README](README.ko.md)\n\n## Install\n\nFrom a clone of this repository, preview first:\n\n```bash\n# Claude user install\npython3 scripts/install.py --target claude --scope user\n\n# Codex repo install\npython3 scripts/install.py --target codex --scope repo --repo-root /path/to/target-repo --add-gitignore\n```\n\nApply after reviewing the destination:\n\n```bash\npython3 scripts/install.py --target claude --scope user --apply\npython3 scripts/install.py --target codex --scope repo --repo-root /path/to/target-repo --apply --add-gitignore\n```\n\nThe helper defaults to dry-run, refuses existing destinations, and writes files only with `--apply`. With repo-scope install, `--add-gitignore` appends `.savepoint/`.\n\nQuick check from this repository:\n\n```bash\npython3 scripts/savepoint.py validate --allow-example-paths examples/file-bugfix/SAVEPOINT.md\n```\n\nOn Windows, prefer the install helper or a normal Git clone/worktree. Archive extraction tools can mishandle symlinks.\n\n## When to use\n\n- The context window is full or likely to compact.\n- You are about to reset or transfer a coding-agent session.\n- A multi-file refactor needs a verifiable resume point.\n- Codex, Claude, Gemini, or an external orchestrator must hand off repo state.\n\n## Choosing a handoff\n\n- Use an ordinary summary when no repo recovery is needed.\n- Use `/savepoint text` for a copy-paste note without file recovery.\n- Use `/savepoint` when the next agent must verify disk/Git state before continuing.\n\n## When not to use\n\n- A short ordinary summary is enough.\n- The user asks about SQL `SAVEPOINT`.\n- The request is only `/status`, `/new`, compaction policy, PTY control, or session rotation.\n- The user asks for direct code/docs edits without checkpoint intent, or an app feature named savepoint.\n- Git commit, stash, or branch history is the right tool.\n\n## What it guarantees\n\n- File mode writes `.savepoint/SAVEPOINT.md`.\n- The artifact includes a repo/Git snapshot, `## Resume Prompt`, and one final `SAVEPOINT_V1` marker block.\n- Generated artifacts receive pattern-based secret-like scans before `REDACTION_CHECKED: yes`.\n- The bundled validator checks marker shape and safe-resume fields.\n- On load, current disk state wins over savepoint text.\n\n## Example load report\n\nA typical `/savepoint load` report answers whether a fresh agent can continue safely:\n\n```text\nLoaded: .savepoint/SAVEPOINT.md\nGit root: matches\nBranch: feature/auth matches\nHEAD: matches\nWorking tree drift: none\nRequired files: present\nDetail artifacts: none needed\nRedaction: checked\nSavepoint validation: passed\nProject validation: passed\nRESUME_READY: yes\nNext action: run npm test -- tests/auth/session.test.ts\n```\n\n## What it does not guarantee\n\n- Tests pass.\n- The code is correct.\n- The task is complete.\n- Future conflicts are impossible.\n- Repo recovery from text mode.\n\n## Minimal CLI workflow\n\nThe portable skill entrypoint is `skills/savepoint/scripts/savepoint.py`; repository-local commands use `scripts/savepoint.py`.\n\n`inspect --json` exits `0` when the file and marker are valid, `1` when a savepoint-like file is parsed but invalid, and `2` when the file cannot be read or is not a savepoint artifact.\n\nMinimal file workflow:\n\n```bash\npython3 scripts/savepoint.py init-input --output .savepoint/input.json\n$EDITOR .savepoint/input.json\npython3 scripts/savepoint.py save --input .savepoint/input.json --output .savepoint/SAVEPOINT.md --assert-no-active-commands --scan-redaction --validate\npython3 scripts/savepoint.py inspect .savepoint/SAVEPOINT.md --json\n```\n\nUse `validation.project.status` values `passed`, `failed-expected`, `failed-blocking`, `not-run-justified`, or `not-run-unknown`. With `--scan-redaction`, the input JSON is scanned before rendering; do not put raw secrets in `.savepoint/input.json`.\n\n## Runtime boundary\n\nNormal create/load should use only:\n\n- `skills/savepoint/SKILL.md`\n- `skills/savepoint/scripts/savepoint.py`\n- `skills/savepoint/references/*.md` only for advanced edge cases\n- `skills/savepoint/schemas/savepoint-v1.schema.json` only when debugging marker schema\n\nExamples, evals, maintainer docs, and repository validation scripts are not normal agent context.\n\n## Examples\n\n- `examples/README.md`: scenario index.\n- `examples/file-bugfix/`: small file savepoint.\n- `examples/file-architecture/`: savepoint with focused `details/*.md` spillover.\n- `examples/load-report/`: sample load reports.\n- `examples/text-note/`: response-only `/savepoint text` note.\n- `examples/unsafe-savepoint/`: intentionally unsafe `RESUME_READY: no` artifact.\n\n## Maintainer docs\n\nUse `scripts/savepoint.py validate .savepoint/SAVEPOINT.md` for generated artifacts.\n\n- Repository change validation: `AGENTS.md`.\n- Marker and safe-resume semantics: `docs/reference/savepoint-contract.md`.\n- Compact packaging guidance: `docs/reference/context-packaging.md`.\n- Manual artifact fallback: `docs/reference/savepoint-template.md`.\n\n## Orchestrators\n\nExternal PTY controllers may parse the final `SAVEPOINT_V1` block and decide whether to rotate sessions. This skill only prepares file artifacts or text notes; orchestration remains outside the skill.\n\nSee `orchestrators/session-rotation.md`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd3ok%2Fsavepoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdd3ok%2Fsavepoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdd3ok%2Fsavepoint/lists"}