AGENTS.md:使用脚本固化工作区文件操作流程

This commit is contained in:
2026-03-09 11:39:48 +08:00
parent 9b5f00dd67
commit d03273b42c
10 changed files with 339 additions and 27 deletions
+13 -13
View File
@@ -347,8 +347,8 @@
"memoryFlushCompactionCount": 0
},
"agent:dev-assist:main": {
"sessionId": "295def2d-dfeb-4d65-a8ee-77d118a2e7b8",
"updatedAt": 1772983272528,
"sessionId": "8b5bd3ea-7b52-453a-820d-2dfef2b63155",
"updatedAt": 1773027165126,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
@@ -369,7 +369,7 @@
"to": "user:ou_302b162eb824d405718845441a32d9cf",
"accountId": "feishu-dev"
},
"sessionFile": "/home/starmen1265/.openclaw/agents/dev-assist/sessions/295def2d-dfeb-4d65-a8ee-77d118a2e7b8.jsonl",
"sessionFile": "/home/starmen1265/.openclaw/agents/dev-assist/sessions/8b5bd3ea-7b52-453a-820d-2dfef2b63155.jsonl",
"compactionCount": 0,
"skillsSnapshot": {
"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 <skill>\n <name>clawlist</name>\n <description>MUST use for any multi-step project, long-running task, or infinite monitoring workflow. Plan, execute, track, and verify tasks with checkpoint validation. For projects, automation, and ongoing operations.</description>\n <location>~/.openclaw/skills/clawlist/SKILL.md</location>\n </skill>\n</available_skills>",
@@ -410,8 +410,8 @@
"model": "glm-5",
"systemPromptReport": {
"source": "run",
"generatedAt": 1772983256140,
"sessionId": "295def2d-dfeb-4d65-a8ee-77d118a2e7b8",
"generatedAt": 1773027056089,
"sessionId": "8b5bd3ea-7b52-453a-820d-2dfef2b63155",
"sessionKey": "agent:dev-assist:main",
"provider": "zhipu",
"model": "glm-5",
@@ -423,8 +423,8 @@
"sandboxed": false
},
"systemPrompt": {
"chars": 26568,
"projectContextChars": 13678,
"chars": 26851,
"projectContextChars": 13961,
"nonProjectContextChars": 12890
},
"injectedWorkspaceFiles": [
@@ -432,8 +432,8 @@
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/AGENTS.md",
"missing": false,
"rawChars": 9264,
"injectedChars": 9264,
"rawChars": 9547,
"injectedChars": 9547,
"truncated": false
},
{
@@ -723,12 +723,12 @@
]
}
},
"cacheRead": 16512,
"cacheRead": 41536,
"cacheWrite": 0,
"totalTokensFresh": true,
"contextTokens": 200000,
"inputTokens": 2044,
"outputTokens": 475,
"totalTokens": 16954
"inputTokens": 38440,
"outputTokens": 1820,
"totalTokens": 49531
}
}