cross-session-memory

cross-session-memory is a skill for Claude Code from drvoss/everything-copilot-cli. It costs 39 tokens per session (2,002 once invoked), scanned A, original, MIT.

A method for finding and restoring context from earlier Copilot CLI sessions, including conversation history, referenced files, notes, and other saved work.

In plain words
What is it for?
Use it to resume previous work, search old sessions for solutions, recover saved plans or analyses, and continue after restarting a terminal.
Why use it?
It prevents developers from having to reconstruct decisions and project state after a session ends or a multi-day task is interrupted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the copilot-native-workflows plugin — 9 skills shipped together

Good fit Use it to resume previous work, search old sessions for solutions, recover saved plans or analyses, and continue after restarting a terminal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drvoss/everything-copilot-cli/cross-session-memory
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 drvoss/everything-copilot-cli --skill cross-session-memory
Clone the repo
git clone --depth 1 https://github.com/drvoss/everything-copilot-cli

Made for: Claude Code.

Or install copilot-native-workflows, the plugin that ships this one along with the rest of its 9 skills.

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 cross-session-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/cross-session-memory/github.svg)](https://agentmods.dev/skills/drvoss/everything-copilot-cli/cross-session-memory)
Your own site
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/cross-session-memory"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/cross-session-memory/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 cross-session-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/cross-session-memory"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/cross-session-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,002 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.02002
Opus 5.5 $0.00016 $0.00801
Sonnet 5.5 $0.00008 $0.00400
Haiku 4.5 $0.00004 $0.00200

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

Security

Grade A, and why

cross-session-memory 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 19d 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.

plugins/copilot-native-workflows/skills/cross-session-memory/SKILL.md · 252 lines

How it starts

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

Cross-Session Memory & Continuity

Why This is Copilot-Exclusive

Copilot CLI maintains a cross-session history store — a read-only SQLite database (session_store) that contains conversation history, file references, and full-text search across all your past sessions. Combined with /resume to continue previous sessions and session artifacts stored in files/, this creates persistent memory across your development workflow. Claude Code can also continue and resume sessions; this skill covers Copilot's own session history, artifacts, and Chronicle.

When to Use

  • Resuming work on a multi-day task
  • Searching past sessions for how you solved a similar problem before
  • Building on artifacts (plans, analyses, configs) from previous sessions
  • Maintaining context continuity across terminal restarts
  • Reviewing what you accomplished in past sessions

Workflow

1. Resume a Previous Session

Use the /resume command to pick up where you left off:

/resume

This lists your recent sessions. Select one to continue with full context restored, including conversation history, file state, and session database.

2. Search Across Sessions

Option A: /chronicle for fast discovery

Start broad with natural-language history lookup:

/chronicle search authentication work from last week
/chronicle search Redis caching setup
/chronicle search payment module architecture decision

Use /chronicle search to find the most relevant sessions, decisions, or artifacts quickly. Once you know which session matters, switch to SQL when you need exact filtering or reproducible queries.

Option B: SQL via session_store

Query the session_store database to find past work:

-- Prefer the search index for text lookup, then join back to sessions
sql(database: "session_store",
    query: "
      SELECT s.id, s.summary, si.source_type
      FROM search_index si
      JOIN sessions s ON s.id = si.session_id
      WHERE search_index MATCH 'authentication OR auth OR login'
      ORDER BY s.updated_at DESC
      LIMIT 10
    ")

Read the full file on GitHub · 252 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. 19d ago Changed · +18 lines 6191be2e1d39
  2. 1mo ago Changed · +1 lines 1d60cae1a0c2
  3. 1mo ago Changed · -2 lines 3f96f5b298e8
  4. 3mo ago First seen · 235 lines · 39 tokens per session scan A 34434a7eb54d

Subscribe to this mod's changes

cross-session-memory is a skill published in the GitHub repository drvoss/everything-copilot-cli (49 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 2,002 once invoked, about $0.0002 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-30.

Related

cross-session-memory compared with skills from other repositories

cross-session-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cross-session-memorydrvoss/everything-copilot-cliSkill49yesterdayMITA39Claude Code
using-total-recallstrvmarv/total-recallSkill17yesterdayMITA30Claude Code
personal-modeRobinNorberg/oh-my-copilotSkill53d agoMITA46Claude Code
developstrvmarv/total-recallSkill17yesterdayMITC35Claude Code
wikiRobinNorberg/oh-my-copilotSkill53d agoMITA19Claude Code
session-flowRobinNorberg/oh-my-copilotSkill53d agoMITA32Claude Code
recallRobinNorberg/oh-my-copilotSkill53d agoMITA44Claude Code