Xpersona
S

Smart Task Scheduler

CLAWHUB · Unverified

智能任务与排班管理系统,支持多时段工作安排、动态排班和上班时间自适应提醒 Skill: Smart Task Scheduler Owner: cnkennypan Summary: 智能任务与排班管理系统,支持多时段工作安排、动态排班和上班时间自适应提醒 Tags: latest:1.0.6 Version history: v1.0.6 | 2026-04-02T02:14:14.198Z | auto smart-task-scheduler 1.0.6 - 移除 config.json 配置文件,简化配置结构 v1.0.5 | 2026-04-01T10:42:26.843Z | auto - Updated environment variable requirements: FEISHU_CALENDAR_ID is no longer required; only FEISHU_APP_ID and FEISHU_APP_SECRET are needed. - Removed ment

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170a027b0za3rg0vdwhc4x0xs83t4y0:smart-task-scheduler
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cnkennypan-smart-task-scheduler/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

62,056 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: smart-task-scheduler
description: 智能任务与排班管理系统,支持多时段工作安排、动态排班和上班时间自适应提醒
metadata: {"openclaw": {"emoji": "⏰", "requires": {"env": ["FEISHU_APP_ID", "FEISHU_APP_SECRET"]}, "primaryEnv": "FEISHU_APP_ID"}}
---

# 智能任务与排班管理系统

一个先进的个人任务与排班管理系统,能根据您复杂的多时段工作安排动态调整提醒,支持从表格文件导入排班,并通过自然语言修改排班。

## 核心优势

- **多时段工作支持**:完整支持"早"、"晚"、"早晚"等多种工作时段安排
- **排班自适应提醒**:根据您每天实际的多个工作时段动态计算提醒时间
- **灵活提醒规则**:支持基于特定工作时段开始前/后的提醒
- **表格导入**:支持上传Excel/CSV排班表,自动解析并存储
- **自然语言修改**:可通过对话直接修改排班信息
- **智能时段选择**:为任务自动选择最合适的工作时段

## 功能特性

### 1. 多时段排班管理
- **多时段工作安排**:支持单个时段、多个时段的复杂工作安排
- **排班表格导入**:支持上传Excel/CSV文件,自动解析复杂排班信息
- **自然语言修改**:通过对话直接修改特定日期的上班时间和时段安排
- **时段智能选择**:为任务自动选择最合适的工作时段
- **排班查询**:查询任意日期的排班信息和时段安排

### 2. 智能任务管理
- **动态提醒计算**:根据当天实际工作时段计算提醒时间
- **多时段提醒规则**:
  - `before_shift_start:X`:指定时段开始前X分钟提醒
  - `after_shift_start:X`:指定时段开始后X分钟提醒
  - `between_shifts:X`:两个工作时段之间提前X分钟提醒
  - `fixed_time:HH:MM`:固定时间提醒
- **时段自动匹配**:根据任务描述自动推荐最合适的工作时段

### 3. 智能提醒系统
- **智能体对话提醒**:在适当时间主动发起对话提醒,支持交互操作
- **时段关联提醒**:为同一任务在不同时段设置不同提醒

## 工具接口

### `import_schedule`
**导入排班表**

从Excel或CSV文件导入排班信息。文件格式需包含日期、工作时段等列。

*参数*:
- `file_path`: (字符串) 排班表文件路径
- `format`: (字符串) 文件格式,`excel` 或 `csv`

*示例*:
`/import_schedule /path/to/schedule.xlsx excel`

### `update_schedule`
**更新排班信息**

通过自然语言修改特定日期的排班信息。

*参数*:
- `date`: (字符串) 要修改的日期,格式为 `YYYY-MM-DD` 或自然语言如"明天"、"下周一"
- `change_description`: (字符串) 变更描述,如"明天上早晚班"、"周三晚班"

*示例*:
`/update_schedule 明天 早晚班,9:30-11:30 和 16:00-21:30`

### `show_schedule`
**查看排班**

查看指定日期范围的排班信息。

*参数*:
- `start_date`: (字符串,可选) 开始日期,默认为今天
- `end_date`: (字符串,可选) 结束日期,默认为7天后
- `format`: (字符串,可选) 输出格式,`table`(表格) 或 `list`(列表)

