inbox-memory

Agent-Speicher lesen und schreiben — Gedächtnis und Regeln mit umgebungsbewusstem Fallback

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

Mehr Skills von microsoft

oss-growth
microsoft
OSS-Wachstums-Hacker-Persona
agent-framework-azure-ai-py
microsoft
Erstellen Sie Azure AI Foundry-Agents mit dem Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Verwenden Sie dies beim Erstellen persistenter Agents mit AzureAIAgentsProvider, bei der Nutzung gehosteter Tools (Code-Interpreter, Dateisuche, Websuche), bei der Integration von MCP-Servern, bei der Verwaltung von Konversationsthreads oder bei der Implementierung von Streaming-Antworten. Umfasst Funktionstools, strukturierte Ausgaben und Multi-Tool-Agents.
development
airunway-aks-setup
microsoft
Richte AI Runway auf AKS ein – vom leeren Cluster bis zum laufenden Modell. Umfasst Cluster-Überprüfung, Controller-Installation, GPU-Bewertung, Provider-Einrichtung und erste Bereitstellung. WANN: „AI Runway einrichten“, „AKS-Cluster onboarden“, „AI Runway installieren“, „airunway setup“, „Modell auf AKS bereitstellen“, „GPU-Inferenz auf AKS“, „KAITO-Setup auf AKS“, „LLM auf AKS ausführen“, „vLLM auf AKS“, „Modell-Serving auf AKS einrichten“, „AI Runway-Controller“.
devops
appinsights-instrumentation
microsoft
Leitfaden zur Instrumentierung von Webanwendungen mit Azure Application Insights. Bietet Telemetriemuster, SDK-Einrichtung und Konfigurationsreferenzen. WANN: wie man eine App instrumentiert, App Insights SDK, Telemetriemuster, was ist App Insights, Application Insights-Anleitung, Instrumentierungsbeispiele, APM-Best Practices.
devops
applicationinsights-web-ts
microsoft
Instrumentieren Sie Browser-/Web-Apps mit dem Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Verwenden Sie es für Real User Monitoring (RUM) – Seitenaufrufe, Klicks, AJAX/Fetch-Abhängigkeiten, Ausnahmen, benutzerdefinierte Ereignisse und browser-seitige GenAI-Agent-Traces, die mit Backend-OpenTelemetry-Traces korreliert werden. Umfasst SDK-Loader-Skript und npm-Setup, Framework-Erweiterungen (React, React Native, Angular), Click Analytics, Telemetrie-Initialisierer und OTel-GenAI-Semantik-Konventionen für Agent-/Tool-/Modell-Spans, die vom Browser ausgegeben werden.
devops
azure-ai-anomalydetector-java
microsoft
Erstellen Sie Anomalieerkennungsanwendungen mit dem Azure AI Anomaly Detector SDK für Java. Verwenden Sie dies bei der Implementierung von univariater/multivariater Anomalieerkennung, Zeitreihenanalyse oder KI-gestützter Überwachung.
development
azure-ai-language-conversations-py
microsoft
Implementieren Sie Conversational Language Understanding (CLU) mit dem azure-ai-language-conversations Python SDK. Verwenden Sie dies, wenn Sie mit ConversationAnalysisClient arbeiten, um Gesprächsabsichten und Entitäten zu analysieren, NLP-Funktionen zu erstellen oder Sprachverständnis in Anwendungen zu integrieren.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 für Python. Verwenden für ML-Workspaces, Jobs, Modelle, Datensätze, Compute und Pipelines. Auslöser: „azure-ai-ml“, „MLClient“, „Workspace“, „Modell-Registry“, „Trainings-Jobs“, „Datensätze“.
development