AIFeed

智能助手整理器:为 AI 助手提供 Markdown 项目记忆

Translation(model translation, not the source's own text)

English · العربية

社区项目。Smart Assistant Organizer 是由社区制作的独立开源项目。它不是 Instinct 的官方产品,与 Instinct 无关联,也未获其认可。它可与任何 AI 助手配合使用。

Smart Assistant Organizer

你的 AI 助手永远不会丢失你的项目。

聊天不适合用来保存计划。细节会滚走,助手会遗忘,你也无法再判断项目进展到哪一步。Smart Assistant Organizer 把记忆从聊天中移出,放进一个由纯 Markdown 文件组成的文件夹,你和你的助手都可以读取和更新它。

为配合 Instinct 使用而设计:它在你使用 Instinct 工作时保持项目井然有序,使它们不会在聊天中丢失。它与任何其他 AI 助手同样适用。

  • 从一个页面开始。STATUS.md 列出每个项目、其状态、谁在等谁,以及下一步。
  • 每个项目一个文件。Now、Agreed、Decisions、Waiting、Next step。简短且带日期。
  • 助手遵循的规则手册。AGENTS.md 告诉任何助手如何读取、更新和验证这些文件。
  • 防止腐化的护栏。organizer check 能发现过期的项目、未刷新的 STATUS.md,以及断裂的决策历史。
  • 设计上保护隐私。无网络调用、无遥测、无账户。一次扫描(organizer guard)可确保个人数据不会出现在你分享的任何内容中。
  • 英语和阿拉伯语。完整的模板、说明,以及一个从右到左的状态页面。
生成的状态页面:三个虚构项目,包含状态、下一步以及各方在等待什么
生成的状态页面:三个虚构项目,包含状态、下一步以及各方在等待什么

快速开始

你需要 Python 3.9 或更新版本。除此之外无需安装任何东西。


        pipx install git+https://github.com/khdrgdo/smart-assistant-organizer   # or: uv tool install git+https://github.com/khdrgdo/smart-assistant-organizer
organizer init my-workspace            # add --lang ar for Arabic
cd my-workspace
organizer new "My first project"
      

然后告诉你的助手:“读取这个文件夹中的 AGENTS.md 并遵循它。”

就这样。从现在起,助手会打开 STATUS.md,从你停下的地方继续,并记录下你们达成一致的内容。

没有 Python?复制 examples/workspace-en(或 workspace-ar)文件夹,删除示例项目,然后手动编辑文件。格式就是 Markdown。参见 docs/quickstart.md。

一天的样子


        You:        Where did we stop on the garden plan?
Assistant:  (reads STATUS.md, then projects/community-garden-plan.md)
            Last updated 2026-03-18. The council offered to pay for the water line, so we
            moved to a water line plus two rain barrels (D3). Waiting on you: the signed
            lot permit. Next step: you send the permit request by 2026-03-25.

You:        Budget cap is 1,500. Not sure about the grant yet.
Assistant:  (edits the Agreed section, marks the grant "unconfirmed", sets updated, runs
            `organizer check`, and tells you which file changed and what it wrote)
      

项目文件是一个小型 Markdown 文件,包含几个固定章节:


        ---
title: Community Garden Plan
status: active
updated: 2026-03-18
review_days: 14
---
# Community Garden Plan

## Now
The council approved the empty lot. We are choosing the layout and a budget.

## Decisions
- D2 2026-03-11: Rain barrels instead of a water line. [superseded by D3]
- D3 2026-03-18 (supersedes D2): Water line plus two rain barrels. Why: the council pays the connection.

## Waiting
- [ ] me: Ask the council for the signed lot permit
- [ ] assistant: Draft the volunteer sign-up form

## Next step
Me: send the permit request to the council by 2026-03-25.
      

查看填写完整的示例:examples/workspace-en 和 examples/workspace-ar。其中的所有名称均为虚构。

可与任何助手配合使用

你的助手可以……该怎么做
读取和编辑文件、运行命令(编码代理、桌面助手)让它指向该文件夹。它会遵循 AGENTS.md,并能运行 organizer 辅助工具。
只能读取和编辑文件同上。它手动编辑,并刷新 STATUS.md 中的表格。
只能聊天(手机聊天应用、网页聊天)把 STATUS.md 和那个项目文件粘贴到聊天中。助手会给你确切的文本,供你粘贴回去。它不得声称任何内容已被保存。

organizer init --agents claude,gemini,copilot 还会写入一些很小的指针文件(CLAUDE.md、GEMINI.md、.github/copilot-instructions.md),内容为“read AGENTS.md”。规则只存在于一处,因此不会彼此偏离。更多内容见 docs/protocol.md。

为什么还要另一个记忆工具?

基于文件的助手记忆存在有据可查的失效模式。我们阅读了这些抱怨,并围绕它们进行了设计。细节和来源见 docs/why.md。

已知问题Smart Assistant Organizer 的做法
助手每次都要重新读取每个记忆文件,因此 token 和成本不断增长一个单页索引( STATUS.md )。项目文件只在需要时打开。行数预算会被检查。
文件会过时并悄悄误导每个项目都有 updated 和 review_days 。 organizer check 会标记过时的项目。
“已更新记忆”但实际上什么都没写入协议要求回读。如果 STATUS.md 与 projects/ 不匹配, organizer check 会失败。
更改一个事实会覆盖旧事实,因此历史丢失决策是仅追加的,并通过 supersedes 链接。 check 会验证这些链接。
每个工具都想要自己的规则文件,而且它们会彼此偏离一个 AGENTS.md 。其他文件都是一行指针。
会把你的数据发送到服务的记忆工具任何东西都不会离开你的机器。没有遥测。内置了机密和个人数据扫描。
为小任务使用繁重流程五个固定部分。从一个项目和一个文件开始。

命令


        organizer init [path] [--lang en|ar] [--agents claude,gemini,copilot] [--ci] [--force]
organizer new "Name" [--status active|waiting|idea|paused|done]
organizer status [--write] [--html page.html]   # --html writes a dashboard: stat cards, project cards, review timeline
organizer check [--strict] [--json]
organizer log "summary" [--project slug]
organizer decide <slug> "decision" [--supersedes N]
organizer touch <slug>        # confirm a project is still accurate today
organizer mark <slug> <status>
organizer archive <slug>
organizer guard [paths]       # personal data and secrets scan, safe for CI
      

隐私

你的工作区存放着真实的计划,所以要像对待私人笔记本一样对待它。

  • 将工作区保存在私有仓库中,或仅保存在磁盘上。
  • 该工具从不打开网络连接,也没有遥测。
  • organizer guard 会扫描电子邮件、电话号码( + 、 00 以及本地 0... 形式)、形似机密的字符串,以及你在 .organizer-deny.txt 中列出的词语。它会打印在哪里发现了某些内容,但从不打印文本本身。在分享任何副本之前运行它,并在 CI 中运行。
  • Guard 会扫描每个最大 2 MB 的文本文件。任何它无法扫描的内容——更大的文件,或不是有效 UTF-8 的文件(例如图像)——都会打印为 SKIPPED <file> (<reason>),绝不会被静默跳过。被跳过的文件不会导致运行失败;在分享之前请自行检查它们。
  • Guard 基于模式匹配:它是一张安全网,而不是文件干净的证明。诸如 your-api-key-here 之类的占位值不会被标记;看起来真实的值会被标记,即使它们恰好包含像“your”或“none”这样的词。
  • 这个公开仓库只包含该工具。所有示例数据都是虚构的,CI 会在每次更改时扫描个人数据。

更多内容见 docs/privacy.md。

它不是什么

  • 它不是数据库、向量搜索或同步服务。对于数百个项目,或多个助手同时写入的情况,请使用真正的记忆系统。对于一个人和少量到几十个项目,纯文件就足够了。用 git 同步它们。
  • 它本身不会捕获对话。你的助手会按照 AGENTS.md 编写笔记。organizer check 让遗忘变得可见,它并不会让助手记住。
  • 这是 0.1 版本。文件格式刻意保持小巧且稳定,但请预期会有打磨和新命令。

文档

快速开始 · 助手协议 · 文件格式 · 为什么这样构建 · 隐私 · 常见问题 · البدء السريع

贡献

欢迎提交错误报告、想法、翻译和示例工作区。请阅读 CONTRIBUTING.md。请遵守 Code of Conduct。安全问题请参阅 SECURITY.md。

许可证

MIT。社区项目,并非 Instinct 官方产品。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