📅 Schedule — 技能工具
v1.0.2[自动翻译] Program recurring or one-time tasks. User defines what to do, skill handles when.
3· 3,933·27 当前·28 累计
安全扫描
OpenClaw
安全
medium confidence该技能提供定时任务调度功能,代码和指令与其声明目的一致。
评估建议
此技能用于定时任务管理,可配置定时执行各种操作。...详细分析 ▾
✓ 用途与能力
Name/description (scheduling tasks) align with what the skill asks for: local storage under ~/schedule, job definitions, and timing behavior. It does not request unrelated credentials or system-wide changes.
ℹ 指令范围
SKILL.md stays within scheduling scope: it instructs creating ~/schedule, persisting jobs, confirming permissions, and executing only user-defined tasks. One ambiguity: it states it 'handles WHEN' but gives no implementation details (background scheduler vs. platform timer). That is an operational assumption rather than a security mismatch, but you should confirm how the agent/platform will actually trigger jobs.
✓ 安装机制
Instruction-only skill with no install spec and no code files — lowest-risk install surface. Nothing is downloaded or written beyond the documented ~/schedule files.
✓ 凭证需求
No environment variables, credentials, or external config paths are required. The skill documents an explicit 'requires' field per job to list other skills the job needs, which is appropriate and limited.
ℹ 持久化与权限
always:false (normal). The skill allows autonomous invocation (platform default), which is required for scheduled execution on many platforms; this is reasonable but increases blast radius if you later grant it broad permissions or link jobs to other skills. The skill does not request permanent system-wide changes.
安全有层次,运行前请审查代码。
运行时依赖
🖥️ OSLinux · macOS · Windows
版本
latestv1.0.22026/2/12
Clarified user-driven execution model, removed assumed access patterns
● 无害
安装命令 点击复制
官方npx clawhub@latest install schedule
镜像加速npx clawhub@latest install schedule --registry https://cn.clawhub-mirror.com
技能文档
Data Storage
~/schedule/
├── jobs.json # Job definitions
├── preferences.json # Timezone, preferred times
└── history/ # Execution logs
└── YYYY-MM.jsonl
Create on first use: mkdir -p ~/schedule/history
Scope
This skill:
- ✅ Stores scheduled job definitions in ~/schedule/
- ✅ Triggers jobs at specified times
- ✅ Learns timezone and time preferences from user
Execution model:
- User explicitly defines WHAT the job does
- User grants any permissions needed for the job
- Skill only handles WHEN, not WHAT
This skill does NOT:
- ❌ Assume access to any external service
- ❌ Modify system crontab or launchd
- ❌ Execute jobs without user-defined instructions
Quick Reference
| Topic | File |
|---|---|
| Cron expression syntax | patterns.md |
| Common mistakes | traps.md |
| Job format | jobs.md |
Core Rules
1. User Defines Everything
When user requests a scheduled task:- WHAT: User specifies the action (may require other skills/permissions)
- WHEN: This skill handles timing
- HOW: User grants any needed access explicitly
Example flow:
User: "Every morning, summarize my emails"
Agent: "I'll schedule this for 8am. This will need email access —
do you want me to use the mail skill for this?"
User: "Yes"
→ Job stored with explicit reference to mail skill
2. Simple Requests
| Request | Action |
|---|---|
| "Remind me to X at Y" | Store job, confirm |
| "Every morning do X" | Ask time, store job |
| "Cancel X" | Remove from jobs.json |
3. Confirmation Format
✅ [what user requested]
📅 [when] ([timezone])
🔧 [permissions/skills needed, if any]
🆔 [id]
4. Job Persistence
In ~/schedule/jobs.json:{
"daily_review": {
"cron": "0 9 1-5",
"task": "User-defined task description",
"requires": ["mail"],
"created": "2024-03-15",
"timezone": "Europe/Madrid"
}
}
The requires field explicitly lists any skills/access the job needs.
5. Execution
When scheduled time arrives:- Agent executes the user-defined task
- Uses only permissions user explicitly granted
- Logs result to history/
6. Preferences
After first job, store in preferences.json:- Timezone
- Preferred "morning" / "evening" times
- Default notification style
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制