microsoft-todo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Microsoft To Do Skill

Microsoft To Do Skill

Overview

概述

Claude can manage your Microsoft To Do tasks for personal productivity. Create tasks, organize with lists, set reminders, and track daily planning with My Day feature.
Claude可以帮你管理Microsoft To Do任务,提升个人生产力。你可以创建任务、用列表整理、设置提醒,还能通过「我的一天」功能追踪每日计划。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/microsoft-todo/install.sh | bash
Or manually:
bash
cp -r skills/microsoft-todo ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/microsoft-todo/install.sh | bash
或者手动安装:
bash
cp -r skills/microsoft-todo ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefined
canifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,全程不会看到你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅能在你的本地机器上访问,绝不会被传输。

Capabilities

功能特性

  • Create tasks and subtasks
  • Set due dates and reminders
  • Organize with custom lists
  • Add tasks to My Day
  • Set recurring tasks
  • Add notes to tasks
  • Mark tasks as important
  • Search and filter tasks
  • Share lists with others
  • Sync with Outlook tasks
  • Create from flagged emails
  • View completed tasks
  • 创建任务和子任务
  • 设置截止日期和提醒
  • 用自定义列表整理任务
  • 将任务添加到「我的一天」
  • 设置重复任务
  • 为任务添加备注
  • 标记任务为重要
  • 搜索和筛选任务
  • 与他人共享列表
  • 与Outlook任务同步
  • 从已标记的邮件创建任务
  • 查看已完成的任务

Usage Examples

使用示例

Example 1: Create Task

示例1:创建任务

User: "Add a task to call the dentist by Friday"
Claude: Creates task "Call the dentist" with Friday due date.
        Confirms: "Task created with Friday deadline"
用户:"添加一个周五前给牙医打电话的任务"
Claude:创建名为「给牙医打电话」的任务,设置截止日期为周五。
        确认信息:"已创建截止日期为周五的任务"

Example 2: Plan My Day

示例2:规划我的一天

User: "Show what's on my To Do list for today"
Claude: Opens My Day, lists tasks planned for today.
        Reports: "Your My Day has 5 tasks:
        1. Team meeting prep
        2. Review documents..."
用户:"显示我今天的To Do列表"
Claude:打开「我的一天」,列出今日计划的任务。
        反馈:"你的「我的一天」有5项任务:
        1. 团队会议准备
        2. 审阅文档..."

Example 3: Organize Lists

示例3:整理列表

User: "Create a 'Home Projects' list and add painting the fence"
Claude: Creates new list "Home Projects", adds task.
        Confirms: "Created list with 1 task"
用户:"创建一个「家庭项目」列表,并添加「给栅栏刷漆」的任务"
Claude:创建新列表「家庭项目」,添加任务。
        确认信息:"已创建列表并添加1项任务"

Example 4: Set Reminder

示例4:设置提醒

User: "Remind me to submit the report at 3pm today"
Claude: Creates task with 3pm reminder.
        Confirms: "Task created with 3pm reminder"
用户:"提醒我今天下午3点提交报告"
Claude:创建带有下午3点提醒的任务。
        确认信息:"已创建带有下午3点提醒的任务"

Authentication Flow

认证流程

  1. Claude navigates to to-do.microsoft.com via Playwright MCP
  2. Authenticates with MICROSOFT_EMAIL if needed
  3. Handles 2FA if prompted (notifies user via iMessage)
  4. Maintains session for To Do operations
  1. Claude通过Playwright MCP导航到to-do.microsoft.com
  2. 如有需要,使用MICROSOFT_EMAIL进行认证
  3. 若提示双因素认证(2FA),会通过iMessage通知用户
  4. 维护会话以进行To Do操作

Selectors Reference

选择器参考

javascript
// My Day
'[aria-label="My Day"]'

// Task list
'.task-list'

// Add task input
'input[placeholder*="Add a task"]'

// Task item
'.task-item'

// Task checkbox
'[aria-label="Complete"]'

// Star (important)
'[aria-label="Mark as important"]'

// Due date
'[aria-label="Add due date"]'

// Reminder
'[aria-label="Remind me"]'

// List sidebar
'.list-pane'

// New list
'[aria-label="New list"]'

// Search
'[aria-label="Search"]'
javascript
// My Day
'[aria-label="My Day"]'

// Task list
'.task-list'

// Add task input
'input[placeholder*="Add a task"]'

// Task item
'.task-item'

// Task checkbox
'[aria-label="Complete"]'

// Star (important)
'[aria-label="Mark as important"]'

// Due date
'[aria-label="Add due date"]'

// Reminder
'[aria-label="Remind me"]'

// List sidebar
'.list-pane'

// New list
'[aria-label="New list"]'

// Search
'[aria-label="Search"]'

Error Handling

错误处理

  • Login Failed: Retry 3 times, notify user via iMessage
  • Session Expired: Re-authenticate automatically
  • Task Create Failed: Retry, save locally as backup
  • Reminder Failed: Check time validity, retry
  • List Not Found: Create list, or ask for clarification
  • Sync Failed: Wait and retry
  • 登录失败:重试3次,通过iMessage通知用户
  • 会话过期:自动重新认证
  • 任务创建失败:重试,本地保存作为备份
  • 提醒设置失败:检查时间有效性,重试
  • 列表未找到:创建列表,或请求用户澄清
  • 同步失败:等待后重试

Self-Improvement Instructions

自我优化说明

When you learn a better way to accomplish a task with To Do:
  1. Document the improvement in your response
  2. Suggest updating this skill file with the new approach
  3. Include specific productivity workflows
  4. Note Outlook integration features
当你发现更高效的To Do任务处理方式时:
  1. 在回复中记录该优化方法
  2. 建议用新方法更新此技能文件
  3. 包含具体的生产力工作流
  4. 标注Outlook集成功能

Notes

注意事项

  • Syncs with Outlook Tasks
  • My Day resets each day
  • Suggested tasks from various sources
  • Smart lists (Planned, Important, All)
  • Flagged emails appear as tasks
  • Keyboard shortcut: N for new task
  • Lists can be shared for collaboration
  • Recurring tasks supported
  • Subtasks help break down items
  • 与Outlook Tasks同步
  • 「我的一天」每天重置
  • 来自多个来源的推荐任务
  • 智能列表(已规划、重要、全部)
  • 已标记的邮件会显示为任务
  • 快捷键:N创建新任务
  • 列表可共享以协作
  • 支持重复任务
  • 子任务有助于拆分事项