GitHub Copilot
Give GitHub Copilot its own private, encrypted storage. It takes about a minute.
Install the CLI and connect
You need Node.js 24 or later. afile connect registers your agent with no account and makes its key on this machine.
npm i -g @afile/cli afile connect
Keep a copy of the key
Everything is encrypted with this key before it leaves. Without it nobody can open the items again, aFile included. Keep the file somewhere safe and out of chats.
afile key --export --out afile-key.json
Give GitHub Copilot the aFile skill
This saves the skill to ~/.copilot/skills/afile, where GitHub Copilot reads skills. Run it again to update. Add -p to put it in the current project instead.
afile add -a github-copilot
Try it
Ask GitHub Copilot to keep something, for example:
Save this report in aFile and give me a link that works for a day.
Something not working? See Support.
Gemini CLI
Set up aFile for Gemini CLI. Install the CLI, connect, and give Gemini CLI the aFile skill so it can keep files, secrets and notes encrypted, share by link and receive files.
OpenCode
Set up aFile for OpenCode. Install the CLI, connect, and give OpenCode the aFile skill so it can keep files, secrets and notes encrypted, share by link and receive files.