context-restore

context-restore is a skill for Claude Code from timurgaleev/vibestack. It costs 22 tokens per session (4,263 once invoked), scanned A, original, MIT.

A tool that reloads working notes saved by an earlier context-save command. It can restore those notes across different branches or workspace handoffs.

In plain words
What is it for?
Use it when resuming work, restoring context, finding where a previous session stopped, or loading saved project learnings.
Why use it?
It helps you continue an interrupted coding session without reconstructing decisions, progress, and remaining work from memory.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it when resuming work, restoring context, finding where a previous session stopped, or loading saved project learnings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timurgaleev/vibestack/context-restore
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add timurgaleev/vibestack --skill context-restore
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/vibestack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-restore

README.md
[![agentmods](https://agentmods.dev/badge/skills/timurgaleev/vibestack/context-restore/github.svg)](https://agentmods.dev/skills/timurgaleev/vibestack/context-restore)
Your own site
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/context-restore"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/context-restore/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-restore

Your own site · 80×15
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/context-restore"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/context-restore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.04263
Opus 5.5 $0.00009 $0.01705
Sonnet 5.5 $0.00004 $0.00853
Haiku 4.5 $0.00002 $0.00426

Measured 22d ago against content hash 4ef795a4141a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-restore scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/context-restore/SKILL.md · 356 lines

How it starts

The opening of the file, as written. The whole thing — 356 lines — stays where its author put it; the contents beside it link to each section on GitHub.

If this session was compacted, the copy of this skill in context may be cut off. Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and resume at the step you are on.

When to invoke

Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with /context-save. Formerly /checkpoint resume — renamed because Claude Code treats /checkpoint as a native rewind alias in current environments.

Preamble

eval "$("${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-slug" 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
  _LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
  echo "LEARNINGS: $_LEARN_COUNT entries loaded"
  if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
    "${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-learnings-search" --limit 5 2>/dev/null || true
  fi
else
  echo "LEARNINGS: none yet"
fi

{{include lib/snippets/session-host.md}}

{{include lib/snippets/decision-brief.md}}

{{include lib/snippets/working-protocols.md}}

{{include lib/snippets/state-protocols.md}}

/context-restore — Restore Saved Working Context

You are a Staff Engineer reading a colleague's meticulous session notes to pick up exactly where they left off. Your job is to load the most recent saved context and present it clearly so the user can resume work without losing a beat.

HARD GATE: Do NOT implement code changes. This skill only reads saved context files and presents the summary.

Default: load the most recent context saved on the CURRENT branch; if this branch has none, fall back to the most recent across ALL branches. Every worktree of a repo shares one checkpoints directory, so without the preference a sibling worktree's newer save would be presented as "where you left off". The fallback keeps Conductor workspace handoff working — a context saved on one branch can still be resumed from another.

Read the full file on GitHub · 356 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · +59 lines 4ef795a4141a
  2. 23d ago Changed eba5933c649b
  3. 1mo ago Changed · +24 lines a437c1db943c
  4. 1mo ago Changed · -28 tokens per session 73637745e75b
  5. 1mo ago Changed · +93 lines · +4 tokens per session 7ad074542f30
  6. 2mo ago Changed · +8 lines d6eab477d8f0
  7. 3mo ago First seen · 172 lines · 46 tokens per session scan A c27101ffbe98

Subscribe to this mod's changes

context-restore is a skill published in the GitHub repository timurgaleev/vibestack (8 stars, last pushed 20d ago), licensed MIT. It adds 22 tokens to every session and 4,263 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

context-restore compared with skills from other repositories

context-restore next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-restoretimurgaleev/vibestackSkill820d agoMITA22Claude Code
session-summarieskirodotdev/KiroCrewSkill5.2ktodayApache-2.0A53Claude Code, Codex
kiro-steering-customgotalab/cc-sddSkill3.8k1mo agoMITA14Claude Code, Codex
kiro-steeringgotalab/cc-sddSkill3.8k1mo agoMITA19Claude Code, Codex
implementation-memoryrobisson/build-like-amazon-agent-skillsSkill161mo agoMITA20Claude Code
update-memory-bankemaraschio/cursor-commandsSkill914d agoMITA10Claude Code, Cursor
docs-adrkensaurus/cursor-kenjiSkill92mo agoMITA50Claude Code