collect-incomplete-tasks

Collect Incomplete Tasks

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "collect-incomplete-tasks" with this command: npx skills add oldwinter/skills/oldwinter-skills-collect-incomplete-tasks

Collect Incomplete Tasks

汇总 Obsidian 笔记库中指定日期范围内 Daily notes 的未完成任务(- [ ] ),按日期分组输出到当前 Daily note。

工作流程

  1. 确定日期范围

根据用户请求解析日期范围:

  • "最近1周" → 过去7天

  • "最近1个月" → 过去30天

  • "从 YYYY-MM-DD 到 YYYY-MM-DD" → 指定范围

  • 无指定 → 默认最近1个月

  1. 定位 Daily notes

Daily notes 路径格式:

Calendar/Daily notes/YYYY/YYYY-MM-DD.md

仅匹配标准格式的日期文件(YYYY-MM-DD.md ),忽略其他笔记。

  1. 提取未完成任务

搜索模式:- [ ] (未勾选的 checkbox)

使用 Grep 工具批量搜索:

搜索指定目录下的未完成任务

Grep pattern="- [ ]" path="Calendar/Daily notes/2025/" output_mode="content"

  1. 汇总输出

输出格式:

近X天/周/月未完成任务汇总(起始日期 ~ 结束日期)

YYYY-MM-DD

  • 任务1
  • 任务2

YYYY-MM-DD

  • 任务3

统计:共 N 项未完成任务

  1. 写入目标文件

将汇总内容插入到当前 Daily note 的开头(frontmatter 之后)。

注意事项

  • 保留任务中的 wikilinks(如 [[笔记名]] )

  • 合并嵌套子任务到父任务(保持缩进)

  • 去除重复任务(同一任务可能在多天出现)

  • 跳过空行和无效格式

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

personal-productivity

No summary provided by upstream source.

Repository SourceNeeds Review
General

kubectl

No summary provided by upstream source.

Repository SourceNeeds Review
General

obsidian-dashboard

No summary provided by upstream source.

Repository SourceNeeds Review