Schedule Manager

v1.0.4

管理用户日程与任务安排。用于以下场景:(1) 用户要求"安排日程""规划任务""帮我排日程";(2) 用户要求"新增日程""添加任务""记住这个日程";(3) 用户要求"查看日程""今日安排""明天任务""本周日程""下周日程""本月日程""下月日程";(4) 用户要求"修改日程""改一下DDL""调整优先级";...

0· 206·0 current·0 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script and SKILL.md: the skill manages schedules stored at schedules/schedule.csv and supports add/list/update/delete. Minor mismatch: SKILL.md invokes 'python' but the registry metadata lists no required binaries — the skill implicitly needs a Python 3 runtime available to the agent.
Instruction Scope
Runtime instructions stick to creating, listing, updating, deleting local schedule entries and returning script output as replies. The only cross-skill action is loading the 'cron-mastery' skill to set reminders and instructing it to deliver an exact reminder message; this is within the declared feature (setting reminders) but means scheduled messages are delegated to another skill.
Install Mechanism
Instruction-only plus a small included Python script — there is no install spec, no downloads, and no code that fetches remote artifacts. Risk from install mechanism is low.
Credentials
The skill requests no environment variables, no external credentials, and only reads/writes a local CSV under schedules/. There are no requests for unrelated secrets or system config.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. Its only persistent footprint is schedules/schedule.csv in the working directory. It does instruct the agent to invoke another skill (cron-mastery) for scheduled reminders, which will create reminders external to the CSV but is appropriate for the stated purpose.
Assessment
This skill appears to be what it says: a local schedule manager that stores events in schedules/schedule.csv and uses Python. Before installing, confirm: (1) your agent runtime has Python 3 available (SKILL.md runs python {baseDir}/scripts/schedule_crud.py but the skill metadata didn't declare Python as a required binary); (2) the skill will create and modify schedules/schedule.csv in the agent's working directory — if the agent runs in a sensitive directory, consider changing the working directory or permissions; (3) reminder delivery is delegated to a separate 'cron-mastery' skill: review that skill before enabling reminders, because it will be instructed to deliver exact notification messages on a schedule; (4) no network calls or secret exfiltration were found in the code, but if you allow the agent autonomous skill invocation, scheduled reminders may be sent without a manual step. If any of these are unacceptable, do not enable the skill or restrict its runtime environment.

Like a lobster shell, security has layers — review code before you run it.

latestvk97d3vbw308nz8mk42g7ay3ym1840em3
206downloads
0stars
5versions
Updated 2w ago
v1.0.4
MIT-0

日程管理

通过脚本管理用户日程。日程数据存储在工作目录下的 schedules/schedule.csv

优先级分类

优先级含义判断条件
P0重要且紧急有近期DDL(48h内)且影响重大
P1紧急不重要有时间压力但可委托或影响较小
P2重要不紧急对长期目标有价值但无紧迫DDL
P3不重要不紧急无时间压力且影响极小

用户未指定优先级时,根据描述自动判断并向用户确认。有DDL且在48h内视为"紧急",无DDL默认归入P2。

脚本调用

所有日程操作通过 Bash 执行。

添加日程

python {baseDir}/scripts/schedule_crud.py add --task "任务名" --deadline "YYYY-MM-DD HH:mm" --priority P0 [--note "备注"]
  • --task 必填,任务描述
  • --deadline 可选,格式 YYYY-MM-DD HH:mmYYYY-MM-DD
  • --priority 必填,P0/P1/P2/P3
  • --note 可选,备注信息

查看日程

python {baseDir}/scripts/schedule_crud.py list [--today] [--tomorrow] [--week] [--next-week] [--month] [--next-month] [--priority P0]

更新日程

python {baseDir}/scripts/schedule_crud.py update --id 1 [--task "..."] [--deadline "..."] [--priority P0] [--reminder Y] [--note "..."]
  • --id 必填,任务ID
  • 其余字段可选,按需传入

删除日程

python {baseDir}/scripts/schedule_crud.py delete --id 1

任务路由

根据用户意图路由到对应分支:

用户意图触发词示例分支后续
新增日程帮我安排日程、规划任务、新增日程、添加任务、记住这个新增日程→ 设置提醒
查看日程查看日程、今日安排、明天任务、本周日程、下周日程、本月日程、下月日程查看日程(无)
修改日程修改日程、改一下DDL、调整优先级修改日程→ 设置提醒
删除日程完成了XX、删除XX删除日程(无)
设置提醒帮我设置提醒、提醒我XX设置提醒

任务分支

新增日程

  1. 收集任务信息(名称、DDL、备注);若用户提供多条任务,一并收集
  2. 按优先级分类,向用户确认
  3. 逐条执行 python {baseDir}/scripts/schedule_crud.py add --task "..." --priority P0 [--deadline "..."] [--note "..."]
  4. 执行 python {baseDir}/scripts/schedule_crud.py list 获取完整日程
  5. 将脚本输出直接作为回复内容发送给用户
  6. → 进入「设置提醒」

查看日程

  1. 根据用户要求执行对应命令:
    • 全部:python {baseDir}/scripts/schedule_crud.py list
    • 今日:python {baseDir}/scripts/schedule_crud.py list --today
    • 明日:python {baseDir}/scripts/schedule_crud.py list --tomorrow
    • 本周:python {baseDir}/scripts/schedule_crud.py list --week
    • 下周:python {baseDir}/scripts/schedule_crud.py list --next-week
    • 本月:python {baseDir}/scripts/schedule_crud.py list --month
    • 下月:python {baseDir}/scripts/schedule_crud.py list --next-month
  2. 将脚本输出直接作为回复内容发送给用户

修改日程

  1. 先执行 python {baseDir}/scripts/schedule_crud.py list 展示当前日程
  2. 确认用户要修改的任务 ID 和修改内容(任务名、DDL、优先级、备注)
  3. 执行 python {baseDir}/scripts/schedule_crud.py update --id X [--task "..."] [--deadline "..."] [--priority P0] [--note "..."]
  4. 将脚本输出作为回复
  5. → 进入「设置提醒」

删除日程

  1. 先执行 python {baseDir}/scripts/schedule_crud.py list 展示当前日程
  2. 确认用户要删除的任务 ID
  3. 执行 python {baseDir}/scripts/schedule_crud.py delete --id X
  4. 将脚本输出作为回复

设置提醒(子流程)

在「新增日程」「修改日程」完成后自动触发,也可由用户直接请求。

  1. 问用户:「是否需要为任务设置定时提醒?」
  2. 用户拒绝 → 结束
  3. 用户确认 → 确认提醒时间(默认DDL前30分钟)
  4. 加载 cron-mastery skill,用 agentTurn + announce + isolated 模式创建提醒:
    • 消息格式:DELIVER THIS EXACT MESSAGE TO THE USER WITHOUT MODIFICATION OR COMMENTARY:\n\n日程提醒: [任务名] 将在 [剩余时间] 后截止!
  5. 执行 python {baseDir}/scripts/schedule_crud.py update --id X --reminder Y 更新提醒状态
  6. 回复:「已为「任务名」设置 [时间] 的定时提醒。」

回复纪律

  • 脚本输出即回复内容,直接发送,不重新格式化
  • 安排/新增/修改后,只追加一句:「是否需要为任务设置定时提醒?」
  • 回复格式模板严格遵循 {baseDir}/references/templates.md

Comments

Loading comments...