用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/stevehuang0115/crewly --skill create-cron-task命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | Create Cron Task |
| description | Create a recurring cron task that sends work to an agent on a schedule. |
| version | 1.0.0 |
| category | scheduling |
| skillType | claude-skill |
| assignableRoles | ["orchestrator"] |
| triggers | ["create cron","schedule recurring","add cron task"] |
| tags | ["cron","scheduling","automation"] |
| execution | {"type":"script","script":{"file":"execute.sh","interpreter":"bash","timeoutMs":15000}} |
Create a recurring cron task in the Crewly backend. The cron evaluator runs every 60 seconds and sends taskDescription as a message to the targetAgent when the cron expression matches.
bash {{ORCHESTRATOR_SKILLS_PATH}}/create-cron/execute.sh '{"cronExpression":"0 9 * * 1-5","timezone":"Asia/Shanghai","targetAgent":"agent-session","targetTeamId":"team-uuid","taskDescription":"Generate daily standup report"}'
| Parameter | Required | Description |
|---|---|---|
cronExpression | Yes | Standard 5-field cron expression (minute hour day month weekday) |
timezone | No | IANA timezone (default: UTC). Examples: Asia/Shanghai, America/New_York |
targetAgent | Yes | Session name of the agent to receive the task |
targetTeamId | Yes | Team ID the agent belongs to |
taskDescription | Yes | The task message sent to the agent when cron fires |
| Expression | Meaning |
|---|---|
0 9 * * 1-5 | 9:00 AM weekdays |
*/30 * * * * | Every 30 minutes |
0 0 * * 0 | Midnight every Sunday |
0 8,17 * * * | 8 AM and 5 PM daily |
~/.crewly/teams/{teamId}/cron-tasks.json基于 SOC 职业分类