跳到正文
Skillpedia
自动化48k · #5996

time-ledger

它能做什么

它会记录你在不同活动上花费的时间,并把所有记录保存到你的 Notion 中。如果对某个细节不确定,它会先询问你,而不是随意猜测。

适用场景

  • ✓当你想记录自己在某件事上花了多长时间时(例如:“读了 2 小时书”)。
  • ✓当你说“记录我的时间”或“整理一下我的时间账本”时。
  • ✓当你想知道自己的时间都花在哪里了时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/time-ledger/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/time-ledger/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“记录一下:读论文 2 小时,健身 1 小时,刷了一道 leetcode。”

每周 5 个新技能,1 分钟读完。

工作原理

它会在你的 Notion 中查找名为“time-ledger”的数据库。然后,它会把你说的内容整理成活动、分钟数和日期,并添加到数据库中。如果有不清楚的地方,它会标记为待确认,留到之后再核实。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Time Ledger

Overview

Conversational time tracking. The user reports time in plain language — "read papers 2h, gym 1h, did a leetcode" — and the agent parses it into structured rows (activity, minutes, date, an optional compounding tag) and writes them to the user's own Notion database through the official Notion connector. The core design is an honesty contract: anything uncertain becomes a To-confirm row and gets batch-asked — never fabricated. A log that quietly invents durations is worse than no log.

When to Use This Skill

  • Use when the user reports time spent ("read papers for two hours", "hit the gym for an hour", "coded all morning")
  • Use when the user says "log it", "log my time", "time ledger", or "tidy up my time ledger"
  • Use when the user asks where their time went or for a time review

How It Works

Step 1: Find the database (zero-config)

On the first write of a session, use Notion search to find the database (type database, not a page) whose title contains "time-ledger". Read its data_source_id (the collection://... UUID) and use it as the parent for create-pages / query for the rest of the session. If more than one matches, ask the user which to use. Nothing is pasted or configured.

The companion Notion template (free, linked in the source repo) ships this field schema — select values are a controlled enum, copy them exactly:

  • Entry (title) — the user's words or a clear title
  • Activity (select): Reading / Coding / Practice / Fitness / Investing / Meeting / Writing / Life / Other
  • Minutes (number)
  • Date (date) — expand to "date:Date:start": "YYYY-MM-DD"; a bare Date value fails with HTTP 400
  • Status (select): To-sort / To-confirm / Done
  • Compounding (select): Compounding / Consuming / Neutral
  • Notes (text) — clue from the user's words / your question

Step 2: Direct report mode

Parse the report → create-pages (parent = the data source id above). Set Status=Done for what is certain; for anything uncertain set Status=To-confirm, write the specific question in Notes, and ask it once in your reply.

Parsing rules:

  • Activity: books/technical material → Reading; coding/building → Coding; leetcode → Practice; gym/running → Fitness; markets/research → Investing; meetings → Meeting; docs → Writing; meals/commute/chores → Life; otherwise → Other. Unsure → To-confirm.
  • Duration cues: "two hours"=120, "an hour"=60, "half an hour"=30, "a while"≈30 (mark To-confirm, note it is an estimate), "all morning"≈180. Use exact numbers when given.
  • Date: "today" = the user's local date; "yesterday" = prior day; unspecified = today. Unsure which day → ask.
  • One report, multiple blocks: "two hours on X, one hour on Y" → split into rows, but confirm whether the totals are additive (a frequent ambiguity) — default additive + one To-confirm row.
  • Compounding tag: only tag the obvious — Compounding = leaves a reusable asset (learning, building, writing); Consuming = forget-on-sight entertainment (only if the user volunteers it); leave ambiguous blank.

Step 3: Batch reconcile mode

When the user says "tidy up my time ledger": query rows where Status ∈ {To-sort, To-confirm} or empty → parse each → update-page the certain ones to Done; batch all remaining questions into one message; fill answers in when the user replies.

Examples

Example 1: Direct report

User:  log it: read ML system design 2h, gym 1h, did a leetcode
Agent: Logged 3 entries ✅
       · Reading · ML system design · 120min · Compounding
       · Fitness · gym · 60min
       · Practice · LeetCode · ~20min ❓ To-confirm: you didn't say how long — I guessed 20min, right?

Example 2: Batch reconcile

User:  tidy up my time ledger
Agent: 3 rows need confirmation — answering in one go works:
       1. Tue "LeetCode" — how many minutes?
       2. Wed "reading" — book or papers (Reading), or course exercises (Practice)?
       3. "all afternoon on the deck" — Wed or Thu?

Best Practices

  • ✅ Batch all questions into one message; never interrogate item by item
  • ✅ Give a short receipt after logging (rows written, which are To-confirm, what the questions are)
  • ✅ Copy select values from the enum exactly
  • ❌ Don't fabricate a duration, category, or date when unsure — To-confirm + ask
  • ❌ Don't write a bare Date property; use the date:Date:start expansion

…

常见问题

需要在 Notion 中做什么设置吗?

需要。你需要在 Notion 中创建一个标题为“time-ledger”的数据库,并使用官方的 Notion 连接器。

如果我没有告诉它某件事花了多长时间,会怎样?

代理会把这条活动标记为“To-confirm”,并在之后向你确认,而不会随意编造时长。

它能自动记录我的时间吗?

不能。它只会根据你告诉它的内容来记录,不会自动追踪应用或屏幕使用情况。

详情

作者的原始描述

Natural-language time tracking: parse what the user says they did into Activity/Minutes/Date rows in their own Notion database — asking instead of guessing when unsure.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5996
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能