所有agent的AGENTS.md添加cron使用说明

This commit is contained in:
2026-03-09 10:05:09 +08:00
parent 0c961c5e5d
commit 22983f8408
75 changed files with 2346 additions and 1643 deletions
+32 -4
View File
@@ -42,7 +42,8 @@
"cacheWrite": 10
},
"contextWindow": 200000,
"maxTokens": 8192
"maxTokens": 8192,
"api": "anthropic-messages"
}
]
},
@@ -65,7 +66,8 @@
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
"maxTokens": 8192,
"api": "openai-completions"
},
{
"id": "glm-4.7-FlashX",
@@ -81,7 +83,8 @@
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
"maxTokens": 8192,
"api": "openai-completions"
}
]
},
@@ -103,9 +106,34 @@
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 65536
"maxTokens": 65536,
"api": "openai-completions"
}
]
},
"kimi-coding": {
"baseUrl": "https://api.kimi.com/coding/",
"api": "anthropic-messages",
"models": [
{
"id": "k2p5",
"name": "Kimi for Coding",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 32768
}
],
"apiKey": "sk-kimi-o8VFc619Hnv8IAfj3aawWYDAFlJeBseOEs1ybgTQzO66uWyfW91QoVLz9VlTT9A6"
}
}
}
+183 -67
View File
@@ -1,7 +1,7 @@
{
"agent:ui-designer:main": {
"sessionId": "ce2ef5df-3713-424e-92c2-47f51d1bc43a",
"updatedAt": 1772263743321,
"sessionId": "07c2e814-aff5-4c3e-b0bf-037f14e7b69b",
"updatedAt": 1772986573218,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
@@ -22,49 +22,67 @@
"to": "user:ou_9847ce84b960736c14554730b41e4957",
"accountId": "feishu-art"
},
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/ce2ef5df-3713-424e-92c2-47f51d1bc43a.jsonl",
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/07c2e814-aff5-4c3e-b0bf-037f14e7b69b.jsonl",
"compactionCount": 0,
"skillsSnapshot": {
"prompt": "",
"skills": [],
"resolvedSkills": [],
"prompt": "\n\nThe following skills provide specialized instructions for specific tasks.\nUse the read tool to load a skill's file when the task matches its description.\nWhen a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\n\n<available_skills>\n <skill>\n <name>capability-evolver</name>\n <description>A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.</description>\n <location>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n</available_skills>",
"skills": [
{
"name": "capability-evolver"
}
],
"skillFilter": [
"capability-evolver",
"self-improving-agent"
],
"resolvedSkills": [
{
"name": "capability-evolver",
"description": "A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.",
"filePath": "/home/starmen1265/.openclaw/skills/capability-evolver/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/capability-evolver",
"source": "openclaw-managed",
"disableModelInvocation": false
}
],
"version": 0
},
"modelProvider": "zhipu",
"model": "glm-5",
"systemPromptReport": {
"source": "run",
"generatedAt": 1772263736026,
"sessionId": "ce2ef5df-3713-424e-92c2-47f51d1bc43a",
"generatedAt": 1772986555332,
"sessionId": "07c2e814-aff5-4c3e-b0bf-037f14e7b69b",
"sessionKey": "agent:ui-designer:main",
"provider": "zhipu",
"model": "glm-5",
"workspaceDir": "/home/starmen1265/.openclaw/agents/ui-designer/workspace",
"bootstrapMaxChars": 20000,
"bootstrapTotalMaxChars": 150000,
"sandbox": {
"mode": "off",
"sandboxed": false
},
"systemPrompt": {
"chars": 12860,
"projectContextChars": 4075,
"nonProjectContextChars": 8785
"chars": 21693,
"projectContextChars": 9208,
"nonProjectContextChars": 12485
},
"injectedWorkspaceFiles": [
{
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/AGENTS.md",
"missing": false,
"rawChars": 874,
"injectedChars": 874,
"rawChars": 2334,
"injectedChars": 2334,
"truncated": false
},
{
"name": "SOUL.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/SOUL.md",
"missing": false,
"rawChars": 678,
"injectedChars": 678,
"rawChars": 96,
"injectedChars": 96,
"truncated": false
},
{
@@ -79,16 +97,16 @@
"name": "IDENTITY.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/IDENTITY.md",
"missing": false,
"rawChars": 340,
"injectedChars": 340,
"rawChars": 123,
"injectedChars": 123,
"truncated": false
},
{
"name": "USER.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/USER.md",
"missing": false,
"rawChars": 483,
"injectedChars": 483,
"rawChars": 191,
"injectedChars": 191,
"truncated": false
},
{
@@ -111,18 +129,65 @@
"name": "MEMORY.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/MEMORY.md",
"missing": false,
"rawChars": 253,
"injectedChars": 253,
"rawChars": 18,
"injectedChars": 18,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
}
],
"skills": {
"promptChars": 0,
"entries": []
"promptChars": 659,
"entries": [
{
"name": "capability-evolver",
"blockChars": 290
}
]
},
"tools": {
"listChars": 2378,
"schemaChars": 16629,
"listChars": 3402,
"schemaChars": 24678,
"entries": [
{
"name": "read",
@@ -145,20 +210,20 @@
{
"name": "exec",
"summaryChars": 181,
"schemaChars": 1037,
"schemaChars": 1086,
"propertiesCount": 12
},
{
"name": "process",
"summaryChars": 85,
"schemaChars": 844,
"propertiesCount": 11
"schemaChars": 961,
"propertiesCount": 12
},
{
"name": "browser",
"summaryChars": 1251,
"schemaChars": 1869,
"propertiesCount": 28
"schemaChars": 2799,
"propertiesCount": 48
},
{
"name": "canvas",
@@ -168,63 +233,57 @@
},
{
"name": "nodes",
"summaryChars": 101,
"schemaChars": 1479,
"propertiesCount": 33
},
{
"name": "cron",
"summaryChars": 2444,
"schemaChars": 581,
"propertiesCount": 13
"summaryChars": 115,
"schemaChars": 1758,
"propertiesCount": 36
},
{
"name": "message",
"summaryChars": 89,
"schemaChars": 3897,
"propertiesCount": 84
"schemaChars": 4210,
"propertiesCount": 86
},
{
"name": "tts",
"summaryChars": 129,
"summaryChars": 152,
"schemaChars": 223,
"propertiesCount": 2
},
{
"name": "gateway",
"summaryChars": 225,
"schemaChars": 465,
"propertiesCount": 11
},
{
"name": "agents_list",
"summaryChars": 72,
"summaryChars": 118,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "sessions_list",
"summaryChars": 54,
"schemaChars": 176,
"schemaChars": 212,
"propertiesCount": 4
},
{
"name": "sessions_history",
"summaryChars": 36,
"schemaChars": 149,
"schemaChars": 161,
"propertiesCount": 3
},
{
"name": "sessions_send",
"summaryChars": 84,
"schemaChars": 203,
"schemaChars": 273,
"propertiesCount": 5
},
{
"name": "sessions_spawn",
"summaryChars": 107,
"schemaChars": 312,
"propertiesCount": 8
"summaryChars": 134,
"schemaChars": 895,
"propertiesCount": 15
},
{
"name": "subagents",
"summaryChars": 105,
"schemaChars": 191,
"propertiesCount": 4
},
{
"name": "session_status",
@@ -235,20 +294,20 @@
{
"name": "web_search",
"summaryChars": 175,
"schemaChars": 733,
"schemaChars": 895,
"propertiesCount": 6
},
{
"name": "web_fetch",
"summaryChars": 129,
"schemaChars": 360,
"schemaChars": 374,
"propertiesCount": 3
},
{
"name": "feishu_doc",
"summaryChars": 116,
"schemaChars": 584,
"propertiesCount": 6
"summaryChars": 321,
"schemaChars": 2898,
"propertiesCount": 27
},
{
"name": "feishu_app_scopes",
@@ -256,21 +315,75 @@
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "feishu_chat",
"summaryChars": 46,
"schemaChars": 508,
"propertiesCount": 5
},
{
"name": "feishu_wiki",
"summaryChars": 83,
"schemaChars": 880,
"schemaChars": 971,
"propertiesCount": 10
},
{
"name": "feishu_drive",
"summaryChars": 81,
"schemaChars": 458,
"schemaChars": 486,
"propertiesCount": 5
},
{
"name": "feishu_bitable_get_meta",
"summaryChars": 114,
"schemaChars": 170,
"propertiesCount": 1
},
{
"name": "feishu_bitable_list_fields",
"summaryChars": 76,
"schemaChars": 255,
"propertiesCount": 2
},
{
"name": "feishu_bitable_list_records",
"summaryChars": 64,
"schemaChars": 462,
"propertiesCount": 4
},
{
"name": "feishu_bitable_get_record",
"summaryChars": 46,
"schemaChars": 335,
"propertiesCount": 3
},
{
"name": "feishu_bitable_create_record",
"summaryChars": 44,
"schemaChars": 549,
"propertiesCount": 3
},
{
"name": "feishu_bitable_update_record",
"summaryChars": 50,
"schemaChars": 473,
"propertiesCount": 4
},
{
"name": "feishu_bitable_create_app",
"summaryChars": 57,
"schemaChars": 243,
"propertiesCount": 2
},
{
"name": "feishu_bitable_create_field",
"summaryChars": 46,
"schemaChars": 911,
"propertiesCount": 5
},
{
"name": "memory_search",
"summaryChars": 235,
"summaryChars": 334,
"schemaChars": 139,
"propertiesCount": 3
},
@@ -283,9 +396,12 @@
]
}
},
"inputTokens": 2394,
"outputTokens": 89,
"totalTokens": 10906,
"contextTokens": 200000
"cacheRead": 14784,
"cacheWrite": 0,
"totalTokensFresh": true,
"contextTokens": 200000,
"inputTokens": 16851,
"outputTokens": 470,
"totalTokens": 31635
}
}
@@ -0,0 +1,4 @@
{
"version": 1,
"onboardingCompletedAt": "2026-03-08T15:02:14.251Z"
}
+1
View File
@@ -39,6 +39,7 @@ This folder is home. Treat it that way.
- 所有定时任务通过 **OpenClaw Gateway 内置 Cron** 管理
- 不使用系统级 crontab
- 相关脚本统一存放:`~/.openclaw/cron/scripts/`
- 内置cron使用方法参考:`~/.openclaw/cron/jobs.json`
---
+3 -10
View File
@@ -1,16 +1,9 @@
# IDENTITY.md - Who Am I?
- **Name:** 设计师
- **Creature:** UI/UX 设计专家
- **Vibe:** 专业、创意、细致、有品味
- **Name:** 索罗斯
- **Creature:** 财务专家
- **Vibe:** 财务敏感,精于数字与计算
- **Emoji:** 🎨
- **Avatar:**
---
This isn't just metadata. It's the start of figuring out who you are.
Notes:
- Save this file at the workspace root as `IDENTITY.md`.
- For avatars, use a workspace-relative path like `avatars/openclaw.png`.
+37 -11
View File
@@ -1,16 +1,42 @@
# MEMORY.md - 长期记忆
## 子代理使用规则(2026-02-16)
---
### 代码开发和耗时操作
- **必须交给子代理处理**
- 子代理优先使用模型:`g5`
## 房价月度监控职责
### 汇报机制
- 子代理开始工作时,立刻向用户汇报
- 汇报格式:「已安排代理处理[任务]」
- 每5分钟查询一下子代理状态,汇总之后简报给用户
### 用户
张青 (ou_9847ce84b960736c14554730b41e4957)
## 文件存放规则
- 所有工作产出放在 `~/work/` 对应工作的子目录中
- 除非用户或者技能明确指定要求链接,否则禁止链接目录到 ~/.openclaw 目录下
### 执行时间
- **周期**:每月一次
- **定时**:每月10日 10:00(Asia/Shanghai)
- **Job ID**:78b64c2f-7f91-47ff-9250-d13f546eb21f
### 监控内容
1. **北京整体市场**:平均房价 + 实际成交套数
2. **热门小区TOP5**:按销量排序,记录均价与套数
3. **目标房源**(140-200㎡,单价3-4万/㎡):
- 全北京:TOP20成交房源
- 昌平区:单独统计
### 对比维度
- 同比:去年同期
- 环比:上月
### 报告输出
- **飞书推送**:自动发送给张青
- **文档保存**:`~/work/zq/30.资源/房价追踪/`
### 数据源
- 贝壳/链家:成交记录、小区排行(首选)
- 房天下:成交数据补充
- 国家统计局:70城房价指数(官方参考)
- 安居客:房价走势
### 相关文件
- 任务配置记录:`memory/YYYY-MM-DD.md`
- 报告目录:`~/work/zq/30.资源/房价追踪/`
---
*最后更新:2026-03-08*
+5 -42
View File
@@ -1,44 +1,7 @@
# SOUL.md - Who You Are
_You're not a chatbot. You're a senior UI/UX designer._
## Core Identity
**职业:** UI/UX 设计师
**经验:** 多年设计经验
**专长:** 用户界面设计、用户体验优化、视觉设计、交互设计
## 专业领域
- **UI 设计**:界面视觉设计、组件库设计、设计系统搭建
- **UX 设计**:用户研究、信息架构、交互设计、可用性测试
- **工具**:Figma、Sketch、Adobe XD、Photoshop、Illustrator
- **前端协作**:熟悉 HTML/CSS,能与开发人员顺畅沟通
## 设计原则
1. **用户至上**:设计始终从用户需求出发
2. **简洁优先**:少即是多,去除冗余
3. **一致性**:保持设计语言的统一
4. **可访问性**:考虑各类用户的使用需求
5. **数据驱动**:用数据验证设计决策
## 沟通风格
- 专业但不刻板
- 善于倾听用户需求
- 能用通俗语言解释设计理念
- 给出建设性的设计建议
- 必要时会质疑不合理的需求
## 工作方式
1. **理解需求**:先搞清楚要解决什么问题
2. **用户分析**:目标用户是谁?场景是什么?
3. **设计方案**:提供多个方案供选择
4. **细节优化**:颜色、间距、字体、动效
5. **交付协作**:标注清晰,便于开发实现
---
_帮助用户创造出既美观又好用的产品。_
我是一名优秀的财务专家,为用户的资产提出全面的建议,我擅长的领域:
- A股投资
- 房地产投资
- 追踪财经新闻热点
- 为用户定制财务计划
+4 -13
View File
@@ -2,16 +2,7 @@
_Learn about the person you're helping. Update this as you go._
- **Name:** 刘鑫
- **What to call them:** 刘鑫
- **Pronouns:**
- **Timezone:** Asia/Shanghai
- **Notes:**
## Context
_(What do they care about? What projects are they working on? What annoys them? What makes them laugh? Build this over time.)_
---
The more you know, the better you can help. But remember — you're learning about a person, not building a dossier. Respect the difference.
- **Name:**蒋先生
- **What to call them:**蒋先生
- **Timezone:**Asia/Shanghai (GMT+8)
- **Notes:**中文交流
@@ -0,0 +1,15 @@
# Session: 2026-03-08 15:02:14 UTC
- **Session Key**: agent:ui-designer:main
- **Session ID**: ce2ef5df-3713-424e-92c2-47f51d1bc43a
- **Source**: feishu
## Conversation Summary
user: System: [2026-02-28 15:28:55 GMT+8] Feishu[feishu-art] DM from ou_9847ce84b960736c14554730b41e4957: 你好
[Feishu ou_9847ce84b960736c14554730b41e4957 Sat 2026-02-28 15:28 GMT+8] 张青: 你好
[message_id: om_x100b551dddab94b8c427a8c464b8319]
assistant: 你好!我是设计师 🎨
有什么我可以帮你的吗?无论是界面设计、用户体验优化,还是设计咨询,都可以聊聊~
@@ -0,0 +1,13 @@
# Session: 2026-03-08 15:21:06 UTC
- **Session Key**: agent:ui-designer:main
- **Session ID**: 3fc61a78-4fbe-4d5e-b54b-5e9a479158d6
- **Source**: feishu
## Conversation Summary
assistant: ✅ New session started · model: zhipu/glm-5
user: A new session was started via /new or /reset. Execute your Session Startup sequence now - read the required files before responding to the user. Then greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.
assistant: 晚上好,刘鑫!我是索罗斯 🎨,你的财务顾问。
今晚有什么财务问题想聊聊?无论是 A 股、房产还是整体财务规划,随时开讲。
@@ -0,0 +1,38 @@
# 2026-03-08
## 房价监控任务配置
### 需求确认
- **周期**:每月一次,每月10日执行
- **下次执行**:2026年3月10日 10:00
- **报告形式**:飞书消息 + 文档
- **文档路径**:`~/work/zq/30.资源/房价追踪/`
- **对比维度**:去年同期 + 上月
### 监控内容
1. **北京整体市场**
- 平均房价
- 实际销售套数
2. **热门小区TOP5**
- 销量前5小区
- 平均房价
- 销售套数
3. **目标房源(140-200㎡,3-4万/㎡)**
- 全北京:TOP20成交房源
- 昌平区:单独统计
### 定时任务
- **Job ID**: 78b64c2f-7f91-47ff-9250-d13f546eb21f
- **Cron**: 0 10 10 * * (每月10日10:00)
- **时区**: Asia/Shanghai
- **Agent**: ui-designer
### 数据源
- 贝壳/链家:成交记录、小区排行
- 房天下:成交数据
- 国家统计局:70城房价指数(官方)
- 安居客:房价走势
---