*示例*:
`/show_schedule 2026-04-01 2026-04-07 table`

### `add_smart_task`
**添加智能任务**

添加能根据排班动态调整提醒时间的任务。系统会根据任务类型和时段自动选择最合适的提醒时段。

*参数*:
- `description`: (字符串) 任务描述
- `due_date`: (字符串) 截止日期,格式为 `YYYY-MM-DD` 或自然语言
- `reminder_rule`: (字符串) 提醒规则,支持:
  - `before_first_shift:30` (第一时段开始前30分钟)
  - `after_first_shift_start:15` (第一时段开始后15分钟)
  - `before_second_shift:30` (第二时段开始前30分钟)
  - `between_shifts:60` (两时段之间提前60分钟)
  - `fixed_time:14:00` (固定时间)
- `task_type`: (字符串,可选) 任务类型,帮助系统选择时段,如`morning_task`, `between_shift_task`, `evening_task`
- `priority`: (字符串,可选) 优先级,`high`/`medium`/`low`

*示例*:
`/add_smart_task 买早餐 明天 before_first_shift:20 high morning_task`

### `calculate_reminders`
**计算提醒时间**

为所有任务计算基于排班的实际提醒时间。

*参数*:
- `date`: (字符串,可选) 计算指定日期的提醒,默认为明天

*示例*:
`/calculate_reminders 2026-04-01`

## 配置要求

### 环境变量

飞书应用配置 (必需)

FEISHU_APP_ID=your_app_id

FEISHU_APP_SECRET=your_app_secret

文件路径配置 (可选)

SCHEDULE_FILE_PATH=/path/to/schedule.json

TASKS_FILE_PATH=/path/to/tasks.json

### 定时任务配置
创建以下定时任务以实现自动化:

1. **每日排班同步**(每晚22:00运行,同步明天的排班和任务):

openclaw cron add \

--name "每日排班同步" \

--cron "0 22 * * *" \

--tz "Asia/Shanghai" \

--session isolated \

--message "请执行以下操作:1. 调用'smart-task-scheduler'技能的'calculate_reminders'功能,为明天的任务计算基于排班的提醒时间。2. 返回执行摘要,格式:[排班同步] 已为X个任务计算提醒时间。明天的工作时段是:Z。" \

--announce \

--agent smart-task-scheduler

2. **时段智能提醒**(根据实际工作

_meta.json

{
  "ownerId": "kn74vzj1cbwyreqhx3b59kta8d82smys",
  "slug": "smart-task-scheduler",
  "version": "1.0.6",
  "publishedAt": 1775096054198
}

skill-card.md

## Description:

Smart Task Scheduler helps agents import work schedules, manage shift-aware tasks, and calculate adaptive reminders for multi-shift personal schedules.

This skill is ready for commercial/non-commercial use.

## Publisher:

[cnkennypan](https://clawhub.ai/user/cnkennypan)

### License/Terms of Use:

MIT-0

## Use Case:

Individuals and external users can use this skill to maintain personal work schedules, import Excel or CSV shift tables, update shifts through natural language, and compute reminders that adapt to early, late, split-shift, or rest-day schedules.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Persistent reminder automation can wake the main session and proactively initiate reminders beyond a user's expectations.

Mitigation: Add the cron jobs only after reviewing the schedule, and disable the main-session hourly wake if proactive reminders are not required.

Risk: The skill handles Feishu credentials and personal schedule or task data.

Mitigation: Use least-privilege Feishu app credentials, store schedule files in a dedicated workspace path, and avoid exposing those files or secrets in shared repositories.

Risk: Imported schedules or natural-language updates can produce incorrect reminder times if shift data is wrong or ambiguous.

Mitigation: Confirm imported and updated schedules with the schedule display command and review calculated reminders before relying on alerts.

## Reference(s):

- [Smart Task Scheduler on ClawHub](https://clawhub.ai/cnkennypan/skills/smart-task-scheduler)
- [Publisher profile: cnkennypan](https://clawhub.ai/user/cnkennypan)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with command examples, schedule tables, and JSON-shaped schedule/task examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce cron setup commands and guidance for Feishu environment variables and workspace schedule/task files.]

## Skill Version(s):

1.0.6 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Smart Task Scheduler and adjacent AI workflows.