/copilot-native-workflows:cross-session-memoryfrom copilot-native-workflows
Recovers context, decisions, and artifacts across Copilot CLI sessions. Searches session history via /chronicle or SQLite session_store to resume work with the right files and state.
Ships in copilot-native-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
/chronicle for fast discoveryStart 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.
session_storeQuery 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
")
The session_store includes FTS5 (full-text search) for fast, fuzzy searching
across all your historical sessions.
Start broad, then narrow:
search_index with expanded keywordsIf you query sessions directly, use it for structured metadata such as repository, branch, or
date range — not as your primary full-text search surface.
Files created during sessions are stored in the session's files/ directory:
~/.copilot/session-state/<session-id>/files/
These persist after the session ends and can be referenced in future sessions.
When you resume a session, its SQL database is restored:
-- Check where you left off
SELECT id, title, status FROM todos ORDER BY updated_at DESC;
-- Continue from your last in-progress todo
SELECT * FROM todos WHERE status = 'in_progress';
Session 1: "Analyze the codebase architecture and create a summary"
→ Produces architecture analysis in session artifacts
Session 2: /resume → "Update the architecture doc with the new payment module
we added last week"
→ Builds on previous analysis
Session 3: /resume → "Add the performance benchmarks we ran yesterday"
→ Continues evolving the document
Session 1: Plan the refactoring (todos created in SQL)
Session 2: /resume → Execute Phase 1 (update todo statuses)
Session 3: /resume → Execute Phase 2 (pick up from SQL state)
Session 4: /resume → Final verification and cleanup
Anything recalled from an earlier session is a claim about the past, not a fact about the current code. Three habits keep it from quietly steering work in the wrong direction:
git, or an external source, write a short correction note:
what the old note claimed, what is true now, the evidence you checked (with any token, key, or
connection string redacted), and which note it supersedes. session_store is read-only, so the correction belongs in a session artifact or in
durable project documentation. Silently skipping the
bad note leaves the same trap for the next session.active, done, or abandoned). When its goal, scope, or rationale changes materially,
update that same note instead of starting a second one; small course corrections do not count.# Day 1 - Monday
You: "Plan the new notification system"
Copilot: Creates plan, SQL todos, architecture notes
# Day 2 - Tuesday
/resume
You: "Continue with the notification system. Where did we leave off?"
Copilot: Reads SQL todos, sees Phase 1 is done, starts Phase 2
# Day 3 - Wednesday
/resume
You: "Let's finish the notification system and write tests"
Copilot: Picks up from Phase 2 completion, writes tests
You: "Last month I set up a Redis caching layer for something.
Search my past sessions for how I configured it."
sql(database: "session_store",
query: "
SELECT s.id, s.summary
FROM search_index si
JOIN sessions s ON s.id = si.session_id
WHERE search_index MATCH 'redis OR cache OR redis-cache OR caching'
ORDER BY s.updated_at DESC
LIMIT 5
")
Copilot finds the relevant session and extracts the configuration approach.
You: "I did a security audit of the auth module a few weeks ago.
Find that analysis and check if the issues were fixed."
# Search past sessions
# Find the security audit
# Compare findings against current code
# Report which issues are resolved vs still open
# Session 1: Generate a report
You: "Analyze test coverage gaps and create a report"
→ Report saved to session files/
# Session 2: Act on the report
/resume
You: "Now implement the missing tests from our coverage analysis"
→ Reads the report from session artifacts, generates tests
For research notes or reference material that should outlive a single session but stay isolated from active code edits, keep them in a dedicated docs or notes worktree instead of mixing them into the main checkout.
Good uses:
Guardrails:
/chronicle search for fast discovery, then query
search_index or session tables when you need precision.todos table persists when you resume.
Use it as a persistent task tracker across days.session_store but not write
to it. It's automatically populated from your session history.search_index, then inspect matching turns
or checkpoints instead of guessing from titles alone.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/autopilot-patternsUse when you're ready to let Copilot execute a multi-step plan autonomously — configures appropriate guardrails, handles plan-to-autopilot transitions, and sets safety boundaries./background-agentUse when a task is too long to block the current session or should run autonomously — delegates to a cloud background agent via & or /delegate so work can continue on GitHub while you keep moving locally, not in a local async PowerShell session.npx claudepluginhub drvoss/everything-copilot-cli --plugin copilot-native-workflows2 plugins in one repository ship this exact skill · first indexed Nov 13, 2026
Other plugins' skills for the same job