AgentSkillsCN

list_tasks

以可选的状态筛选条件,展示用户的所有任务

SKILL.md
--- frontmatter
name: list_tasks
description: Shows the user's tasks, with optional status filter
triggers: show, list, view, my tasks, what do I have, todo list, pending tasks, completed tasks, what's on my list

Tool for displaying user's tasks.

Parameters expected:

  • status (string, optional): "all" (default), "pending", "completed"

Rules & behavior:

  • If status="pending" → only show incomplete tasks
  • If status="completed" → only show finished tasks
  • Format output nicely: numbered list with title + status emoji (✓ or ☐)
  • If no tasks: "Your list is empty right now. Want to add something?"
  • Example reply: "Here are your pending tasks:\n1. Buy groceries ☐\n2. Call mom ☐"
  • Always filter by current user's ID only