将 AI 问答摘要保存到 git 仓库中作为持久笔记
Save AI Q&A summaries into git repos as persistent notes
用户使用 ChatGPT 通过 GitHub MCP 服务器和每个仓库的 AGENTS.md 文件来撰写讨论和决策的摘要并写入他们的仓库中.
做了什么
The user connected ChatGPT to the GitHub MCP server with access to three or four of their repos. Each repo has an AGENTS.md, and a custom instruction tells ChatGPT to read the relevant one at session start or on request. After a long Q&A, they ask it to write a summary into a chosen repo. Files cataloging discussions, decisions and research ideas are referenced from AGENTS.md.
效果如何
The author says the setup took some work but makes the AI much more reliable than relying on its built-in memory. No numbers or specific failures are given.
值得注意
Expect upfront setup: MCP server access, repo permissions, AGENTS.md files, and a custom instruction before this works.
试试这个 Prompt
Connect to my GitHub repo [owner/repo] and read its AGENTS.md for where notes belong. At the end of our conversation about [topic], write a short summary of the question, the options we weighed, and the decision we reached into a new markdown file at [notes folder path]. Show me the file contents and target path before you commit anything, and stop once I approve and the commit is made.