Copilot CLI Local Memory: say “remember this” and carry on working #4661
shankarnarayanb
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Most things I want Copilot CLI to remember appear halfway through real work.
It might be a deployment guardrail, an API caveat, or a decision I don’t want to explain again in the next session.
I know I can stop and edit a Copilot instruction file manually. What I wanted was a quicker capture step:
“Save this decision to local memory.”
Then carry on working.
So I built Copilot CLI Local Memory, a small open-source plugin that turns explicit save requests into modular Copilot instruction files.
Save something using natural language or a command:
Start a new session and Copilot can recall it.
I deliberately kept the implementation small:
.instructions.mdfile on your machine.You can inspect, edit, back up or delete the files yourself. Memories can also be scoped to matching files instead of applying globally.
Install it as a Copilot CLI plugin:
Verify the installation inside Copilot CLI:
I have tested the current release on Windows. I’d particularly appreciate macOS and Linux testing, along with feedback on three questions:
Repository:
https://github.com/shankarnarayanb/copilot-cli-local-memory
Current release:
https://github.com/shankarnarayanb/copilot-cli-local-memory/releases/tag/v1.1.1
I’m the author, and the project is MIT licensed.
All reactions