← 返回 Skills 市场
largetool

C Task Cleanup

作者 largetool · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
148
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install c-task-cleanup
功能描述
Automatically scans and cleans completed C tasks weekly, compressing insights into MEMORY.md and generating cleanup reports.
使用说明 (SKILL.md)

C-Task-Cleanup · C 类任务清理工具

版本: v1.0
创建时间: 2026-03-01 21:00
用途: 每周日 23:00 自动清理 C 类任务已完成记录


🎯 功能

  1. 扫描 C 类任务池 - 读取已完成任务
  2. 4D 压缩高价值内容 - 提取洞察存入 MEMORY.md
  3. 清理已完成表格 - 清空"已完成"部分
  4. 生成清理报告 - 记录清理内容

📋 清理规则

内容 处理方式
待办任务 不清理(继续保留)
已完成任务(\x3C7 天) 4D 压缩后清理
已完成任务(>7 天) 直接清理
高价值洞察 4D 压缩 → MEMORY.md

🔧 使用方法

# 手动运行
node /Users/abc/.openclaw/workspace/skills/c-task-cleanup/handler.js

# 自动运行(每周日 23:00)
# Cron: /Users/abc/.openclaw/cron/c-task-cleanup.json

📊 输出

  • 清理报告: ~/Desktop/任务流/logs/c-task-cleanup-YYYY-MM-DD.md
  • MEMORY.md 更新: 高价值洞察(4D 压缩)

最后更新:2026-03-01 21:00

安全使用建议
This skill appears coherent and local-only, but it will read and overwrite files in your HOME (the C task markdown, a MEMORY.md under ~/.openclaw, and log files on your Desktop). Before enabling or scheduling it: (1) review the paths in handler.js and update them if they don't match your environment, (2) create backups of your C-待办任务池.md, (3) consider testing on a copy to confirm parsing/clearing behaves as you expect, and (4) if you want safety, add a pre-check or backup step to the script so you can revert accidental changes.
功能分析
Type: OpenClaw Skill Name: c-task-cleanup Version: 1.0.0 The skill is a local task management utility designed to automate the cleanup of completed tasks from a Markdown file and extract specific 'insights' into a memory file. It operates entirely on local file paths (e.g., ~/Desktop/任务流/) using standard Node.js file system modules, with no network activity, obfuscation, or attempts to access sensitive system credentials. The logic in handler.js and instructions in SKILL.md are consistent with the stated purpose of maintaining a task pool.
能力评估
Purpose & Capability
Name/description match the implementation. The handler reads a C-task markdown file, extracts completed items, compresses 'insights' into a MEMORY.md, clears the completed section, and writes a cleanup report — all consistent with the declared purpose.
Instruction Scope
SKILL.md and handler.js expect specific user-local paths (e.g., ~/Desktop/任务流/C-待办任务池.md and ~/.openclaw/workspace/memory). The script reads and overwrites the task file and writes logs; SKILL.md shows a concrete manual run path and a cron file location. This is expected for a local cleanup tool but you should note it will modify your files and there is no built-in backup step.
Install Mechanism
No install spec; the skill is instruction-only with a single JS handler. No external downloads or package installs are performed by the skill itself.
Credentials
No credentials or environment variables are requested. The code uses process.env.HOME implicitly to build file paths — normal for a local utility but worth noting because it will operate on files under your HOME directory.
Persistence & Privilege
The skill does not request 'always: true', does not modify other skills or global agent settings, and does not require elevated privileges. It will run only when invoked (or scheduled by a host cron), which matches its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install c-task-cleanup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /c-task-cleanup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of c-task-cleanup: - Automatically cleans up completed C-class tasks every Sunday at 23:00. - Extracts high-value insights using 4D compression and stores them in MEMORY.md. - Clears the "Completed" section of the C-class task list. - Generates a cleanup report documenting cleaned content. - Configurable for manual or scheduled execution.
元数据
Slug c-task-cleanup
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

C Task Cleanup 是什么?

Automatically scans and cleans completed C tasks weekly, compressing insights into MEMORY.md and generating cleanup reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 148 次。

如何安装 C Task Cleanup?

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

C Task Cleanup 是免费的吗?

是的,C Task Cleanup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

C Task Cleanup 支持哪些平台?

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

谁开发了 C Task Cleanup?

由 largetool(@largetool)开发并维护,当前版本 v1.0.0。

💬 留言讨论