帮助 AI 代理读写记忆与规则,并按环境自动选择可用存储方案
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "inbox-memory" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode-team-kit/main/github-inbox/skills/inbox-memory/SKILL.md 2. 保存为 ~/.claude/skills/inbox-memory/SKILL.md 3. 装好后重载技能,告诉我可以用了
请把以下内容写入代理记忆:'默认用中文回复;输出先给结论再给步骤;遇到不确定信息时明确标注假设。' 然后读取并确认已保存。
返回写入成功信息,并展示已保存的记忆内容或读取结果。
为这个代理新增一条规则:'处理客户数据前先脱敏。' 如果已存在相似规则,请更新为最新版本,并列出当前规则清单。
返回规则新增或更新结果,并输出整理后的规则列表。
读取代理最近一次保存的项目上下文;如果当前环境无法访问主存储,请自动切换到可用的后备存储,并说明最终使用了哪个存储来源。
返回项目上下文内容,并说明是从主存储还是后备存储中读取的。
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.
github-inbox-memory.md — session context, patterns, preferencesgithub-inbox-rules.md — user's rules and preferencesTry the #memory tool first (available in VS Code Chat). If #memory is not available (e.g. Copilot CLI), fall back to the file system under ~/.copilot/:
~/.copilot/github-inbox-memory.md~/.copilot/github-inbox-rules.md#memory with { "command": "view", "path": "/memories/github-inbox-memory.md" }.#memory is available. Use it for all reads and writes.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.
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):
~/.copilot/ exists: mkdir -p ~/.copilot#edit or via terminal: write full content to ~/.copilot/github-inbox-memory.md./memories/repo/) — only the files listed above帮助用户通过 gh 命令获取并查看 GitHub 通知列表,快速处理仓库动态。
调用多模型交叉审查代码变更、PR与高风险修改,辅助发现缺陷与争议点
帮助你快速检索 GitHub 中分配给你、待分诊或自定义条件的议题与 PR。
汇集多模型独立方案与辩论,辅助实现路径和架构决策
为方案、设计与实现提供高质量第二意见,及早发现逻辑与缺陷问题
为 GitHub 议题或拉取请求快速添加表情反应,提升协作反馈效率。
为 AI 编码代理提供持久记忆,保留项目上下文与关键决策
为 AI 编码代理提供本地可搜索的项目记忆与安全结构化更新能力。
为 AI 代理提供离线可学习记忆,自动强化关键信息并遗忘无关内容。
为 AI 编码代理提供持久记忆与规则约束,减少重复犯错并提升开发稳定性。
为智能体提供带遗忘曲线衰减的长期记忆,提升多轮任务中的信息召回与连续性。
为 AI 代理提供可持久化的会话记忆检索与相关性排序能力。