← Back to Skills Marketplace
largetool

C Task Cleanup

by largetool · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
148
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install c-task-cleanup
Description
Automatically scans and cleans completed C tasks weekly, compressing insights into MEMORY.md and generating cleanup reports.
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install c-task-cleanup
  3. After installation, invoke the skill by name or use /c-task-cleanup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug c-task-cleanup
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is C Task Cleanup?

Automatically scans and cleans completed C tasks weekly, compressing insights into MEMORY.md and generating cleanup reports. It is an AI Agent Skill for Claude Code / OpenClaw, with 148 downloads so far.

How do I install C Task Cleanup?

Run "/install c-task-cleanup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is C Task Cleanup free?

Yes, C Task Cleanup is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does C Task Cleanup support?

C Task Cleanup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created C Task Cleanup?

It is built and maintained by largetool (@largetool); the current version is v1.0.0.

💬 Comments