agentleFS
manwithshitmanwithshit/mytodo-skill/SKILL.md

mytodo

Skill0 starsChanged 5 months agoMITView on GitHub

待办整合工作流 - 自动扫描笔记收件箱中的待办笔记,AI 智能分类(工作/学习/生活/项目),汇总到一张表,已完成任务自动归档。使用场景:当用户说「整合我的待办」「同步待办事项」或输入 /mytodo 时触发。适用于使用 Markdown 笔记管理待办事项的用户(如 Obsidian、本地 Markdown 目录等)。

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. goulvenclech/dotclaude★ 5same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Files
SKILL.md

mytodo - 待办整合工作流

把散落在收件箱里的待办笔记,一句话整合成一张分类清晰的汇总表,已完成的任务自动归档。


首次使用:配置你的路径

第一次运行时,AI 会主动询问你以下两个路径。 也可以在使用前直接告诉 AI:「我的 inbox 在 <路径>,归档目录是 <路径>」

1. 收件箱目录(INBOX_PATH)

存放待办笔记的目录,文件名格式为 YYMMDD_待办_主题.md。

常见示例:

  • Obsidian 用户:<vault-root>/00_Inbox/
  • 本地笔记:~/Documents/Notes/Inbox/
  • iCloud 笔记目录:~/Library/Mobile Documents/iCloud~md~obsidian/Documents/<vault>/00_Inbox/

2. 归档目录(ARCHIVE_PATH)

整合后的原始待办笔记会被移动到这里。

常见示例:

  • Obsidian 用户:<vault-root>/99_Archive/inbox/
  • 本地笔记:~/Documents/Notes/Archive/

3. 汇总文件位置(SUMMARY_FILE)

默认为收件箱同级目录下的 [待办汇总].md。AI 会自动创建。


触发方式

  • /mytodo
  • "整合我的待办"
  • "同步待办事项"

待办笔记示例

新建一个文件 260602_待办_周五交季度汇报.md,写:

# 周五交季度汇报

- [ ] 整理 Q2 数据
- [ ] 做 PPT 大纲
- [ ] 跟同事对齐数据口径
- [ ] 发给领导审核

可选状态标记(在正文里加):

  • 【暂缓】 — 归入暂缓区
  • 【已完成】 — 直接归入已完成区

工作流

1. 预处理:内部整理

在导入新任务前,先整理汇总表内部结构。

  • 读取 [待办汇总].md
  • 遍历「待办」和「暂缓」两个区域,查找所有 - [x] 任务
  • 严格检查:父任务和所有子任务均为 [x] 时才判定为可移动
  • 将符合条件的任务块移动到「已完成」区域下对应分类中

2. 扫描收件箱

扫描 INBOX_PATH,查找文件名匹配 *_待办_*.md 的笔记。

3. 对比去重

检查每个待办笔记是否已在汇总中被引用(搜索 [[filename]] 双链),已存在则跳过。

4. 内容提取与分类

读取笔记全文,提取主题、描述、子任务、状态标记(【暂缓】 / 【已完成】)。

AI 根据内容自动归入四个分类:

分类标题关键词特征
工作### 💼 工作汇报、会议、项目、季度、OKR、审核、周报、协作
学习### 🎓 学习学习、研究、阅读、课程、技能提升、调研、教程
项目### 📂 项目方案、设计、开发、迭代、上线、文档、规划、评审
生活### 🧘 生活生活、旅行、购物、礼物、健康、家庭、财务、采购

5. 写入汇总

按状态标记确定大区域(待办/暂缓/已完成),按分类结果找到对应子标题,在列表末尾插入:

- [ ] **{主题}** ({简要描述}) [[{原文件名}]]
    - [ ] 子任务1
    - [ ] 子任务2

6. 归档原文件

将已整合的待办笔记从 INBOX_PATH 移动到 ARCHIVE_PATH。

7. 输出结果

展示处理结果:内部整理数量、新增整合列表(文件/区域/分类)、跳过列表、归档数量。

## 待办整合完成 ✅

### 📋 内部整理
- 已将 X 个完成任务移动到「已完成」区

### 📥 新增整合(X个)
| 文件 | 区域 | 分类 |
|-----|-----|-----|
| 260602_待办_周五交季度汇报.md | 🚀 待办 | 💼 工作 |

### ⏭️ 跳过(已存在)(Y个)
...

### 🗄️ 归档文件
已移动 X 个文件到归档目录

汇总表结构

第一次运行时,AI 会自动创建 [待办汇总].md:

# 📝 待办事项汇总

> 所有待办事项整合于此,原文件已归档

## 🚀 待办

### 💼 工作
### 🎓 学习
### 📂 项目
### 🧘 生活

## ⏸️ 暂缓

## ✅ 已完成

三步上手

  1. 配置路径:告诉 AI 你的 inbox 和归档目录
  2. 记待办:在 inbox 用 YYMMDD_待办_主题.md 格式新建笔记
  3. 整合:输入 /mytodo,十几秒搞定

开源

GitHub:github.com/manwithshit/mytodo-skill 欢迎 issue 和 PR。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.