inbox-memory
Skill65 starsChanged 16 days agoMITView on GitHub
Read and write agent storage — memory and rules with environment-aware fallback
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- manage-bansSkill
- build-healthSkill
- setup-component-explorer-fullSkill
- setup-component-explorer-lightSkill
- setup-component-explorerSkill
- use-component-explorerSkill
- debugSkill
- inbox-add-reactionSkill
- inbox-dismiss-notificationSkill
- inbox-get-notification-detailsSkill
- inbox-install-gh-cliSkill
- inbox-list-notificationsSkill
- inbox-manage-subscriptionSkill
- inbox-mark-all-readSkill
- inbox-open-notificationSkill
- inbox-search-issuesSkill
- inbox-setupSkill
- council-planSkill
- council-reviewSkill
- monitor-prSkill
- my-issuesSkill
- my-work-setupSkill
- my-work-uiSkill
- generate-presentationSkill
- generate-videoSkill
- review-areasSkill
- review-planSkill
- session-timelineSkill
- generate-test-videoSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Check for existing CLI memory: see if ~/.copilot/github-inbox-memory.md or ~/.copilot/github-inbox-rules.md exist and are non-empty (use ls …
- Very specific: line 36
If #memory is unavailable → use file system (~/.copilot/).
- Very specific: line 37
If #memory is available AND ~/.copilot/ has NO existing inbox files → use #memory.
- Very specific: line 38
If #memory is available AND ~/.copilot/ has existing inbox files → ASK the user with #askQuestions which backend to use.
- Very specific: line 53
Read ~/.copilot/github-inbox-memory.md or ~/.copilot/github-inbox-rules.md using #read (VS Code) or #view (CLI).
- Very specific: line 62
If the file doesn't exist yet, skip the delete and just use create.
- Very specific: line 65
Ensure ~/.copilot/ exists: mkdir -p ~/.copilot
- Very specific: line 66
Write the file using #edit or via terminal: write full content to ~/.copilot/github-inbox-memory.md.
- Distinctive: line 70
Always read before writing to avoid losing existing content
- Distinctive: line 72
Keep memory under 100 lines — deduplicate, keep last 5 session logs, be concise
- Very specific: line 73
NEVER use repo memory (/memories/repo/) — only the files listed above
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Inbox Memory
This skill reads and writes persistent memory and rules files for the Inbox agent. It abstracts storage so all agents use a single skill instead of calling #memory directly.
File names
- Memory:
github-inbox-memory.md— session context, patterns, preferences - Rules:
github-inbox-rules.md— user's rules and preferences
Storage strategy
Two possible backends:
#memorytool (VS Code Chat) — stores under the virtual path/memories/- File system (
~/.copilot/) — used by Copilot CLI; also usable from VS Code Chat~/.copilot/github-inbox-memory.md~/.copilot/github-inbox-rules.md
How to pick a backend (run ONCE per session, cache the choice)
- Detect availability of
#memory: try{ "command": "view", "path": "/memories/github-inbox-memory.md" }. If the tool itself errors as unavailable,#memoryis NOT available. - Check for existing CLI memory: see if
~/.copilot/github-inbox-memory.mdor~/.copilot/github-inbox-rules.mdexist and are non-empty (usels -la ~/.copilot/or#view). - Decide:
- If
#memoryis unavailable → use file system (~/.copilot/). No prompt. - If
#memoryis available AND~/.copilot/has NO existing inbox files → use#memory. No prompt. - If
#memoryis available AND~/.copilot/has existing inbox files → ASK the user with#askQuestionswhich backend to use. Show them what was found (file names + sizes or a one-line preview). Options:- "Use
~/.copilot/(existing CLI memory)" — recommended when CLI files exist - "Use VS Code
#memory(start fresh / keep VS Code-only)" - "Use VS Code
#memoryand import from~/.copilot/" — copy current CLI files into#memoryonce
- "Use
- If
- Cache the chosen backend for the rest of the session and use it for ALL subsequent reads and writes. Do NOT mix backends within a session.
Reading
Via #memory:
{ "command": "view", "path": "/memories/github-inbox-memory.md" }
{ "command": "view", "path": "/memories/github-inbox-rules.md" }Via file system (fallback):
Read ~/.copilot/github-inbox-memory.md or ~/.copilot/github-inbox-rules.md using #read (VS Code) or #view (CLI). If the file doesn't exist, treat as empty / first-time user.
Writing
Via #memory:
{ "command": "delete", "path": "/memories/github-inbox-memory.md" }
{ "command": "create", "path": "/memories/github-inbox-memory.md", "file_text": "<content>" }If the file doesn't exist yet, skip the delete and just use create.
Via file system (fallback):
- Ensure
~/.copilot/exists:mkdir -p ~/.copilot - Write the file using
#editor via terminal: write full content to~/.copilot/github-inbox-memory.md.
Rules
- Always read before writing to avoid losing existing content
- Memory and rules are separate files — don't mix them
- Keep memory under 100 lines — deduplicate, keep last 5 session logs, be concise
- NEVER use repo memory (
/memories/repo/) — only the files listed above
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

