/everything-copilot-cli:copilot-memoryfrom everything-copilot-cli
Understands, reviews, and curates GitHub Copilot's repository-level memory — persistent facts reused across Copilot CLI, cloud agent, and code review. Helps manage stale or incorrect memories.
Ships in everything-copilot-cli. 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 Memory is GitHub Copilot's repository-level memory layer. It lets Copilot learn durable facts about a codebase over time and reuse them across Copilot CLI, Copilot cloud agent, and Copilot code review.
This is not the same thing as session history:
cross-session-memory is your local CLI session history and artifactsCopilot Memory is unique because it spans multiple Copilot surfaces for the same repository and is managed through GitHub's Copilot settings and repository controls.
| Instead of copilot-memory | Use |
|---|---|
| You need to recover what happened in earlier CLI sessions | cross-session-memory |
| You want to promote a lesson into repo docs or instructions manually | knowledge-curator |
| You need one-session scratch state or todos | session-management |
Copilot Memory stores repository-specific facts that Copilot infers while working in the repo.
Important properties:
Copilot Memory availability depends on plan and policy:
Before relying on it, verify the feature is enabled for the user or organization. A session can
still have Memory turned off by an experiment even when plan and policy allow it; since CLI 1.0.106,
/memory says so when that happens.
In Copilot CLI, interactive sessions follow your GitHub settings by default. Use /memory (or
/memory show) to check the local setting, /memory off to stop storing and retrieving memories
in the CLI, and /memory on to remove that local opt-out. Prompt-mode runs (copilot -p) have
memory off by default; add --enable-memory to a run that should use it. Account, repository,
and tool-permission restrictions still apply either way.
Copilot does not blindly trust old memories. It checks the cited code locations against the current codebase before using a memory.
That means:
Repository owners can review stored memories on GitHub and delete ones that are wrong, outdated, or misleading. The repository's Memory settings page lists facts only for users with write access who also have user-level preferences enabled for their own account. Copilot cannot delete a memory because you ask it to forget something; delete it from the settings page instead.
Use this when:
If you want Copilot to keep learning the right things:
Copilot Memory works best when the repository already has reliable evidence to cite.
copilot memories importWhen a team already knows facts it wants Copilot to start with, import them from a JSONL file
instead of waiting for Copilot to rediscover them. Each line is one versioned memory object with
the required fields type, version, scope, subject, fact, reason, and citations; a
repository-level fact names the repository in its scope, and you need permission to write
memories for that repository.
copilot memories import memories.jsonl --dry-run # validate the whole file; nothing is submitted
copilot memories import memories.jsonl --output json
--on-conflict skip skips repeated externalId values in the
file and conflicts the memory service reports, but does not make a rerun safe.Do not rely on Copilot Memory for:
Those belong in secure systems, ephemeral notes, or not in Copilot context at all.
| Concern | Copilot Memory | Cross-session session history |
|---|---|---|
| Scope | Repository-wide Copilot memory | Local CLI session history |
| Shared by | CLI, cloud agent, code review | Your local Copilot CLI sessions |
| Storage model | GitHub-managed repository memory | Local session data and session_store |
| Retention | 90 days by default, reset when upvoted | Local historical session record |
| Best use | Stable repository patterns | Recovering past work and artifacts |
| Rationalization | Reality |
|---|---|
| "If Copilot learned it once, the docs no longer matter." | Durable repo docs still matter because memory is validated against the codebase and can expire. |
| "Memory and session history are basically the same." | They solve different problems and live at different layers. |
| "Any repeated pattern should become memory." | Temporary or incorrect patterns should be reviewed or deleted, not reinforced. |
copilot memories import (step 5) only
for reviewed facts you also want available before Copilot rediscovers themcross-session-memory — recover prior CLI session contextknowledge-curator — decide what belongs in durable project guidancecontext-prime — load durable repository context at session startWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 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/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job