{"id":"4b1060eb-13d2-48ae-97f7-a4aa33c5a462","shortId":"pdBmCM","kind":"skill","title":"restore-checkpoint","tagline":"Load a checkpoint artifact at session start and restore the session state it describes per spec section 4.4 restore rules. Use only when a checkpoint file is explicitly provided at the beginning of a session.","description":"# Restore Checkpoint\n\n## Purpose\nLoad a checkpoint artifact and restore the session state it describes, surfacing any conflicts with active instruction files before any work begins.\n\n## How to Invoke\n\nLoad or attach this file's contents into your AI session to activate the workflow (paste, upload, or reference with `#file:skills/restore-checkpoint/SKILL.md` in VS Code Copilot Chat). In Claude Projects, add it to project knowledge. See [Invoking Skills](../../README.md#invoking-skills) in the README for full platform guidance.\n\n## When To Use\n- At the start of a session when the user provides a checkpoint file.\n- Do not apply checkpoint state mid-session or without the user explicitly providing the artifact.\n\n## Required Inputs\n- The checkpoint artifact file (provided by the user at session start).\n- Active instruction files (user context and project AGENTS.md) already loaded in context.\n\n## Workflow\n1. Read the checkpoint artifact and confirm it contains the `checkpoint: true` marker and all required schema fields per `references/restore-rules.md`.\n2. For each field in the checkpoint, compare it against any values defined in active instruction files.\n3. For each conflict found: surface it explicitly — state the conflicting values from both sources and which source each value comes from.\n4. Ask the user which source to apply for each conflict.\n5. Apply instruction file values as the default for any conflict the user does not respond to.\n6. Present the full resolved session state to the user for confirmation.\n7. Do not begin any task work until the user has confirmed the restored state.\n\n## Output Expectations\n- A clear confirmation summary showing all restored session state values and their sources.\n- Each conflict recorded as resolved, with the winning source noted.\n- Any missing required fields flagged, with the user asked to supply them or apply the instruction file default.\n\n## Resources\n- `references/restore-rules.md` for spec section 4.4.3 restore rules, conflict resolution logic, and examples.\n\n## Constraints And Safety\n- Never apply checkpoint state silently — always confirm with the user first.\n- Instruction files are the default source when the user does not respond to a conflict prompt.\n- If the checkpoint is missing required fields, flag them before proceeding.\n- Checkpoint state is only valid when provided at session start — do not apply it mid-session.","tags":["restore","checkpoint","context","kit","msiccdev","agent-skills","agents","ai-instructions","context-engineering","instructions","llm-context","llm-instructions"],"capabilities":["skill","source-msiccdev","skill-restore-checkpoint","topic-agent-skills","topic-agents","topic-ai-instructions","topic-context","topic-context-engineering","topic-instructions","topic-llm-context","topic-llm-instructions","topic-project-context","topic-user-context"],"categories":["ai-context-kit"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/MSiccDev/ai-context-kit/restore-checkpoint","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add MSiccDev/ai-context-kit","source_repo":"https://github.com/MSiccDev/ai-context-kit","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (2,407 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:30.317Z","embedding":null,"createdAt":"2026-05-18T13:22:21.301Z","updatedAt":"2026-05-18T19:14:30.317Z","lastSeenAt":"2026-05-18T19:14:30.317Z","tsv":"'/../readme.md':105 '1':174 '2':194 '3':211 '4':233 '4.4':21 '4.4.3':336 '5':244 '6':261 '7':273 'activ':57,79,161,208 'add':97 'agents.md':168 'ai':76 'alreadi':169 'alway':352 'appli':134,240,245,326,348,397 'artifact':7,45,147,152,178 'ask':234,321 'attach':69 'begin':35,63,276 'chat':93 'checkpoint':3,6,28,40,44,130,135,151,177,184,200,349,376,385 'claud':95 'clear':291 'code':91 'come':231 'compar':201 'confirm':180,272,284,292,353 'conflict':55,214,221,243,254,304,339,372 'constraint':344 'contain':182 'content':73 'context':165,172 'copilot':92 'default':251,330,362 'defin':206 'describ':17,52 'exampl':343 'expect':289 'explicit':31,144,218 'field':191,197,316,380 'file':29,59,71,87,131,153,163,210,247,329,359 'first':357 'flag':317,381 'found':215 'full':113,264 'guidanc':115 'input':149 'instruct':58,162,209,246,328,358 'invok':66,103,107 'invoking-skil':106 'knowledg':101 'load':4,42,67,170 'logic':341 'marker':186 'mid':138,400 'mid-sess':137,399 'miss':314,378 'never':347 'note':312 'output':288 'past':82 'per':18,192 'platform':114 'present':262 'proceed':384 'project':96,100,167 'prompt':373 'provid':32,128,145,154,391 'purpos':41 'read':175 'readm':111 'record':305 'refer':85 'references/restore-rules.md':193,332 'requir':148,189,315,379 'resolut':340 'resolv':265,307 'resourc':331 'respond':259,369 'restor':2,12,22,39,47,286,296,337 'restore-checkpoint':1 'rule':23,338 'safeti':346 'schema':190 'section':20,335 'see':102 'session':9,14,38,49,77,124,139,159,266,297,393,401 'show':294 'silent':351 'skill':104,108 'skill-restore-checkpoint' 'skills/restore-checkpoint/skill.md':88 'sourc':225,228,238,302,311,363 'source-msiccdev' 'spec':19,334 'start':10,121,160,394 'state':15,50,136,219,267,287,298,350,386 'summari':293 'suppli':323 'surfac':53,216 'task':278 'topic-agent-skills' 'topic-agents' 'topic-ai-instructions' 'topic-context' 'topic-context-engineering' 'topic-instructions' 'topic-llm-context' 'topic-llm-instructions' 'topic-project-context' 'topic-user-context' 'true':185 'upload':83 'use':24,118 'user':127,143,157,164,236,256,270,282,320,356,366 'valid':389 'valu':205,222,230,248,299 'vs':90 'win':310 'without':141 'work':62,279 'workflow':81,173","prices":[{"id":"b90ff0f0-c8b2-4d94-9475-1e2b9c0c431f","listingId":"4b1060eb-13d2-48ae-97f7-a4aa33c5a462","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"MSiccDev","category":"ai-context-kit","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:21.301Z"}],"sources":[{"listingId":"4b1060eb-13d2-48ae-97f7-a4aa33c5a462","source":"github","sourceId":"MSiccDev/ai-context-kit/restore-checkpoint","sourceUrl":"https://github.com/MSiccDev/ai-context-kit/tree/development/skills/restore-checkpoint","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:21.301Z","lastSeenAt":"2026-05-18T19:14:30.317Z"}],"details":{"listingId":"4b1060eb-13d2-48ae-97f7-a4aa33c5a462","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"MSiccDev","slug":"restore-checkpoint","github":{"repo":"MSiccDev/ai-context-kit","stars":6,"topics":["agent-skills","agents","ai","ai-instructions","context","context-engineering","instructions","llm-context","llm-instructions","project-context","user-context"],"license":"mit","html_url":"https://github.com/MSiccDev/ai-context-kit","pushed_at":"2026-05-12T06:56:19Z","description":"AI Context Kit provides a structured, instruction-based framework for context-aware AI collaboration across LLM providers. It includes authoritative specs, canonical templates, and skills workflows for creating and validating user context and project AGENTS.md files.","skill_md_sha":"4b16e36a307bc1565c01fa1b5b47c15318e07ee1","skill_md_path":"skills/restore-checkpoint/SKILL.md","default_branch":"development","skill_tree_url":"https://github.com/MSiccDev/ai-context-kit/tree/development/skills/restore-checkpoint"},"layout":"multi","source":"github","category":"ai-context-kit","frontmatter":{"name":"restore-checkpoint","description":"Load a checkpoint artifact at session start and restore the session state it describes per spec section 4.4 restore rules. Use only when a checkpoint file is explicitly provided at the beginning of a session."},"skills_sh_url":"https://skills.sh/MSiccDev/ai-context-kit/restore-checkpoint"},"updatedAt":"2026-05-18T19:14:30.317Z"}}