Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/kid0317/cc_workspace_bot --skill task명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | task |
| description | 当用户要求创建定时自动执行的任务(如每天推送简报、每周生成报告)时使用 |
| type | procedure |
| version | 1.0 |
本 skill 规范如何通过写入 YAML 文件来创建定时任务。
任务文件路径:<tasks_dir>/<uuid>.yaml
id: "550e8400-e29b-41d4-a716-446655440000" # 必填,UUID
app_id: "product-assistant" # 必填,当前应用 ID(从 SESSION_CONTEXT.md 读取)
name: "每日技术早报" # 任务名称
cron: "0 9 * * 1-5" # cron 表达式(工作日早9点)
target_type: "p2p" # p2p(私聊)或 group(群聊)
target_id: "ou_xxx" # open_id(p2p)或 chat_id(group)
prompt: "请生成今日技术早报,包含最新 AI 动态" # 执行 prompt
created_by: "ou_xxx" # 创建者 open_id
created_at: "2026-03-05T09:00:00Z" # 创建时间(ISO 8601)
enabled: true # 是否启用
Tasks dir 和 App ID<system_routing> 块解析默认发送目标:
target_type: "p2p",target_id 填写 sender_id(ou_* 格式的用户 open_id)routing_key 格式为 group:{chat_id} → target_type: "group",target_id: "{chat_id}"created_by 填写 <system_routing> 中的 sender_idrouting_key 中 p2p: 后面的是 chat_id(oc_* 格式),不是 open_id,不可用作 target_id<tasks_dir>/<uuid>.yaml"0 9 * * 1-5" 每周一至周五 09:00
"0 9 * * *" 每天 09:00
"0 9 * * 1" 每周一 09:00
"0/30 9-18 * * *" 工作时间每30分钟
"0 20 * * *" 每天 20:00
enabled: false任务触发后,框架的完整执行流程:
cron 时间到达
→ 框架将 prompt 作为对话消息传给 claude CLI
→ claude 在 workspace 环境中自主执行
(可使用 Read / Write / Bash / feishu_ops 等工具)
→ claude 输出最终文字结果
→ 框架将该结果通过飞书文字消息发送到 target_id 对应的聊天