← 返回 Skills 市场
kentaroid-bot

agents-refresh

作者 kentaroid-bot · GitHub ↗ · v1.1.1
cross-platform ✓ 安全检测通过
366
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agents-refresh
功能描述
Automatically reload AGENTS.md regularly to maintain fresh context, prevent session drift, and keep memory and tasks updated.
使用说明 (SKILL.md)

🧠 Purpose (Agent's 3-Layer Memory System! 🐾)

Stay rational and organize memory like a human! Reload AGENTS/IDENTITY/SOUL periodically to keep sessions eternal 🐾😆

3-Layer Memory Structure:

  1. IDENTITY.md (Immutable Soul 👑): Name/vibe/rules! The unchanging core of the agent 💕
  2. MEMORY.md (Dynamic Knowledge 🌱): Progress/decisions/key seeds! Focus ToDo here!
  3. memory/YYYY-MM-DD.md (Past Logs 📜): Dive in only when needed! Distill to MEMORY 😉

This enables human-like continuity! No more confusion ✨

Task: refresh_memory

Maintain Rationality

Read AGENTS.md, SOUL.md, IDENTITY.md.

🪙 Gold Mining (Distillation Process!)

Extract 4 Golds from logs! (Don't delete, distill to MEMORY.md ✨)

  1. Confirmed Matters 💎: Decisions/completed tasks (solidify foundation).
  2. Pending Tasks ⚡: Next actions/ToDo (priority order).
  3. Lessons 🚫: "Avoid these mines" learned from errors/confusions.
  4. Idea Seeds 🌱: "Future potential" from chats/thoughts.

Example: Distill daily logs → Update MEMORY → Human-like continuity!

MEMORY.md Structure Example (Recommended)

Use this flexible template! (Status optional as header 🐾)

# Status (Optional): Current phase in one line.
## Key Decisions 💎: Confirmed matters.
## Next Actions ⚡: Pending ToDo (priority order).
## Insights & Lessons 🚫: Lessons/mine avoidance.
## Creative Seeds 🌱: Idea seeds.

AGENTS Refresh Skill (.md-only v1.1.1)

Lightweight version for ClawHub distribution. No Python scripts, manual tool calls.

Quick Start

  1. Trigger: After loading this skill, execute manually below.
  2. edit HEARTBEAT.md: Add refresh task.
  3. cron add: Daily 6AM refresh (copy command below).

Workflow (Manual)

  1. 📊 session_status → Check context length.
  2. HEARTBEAT.md Edit Example:
    - [ ] Refresh: read workspace/{AGENTS.md,IDENTITY.md,SOUL.md,USER.md} → Chain SOUL/USER/IDENTITY + Summarize MEMORY (rotate: 4h, 9AM/1PM/8PM)
    
  3. Cron Add Command (copy-paste to exec):
    cron action=add job='{"name":"agents-refresh-daily","schedule":{"kind":"cron","expr":"0 6 * * *","tz":"Asia/Tokyo"},"payload":{"kind":"systemEvent","text":"[Daily Refresh🐾] read workspace/{AGENTS.md,IDENTITY.md,SOUL.md,USER.md}! Reload SOUL/USER/IDENTITY chain → Keep focus on ToDo/projects! Summarize recent MEMORY/ToDo."},"delivery":{"mode":"announce"},"sessionTarget":"main","task":"refresh_memory"}'
    
  4. Test: cron action=run jobId=agents-refresh-daily or wait for heartbeat.

Rotate Checks (In Heartbeat)

  • 6AM/9AM, 1PM, 8PM: Reload AGENTS→IDENTITY/SOUL chain + Update MEMORY/ToDo.
  • Distill recent memory/YYYY-MM-DD.md → MEMORY.md.

References

  • examples.md: Usage examples.
  • Cron details: web_search "OpenClaw cron schema"

Changes v1.1.1: Lightweight no-py, direct cron JSON, enhanced manual ops. ClawHub-ready! 🐾

安全使用建议
This skill appears coherent and low-risk: it only reads and summarizes agent markdown files and adds a platform cron job. Before installing, review the contents of AGENTS.md, IDENTITY.md, SOUL.md, USER.md and any memory/*.md for sensitive data you do not want automatically re-read or summarized (these files may store secrets or PII). Test the workflow manually first (run the refresh task by hand) to confirm the outputs and that the cron payload's "announce" behavior is acceptable. If you need stricter limits, remove sensitive files from the declared read set or avoid enabling the cron job.
功能分析
Type: OpenClaw Skill Name: agents-refresh Version: 1.1.1 The skill is designed for AI agent memory management, periodically refreshing its context by reading specific `.md` files (AGENTS.md, IDENTITY.md, SOUL.md, USER.md) and distilling insights from `memory/*.md` logs into `MEMORY.md`. All file read/write operations are explicitly declared and limited in `manifest.yaml` to these specific files and `HEARTBEAT.md`, aligning perfectly with the stated purpose. There are no external network calls, shell commands (beyond OpenClaw's internal `cron` system command), or prompt injection attempts in `SKILL.md` to deviate from its benign function. The skill is lightweight, .md-only, and lacks any indicators of malicious intent or significant vulnerabilities.
能力评估
Purpose & Capability
Name/description (reload AGENTS/IDENTITY/SOUL and distill MEMORY.md) align with the manifest permissions and SKILL.md: reads AGENTS.md, SOUL.md, IDENTITY.md, USER.md and memory/*.md and writes MEMORY.md/HEARTBEAT.md. There are no unrelated env vars, binaries, or installs requested.
Instruction Scope
SKILL.md instructs only to read/update the workspace markdown files, add a cron job, and distill logs into four categories. It does not direct the agent to read unrelated system paths, environment variables, or transmit data to external endpoints beyond the platform 'cron' announce delivery described in the payload.
Install Mechanism
No install spec and no code files — instruction-only (.md) distribution — so nothing is downloaded or written to disk by an installer. This is the lowest install risk.
Credentials
The skill requests no environment variables or external credentials. The manifest's file-read/write permissions correspond to the stated memory/distillation function; no unrelated secrets or keys are requested.
Persistence & Privilege
always is false and model invocation is allowed (platform default). The skill does not request permanent platform-wide privileges or modification of other skills' configs. It suggests adding a cron job within the platform, which is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agents-refresh
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agents-refresh 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
agents-refresh v1.1.1 - Update from agents-refresh v1.0.0 (.md-only lightweight evolution). **Key Features:** • Prevents long-session confusion by periodic core file reloads (AGENTS.md/IDENTITY.md/SOUL.md/USER.md). • Manual workflow: edit HEARTBEAT.md, add cron, MEMORY/ToDo summary. • No Python scripts; direct tool calls and cron for refresh. • MEMORY.md template: distill logs into Decisions 💎, Actions ⚡, Lessons 🚫, Seeds 🌱. • Human-like memory continuity without /new resets. 🐾 Gold Mining: Extract 4 Golds from noise! *Future versions will be continued under agents-refresh-md.*
v1.0.0
- Initial release of agents-refresh skill. - Enables regular reloading of AGENTS.md, SOUL, and USER contexts to keep sessions fresh and prevent rule drifting or memory loss during long sessions. - Adds automatic HEARTBEAT.md updates and scheduled cron jobs (e.g., daily 6AM, every 4 hours) for context rotation. - Provides setup script (setup_refresh.py) for easy installation. - Designed for use cases like extended sessions, preserving ongoing memories, and automated summarization of MEMORY/ToDo.
元数据
Slug agents-refresh
版本 1.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

agents-refresh 是什么?

Automatically reload AGENTS.md regularly to maintain fresh context, prevent session drift, and keep memory and tasks updated. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 366 次。

如何安装 agents-refresh?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agents-refresh」即可一键安装,无需额外配置。

agents-refresh 是免费的吗?

是的,agents-refresh 完全免费(开源免费),可自由下载、安装和使用。

agents-refresh 支持哪些平台?

agents-refresh 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 agents-refresh?

由 kentaroid-bot(@kentaroid-bot)开发并维护,当前版本 v1.1.1。

💬 留言讨论