AgentSkillsCN

print-week

生成未来 7 天 TickTick 任务的可打印 Markdown 视图。

SKILL.md
--- frontmatter
name: print-week
description: "Generate a printable Markdown view of TickTick tasks for the next 7 days"
last_updated: 2026-01-14
tools_required: [MCP:ticktick, Bash, Write]
agent_type: main_agent

Print Week

Generate a clean, printable Markdown view of upcoming TickTick tasks.

[GOAL]

Fetch tasks from TickTick and create a nicely formatted Markdown document grouped by day and tag, suitable for printing or quick reference.

[OUTPUT]

Saves to: Cockpit/Next-7-Days-Print.md

[PROCESS]

1. Fetch all tasks from TickTick

Use ticktick MCP: ticktick_filter_tasks with filter_criteria empty object

2. Parse and categorize tasks

Group tasks into:

  • OVERDUE: Past due date, grouped by first tag
  • Today through +7 days: Each day as a section

3. Format output

For each task show:

  • Checkbox
  • Priority indicator (exclamation marks for high/medium/low)
  • Title
  • Time if not all-day
  • Project name in italics
  • Tags as inline code

4. Generate Markdown

Process tasks with Python to:

  • Parse dueDate timestamps
  • Group by day and tag
  • Format as clean markdown checklist
  • Calculate days overdue for past-due tasks

5. Save output

Write to Cockpit/Next-7-Days-Print.md

[IMPORTANT]

  • Project map: Fetch current projects via ticktick_get_all with search projects
  • Tags: Only first tag is used for grouping (matches TickTick behavior)
  • Overdue: Shown prominently at top with days overdue count
  • Times: Only shown if task has specific time (not all-day)

[VARIANTS]

  • print-week compact: Table format instead of list
  • print-week html: Generate HTML for better print styling