Agent skill

Context Resumption

by FoundationDB in FoundationDB/fdb-record-layer

Rebuild working context after a session restart. An agent skill from FoundationDB/fdb-record-layer.

Apache-2.0Auto-check passedAgent Workflows

Install Context Resumption

skills CLI
$ npx skills add FoundationDB/fdb-record-layer --skill context-resumption -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FoundationDB/fdb-record-layer context-resumption --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/context-resumption .claude/skills/context-resumption && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-resumption
GitHub stars
675
Token cost
~467 tokens
SKILL.md length
116 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Rebuild working context after a session restart. An agent skill from FoundationDB/fdb-record-layer.

  • Works in 6 steps: Determine the work area → Read recent branch commits → Check for an open PR → …
  • Tasks that involve Session handoff
  • SKILL.md covers Process, Output format and Arguments: $ARGUMENTS
  • Calls git and gh

What it does

Context Resumption is an agent skill from FoundationDB/fdb-record-layer. Rebuild working context after a session restart. Reads branch state, recent commits, open PRs, and changed files to produce a "what was I doing" summary. Some example usages: "/context-resumption" "What was I working on?" "Resume work on PR 1234"

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Session handoff. The repository describes itself as: A relational database with SQL support built on FoundationDB. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Session handoff

Example prompts

  • “what was I doing”
  • “/context-resumption”
  • “What was I working on?”
  • “/context-resumption”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Determine the work area
  2. Read recent branch commits
  3. Check for an open PR
  4. Look for a saved context file in .claude/context/ or the repo root matching
  5. Read key changed files
  6. Produce the context summary (see format below).

What it can do on your machine

Read from SKILL.md and the folder at commit 20a2376. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Resumption loads about 467 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 116 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~467

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FoundationDB/fdb-record-layer at commit 20a2376, republished under its Apache-2.0 licence (© FoundationDB). 116 words, ~467 tokens.

Download SKILL.mdSave it as .claude/skills/context-resumption/SKILL.md (or your agent's skills folder).
name
context-resumption
description
Rebuild working context after a session restart. Reads branch state, recent commits, open PRs, and changed files to produce a "what was I doing" summary. Some example usages: "/context-resumption" "What was I working on?" "Resume work on PR #1234"

This is a read-only skill. It does not modify any files.

Process

  1. Determine the work area

    git status
    git branch --show-current
  2. Read recent branch commits

    git log main...HEAD --oneline
    git log -10 --oneline   # if on main or branch unclear
  3. Check for an open PR

    gh pr view --json title,url,state,body,reviews,comments 2>/dev/null
  4. Look for a saved context file in .claude/context/ or the repo root matching context-*.md or *-notes.md.

  5. Read key changed files

    git diff main...HEAD --name-only

    Read the most recently modified files to understand the current state.

  6. Produce the context summary (see format below).

Output format

## Context Summary

**Branch**: <branch-name>
**PR**: <#number — title> | <open/draft/none>

### What's been done
- <chronological bullet from oldest to newest commit/change>
- ...

### Current state
<1-3 sentences: what is the code in right now? does it compile? are tests passing?>

### Open review feedback
<any unresolved PR comments or review requests, if a PR exists>

### Key files
- `path/to/file.java` — <why it matters>
- ...

### Likely next steps
- <inferred from commit messages, PR description, open comments>

Keep the summary tight — it should fit in one screen. If you have the PR or issue number, link to it.

Arguments: $ARGUMENTS

  • PR number or URL → focus on that PR's context.
  • Branch name → check out context for that branch.
  • No argument → use current branch.

© FoundationDB, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/context-resumption of FoundationDB/fdb-record-layer.

Open the folder on GitHubat commit 20a2376

Compare with similar skills

Context Resumption next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Resumption compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Resumption this skillFoundationDB/fdb-record-layer675—~467Automated safety check: PassApache-2.0
Orca CLIstablyai/orca87k2 repos~593Automated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT
Paseo Agent Handoffgetpaseo/paseo20k1 repos~606Automated safety check: PassCustom licence
Memori Long-Term MemoryMemoriLabs/Memori17k—~2kAutomated safety check: NotesCustom licence

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    87k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check: notes
  • Beads

    liwp/again

    A skill your agent uses when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker management, multi-session handoff, or shared work memory.

    118 GitHub starsUsed in 6 repos~537 tokens
    Agent WorkflowsAuto-check passed

More from FoundationDB/fdb-record-layer

All 10 skills in this repo
  • Relational Query Processor

    FoundationDB/fdb-record-layer

    Specialized skill for working in the fdb-relational-core SQL processing layer — parser, plan generator, and Cascades planner.

    675 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Using Gradle

    FoundationDB/fdb-record-layer

    A skill your agent uses when you need to build the project, compile code, or run tests.

    675 GitHub stars~705 tokensUpdated today
    Auto-check passed
  • Docs Writer

    FoundationDB/fdb-record-layer

    Write or update documentation in docs/sphinx/source/. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~925 tokensUpdated today
    Auto-check passed
  • Frl Coding Standard

    FoundationDB/fdb-record-layer

    Coding standards for all Java code in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Frl Test Coding Standard

    FoundationDB/fdb-record-layer

    Standards for writing tests in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~792 tokensUpdated today
    Auto-check passed
  • Stacked PRs

    FoundationDB/fdb-record-layer

    Create and manage stacked pull requests on FoundationDB/fdb-record-layer using the gh stack CLI extension.

    675 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Categories

Questions about Context Resumption

What does Context Resumption do?

Rebuild working context after a session restart. An agent skill from FoundationDB/fdb-record-layer. Context Resumption is an agent skill from FoundationDB/fdb-record-layer. Rebuild working context after a session restart.

When should I use Context Resumption?

Context Resumption fits situations like: tasks that involve Session handoff.

How do I install Context Resumption in Claude Code?

Run `npx skills add FoundationDB/fdb-record-layer --skill context-resumption -a claude-code`. Or copy the skill folder (.claude/skills/context-resumption in FoundationDB/fdb-record-layer) into .claude/skills/context-resumption in your project. Claude Code loads it when a task matches its description.

How do I install Context Resumption in Codex?

Run `npx skills add FoundationDB/fdb-record-layer --skill context-resumption -a codex`. Or copy the skill folder (.claude/skills/context-resumption in FoundationDB/fdb-record-layer) into .agents/skills/context-resumption in your project. Codex loads it when a task matches its description.

Can I use Context Resumption in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FoundationDB/fdb-record-layer --skill context-resumption -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-resumption, .gemini/skills/context-resumption, .github/skills/context-resumption and .opencode/skills/context-resumption in your project.

What does Context Resumption need to run?

Going by SKILL.md and its folder, Context Resumption needs the command-line tools its instructions call (git and gh).

Does Context Resumption access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Context Resumption safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Resumption use?

Context Resumption is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Resumption use?

About 467 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Resumption?

Skills that share tags, products or a category with Context Resumption: Orca CLI (stablyai/orca, 87k stars), Beads Task Memory (gastownhall/beads, 28k stars), Session History Search (slopus/happy, 24k stars) and Paseo Agent Handoff (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Resumption?

FoundationDB (a GitHub organization) maintains it in FoundationDB/fdb-record-layer, which has 675 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.

Source: FoundationDB/fdb-record-layer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.