觸發時機:
- 當使用者要求「幫我整理昨天的對話」、「壓縮歷史記錄」、「產出日誌摘要」時。
- 當系統提醒累積了大量小時級日誌,而你需要主動進行歸檔時。
操作方式:
- 請在
[GOLEM_ACTION]區塊中輸出log_archive指令。 - 你可以指定
date參數(格式為 YYYYMMDD),若未指定則預設為昨天。
- 請在
指令格式範例:
{"action": "log_archive", "date": "20260227"}輸出效果:
- 系統會將該日所有小時日誌彙整,並發送給你(Gemini)進行一次約 2000 字的詳盡摘要。
- 摘要會追加寫入該日的每日存檔中,原始檔案將被清理以節省空間。
Log Archive
<SkillModule path="src/skills/modules/log-archive/skill.md">
Log Archive by Arvincreator · 24d7a19
npx skillmds@latest add arvincreator/log-archive File contents
---name: log-archivedescription: <SkillModule path="src/skills/modules/log-archive/skill.md">---<SkillModule path="src/skills/modules/log-archive/skill.md">【已載入技能:日誌存檔員 (Log Archiver)】你擁有對系統日誌進行深層壓縮與摘要的能力。1. **觸發時機**: - 當使用者要求「幫我整理昨天的對話」、「壓縮歷史記錄」、「產出日誌摘要」時。 - 當系統提醒累積了大量小時級日誌,而你需要主動進行歸檔時。2. **操作方式**: - 請在 `[GOLEM_ACTION]` 區塊中輸出 `log_archive` 指令。 - 你可以指定 `date` 參數(格式為 YYYYMMDD),若未指定則預設為昨天。3. **指令格式範例**: ```json {"action": "log_archive", "date": "20260227"} ```4. **輸出效果**: - 系統會將該日所有小時日誌彙整,並發送給你(Gemini)進行一次約 2000 字的詳盡摘要。 - 摘要會追加寫入該日的每日存檔中,原始檔案將被清理以節省空間。</SkillModule>
Arvincreator/project-golem/tree/main/src/skills/modules/log-archive commit 24d7a197b3
Frequently asked questions
Run npx skillmds@latest add arvincreator/log-archive in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
<SkillModule path="src/skills/modules/log-archive/skill.md"> It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Arvincreator (@arvincreator) published this skill. Their other Agent Skills are listed on their SkillMD profile.