daily-task-manager
Skill này làm gì
Skill này giữ danh sách việc cần làm của bạn trên một trang trong kho tri thức. Bạn có thể thêm, hoàn thành, hoãn hoặc xóa công việc theo mức ưu tiên.
Khi nào nên dùng
- ✓Khi bạn muốn thêm một việc mới hoặc nhắc nhở vào danh sách việc của kho tri thức.
- ✓Khi bạn hoàn thành một việc và muốn ghi lại ngày hoàn thành.
- ✓Khi bạn muốn xem các việc đang mở, nhóm theo mức ưu tiên.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/daily-task-manager/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thêm một việc P1 là gọi kế toán vào ngày mai, và cho tôi xem danh sách hôm nay được nhóm theo mức ưu tiên.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc trang việc cần làm, thực hiện thay đổi và lưu lại với một ID ổn định cho mỗi việc. Các việc đã xong được lưu trữ kèm ngày, và thay đổi không bao giờ xóa các mục không liên quan.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Daily Task Manager
Contract
This skill guarantees:
- Tasks stored as a brain page (
ops/tasks.md) with structured format and a stableidper task - Task lifecycle: add → in-progress → complete | defer | remove
- Priority levels: P0 (urgent), P1 (today), P2 (this week), P3 (backlog)
- Completed tasks archived with completion date; deferred tasks carry a target date + reason
- Mutations never drop unrelated tasks or unknown sections
- Every action returns the structured result below (Returns)
Returns
After every action, report a structured result so callers (including sub-agents) can chain reliably:
{action, task_id, status: ok|not_found|ambiguous|needs_confirmation, priority, date, page: "ops/tasks.md", saved: true|false}
For review, return the grouped active-task list instead of a single task_id. When invoked with the trigger "task list json", return a JSON array of task objects {id, description, priority, due, status} instead of markdown.
Tool Interface
Use ONLY the declared tools. get_page("ops/tasks.md") to read, put_page("ops/tasks.md", …) to write, add_timeline_entry for the audit trail, search for cross-referencing. Do not shell out to gbrain CLI verbs from this skill; the tools are the interface. (When the user runs this manually outside an agent, the CLI equivalents are gbrain get ops/tasks / gbrain put ops/tasks — equivalents only, not the skill's interface.)
Action Routing
Map user intent deterministically before touching state:
- "add / remind me to / put X on my list" → add
- "done with X / finished X / completed X / ✅ X" → complete
- "push X / defer X / move X to next week" → defer
- "delete X / remove X / kill task X" → remove (explicit delete words only — never infer remove)
- "what are my tasks / task list / what's on my plate (today)" → review ("today" filters to P0+P1)
Phases
- Load.
get_page("ops/tasks.md"). First run: if the page does not exist, create it from the Output Format template, then proceed. - Validate. Determine the action via Action Routing. If required fields are missing (see per-action rules), ask ONE concise clarification before mutating state. Never fabricate priorities, due dates, or defer reasons.
- Identify the target task (complete/defer/remove): match by
idwhen given; otherwise fuzzy-match description against ACTIVE tasks only. Zero matches → returnnot_found, do not mutate. Multiple matches → list candidates with IDs, returnambiguous, do not mutate. - Execute:
- Add: Require a description. Priority: use the user's stated/clearly-implied level; otherwise default to P3 and say so in the reply + timeline entry. Due date only if supplied or explicit in the user's words. Mint a new task ID (
t-YYYYMMDD-NN, NN = next free ordinal that day). Add a timeline entry. - Complete: Mark
[x], move to Completed with(completed: YYYY-MM-DD). - Defer: Require a target date/timeframe AND a reason; ask if missing. Move to Deferred preserving original text, ID, and priority unless the user changes them.
- Remove: Destructive — require explicit confirmation unless the user's message already contains it. Prefer suggesting complete or defer.
- Review: Read-only. Never mutates. Active tasks grouped by priority, IDs shown.
- Add: Require a description. Priority: use the user's stated/clearly-implied level; otherwise default to P3 and say so in the reply + timeline entry. Due date only if supplied or explicit in the user's words. Mint a new task ID (
- Save.
put_page("ops/tasks.md")after any mutation. Diff-mindset: touch only the affected lines; preserve all other content, including sections this skill doesn't recognize.
Edge Cases
- First run: page missing → create from template before acting;
status: ok, note "initialized". - Malformed page: if
ops/tasks.mdexists but doesn't match the schema, do NOT rewrite it wholesale. Append/edit within it minimally, preserve unknown content verbatim, and flag the malformation in the reply. - Retry/duplicate add: if an identical description already exists in active tasks, do not add a duplicate — report the existing task ID instead.
- Dates: ISO 8601 (
YYYY-MM-DD) everywhere. Compute "today"/"next week" with code/clock, never guess. - Page identifier: always
ops/tasks.md(with extension) in tool calls; this is the single canonical location. - Single-writer assumption (concurrency limitation). The task cycle is read-modify-write:
get_page("ops/tasks.md")→ edit →put_page("ops/tasks.md").put_pagereplaces the WHOLE page and has no compare-and-swap, so two mutations that interleave are l
Câu hỏi thường gặp
Mức ưu tiên được đặt tên thế nào?
Việc cần làm dùng P0 cho khẩn cấp, P1 cho hôm nay, P2 cho tuần này và P3 cho danh sách tồn đọng.
Điều gì xảy ra khi tôi hoãn một việc?
Việc đó giữ một ngày mục tiêu và lý do, nên dễ tìm lại sau này.
Tôi có thể lấy danh sách ở dạng máy đọc được không?
Có. Yêu cầu phiên bản JSON sẽ trả về mỗi việc kèm ID, mức ưu tiên, hạn chót và trạng thái.
Chi tiết
Mô tả gốc của tác giả
Task lifecycle management with stable task IDs. Add, complete, defer, remove, and review tasks with deterministic action routing and fail-closed ambiguity handling. Maintains a running task list as a brain page.
repo: garrytan/gbrain
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9273
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gbrain
31kCho phép agent của bạn tìm trong kho tri thức dùng chung của công ty các thông tin về con người, dự án và quyết định, và lưu ghi chú bền vững vào đó.
brain-ingest-gate
31kKiểm tra nội dung mới với kho tri thức hiện có trước khi thêm vào, để tránh trùng lặp và xác định các thực thể được nêu tên trước.
brain-link-discipline
31kĐảm bảo agent của bạn kèm một liên kết hoạt động đến mỗi trang kho tri thức mà nó báo cáo, trong cùng một tin nhắn, để bạn mở được ngay.
brain-ops
31kCung cấp cho agent của bạn thói quen cốt lõi cho kho tri thức: kiểm tra ngữ cảnh có sẵn trước, lưu ghi chú rõ ràng kèm nguồn và liên kết các trang liên quan.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.