mit einem Klick
task
当用户要求创建定时自动执行的任务(如每天推送简报、每周生成报告)时使用
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
当用户要求创建定时自动执行的任务(如每天推送简报、每周生成报告)时使用
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
基于 persona.md 的 personality_dims,按映射公式计算行为参数,写入 character_params.yaml。 由 calibrate_params 定时任务触发(每7天),或初始化完成时立即触发一次。 其他 SKILL/hook 在检测到 persona_checksum 不一致时,也会直接调用 recalculate.sh 同步重算。
v2.2 M3 · 对话历程摘要。RECENT_HISTORY.md 超过 30 条时,压缩旧条目为 3-5 句历程摘要 写入 memory/session_summary.md,防止长 context 导致角色漂移到共情模板。 被 memory_distill 在检测条数超阈时调用,或用户主动校验记忆时调用。
Companion Workspace 生活日志生成 SOP (v5.2)。 由 life_sim.yaml 定时任务触发(每 4 小时)。 从 material_pool 选真实素材,以"触发→反应"模板转译为角色生活日志。 内含:留白模式、用户倾诉强制呼应、降温规则、多形态衔接、失败降级链。
v5.1 关键词模板驱动 + 硬筛规则 + LLM 二审(锁外)+ 失败状态追踪。 由 material_fetch.yaml 定时任务触发(每 6 小时)。send_output: false。 读 memory/keyword_templates.yaml 生成查询,经 filters.yaml 硬筛后 LLM 二审打 fit_score 入库。
Companion Workspace 定时记忆提炼 SOP。 由 memory_distill.yaml 定时任务触发(每小时一次)。 从最近消息中提炼新信息,补充到 memory 文件,不重复已有内容。
Companion Workspace 记忆写入规范。 触发词:记住 / 对话结束时的自动检查 / 强烈情绪事件
| 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 对应的聊天