inbox-memory

द्वारा microsoft

एजेंट स्टोरेज को पढ़ें और लिखें — पर्यावरण-जागरूक फ़ॉलबैक के साथ मेमोरी और नियम

npx skills add https://github.com/microsoft/vscode-team-kit --skill inbox-memory

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:

  • #memory tool (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)

  1. Detect availability of #memory: try { "command": "view", "path": "/memories/github-inbox-memory.md" }. If the tool itself errors as unavailable, #memory is NOT available.
  2. 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 -la ~/.copilot/ or #view).
  3. Decide:
    • If #memory is unavailable → use file system (~/.copilot/). No prompt.
    • If #memory is available AND ~/.copilot/ has NO existing inbox files → use #memory. No prompt.
    • If #memory is available AND ~/.copilot/ has existing inbox files → ASK the user with #askQuestions which 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 #memory and import from ~/.copilot/" — copy current CLI files into #memory once
  4. 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):

  1. Ensure ~/.copilot/ exists: mkdir -p ~/.copilot
  2. Write the file using #edit or 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

microsoft की और Skills

oss-growth
microsoft
OSS ग्रोथ हैकर व्यक्तित्व
official
accessibility-aria-expert
microsoft
React/Fluent UI वेबव्यू में पहुँच संबंधी समस्याओं का पता लगाता है और उन्हें ठीक करता है। स्क्रीन रीडर संगतता के लिए कोड की समीक्षा करते समय, ARIA लेबल ठीक करते समय, सुनिश्चित करते समय उपयोग करें…
official
generate-canvas-app
microsoft
[पुराना हो चुका है — इसके बजाय canvas-app का उपयोग करें] एक पूर्ण Power Apps कैनवास ऐप जनरेट करें।
official
django
microsoft
Django वेब डेवलपमेंट के लिए सर्वोत्तम अभ्यास जिसमें मॉडल, व्यू, टेम्पलेट और परीक्षण शामिल हैं।
official
github-issue-creator
microsoft
कच्चे नोट्स, एरर लॉग्स, वॉइस डिक्टेशन या स्क्रीनशॉट को साफ-सुथरे GitHub-फ्लेवर्ड मार्कडाउन इश्यू रिपोर्ट्स में बदलें। तब उपयोग करें जब उपयोगकर्ता बग जानकारी, एरर…
official
python-package-management
microsoft
निर्भरता प्रबंधन के लिए uv और कार्य स्वचालन के लिए poethepoet का उपयोग करता है।
official
runtime-validation
microsoft
माइग्रेटेड एप्लिकेशन के लिए रनटाइम सत्यापन — परीक्षण रणनीति (योजना चरण) और परीक्षण निष्पादन (सत्यापन चरण) को शामिल करता है: स्टार्टअप सत्यापन,…
official
azure-postgres-ts
microsoft
Azure Database for PostgreSQL Flexible Server से pg (node-postgres) पैकेज का उपयोग करके कनेक्ट करें, जिसमें पासवर्ड और Microsoft Entra ID (पासवर्डलेस) प्रमाणीकरण के लिए समर्थन है।
official