Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

defragmenterdefragmenter 搜索

Agent Skill

defragmenter 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,708

周安装

150

GitHub Stars

1

下载量

1,164
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:defragmenter(defragmenter 搜索)
来源仓库:https://github.com/balukov/defragmenter
安装命令:
openclaw skills install defragmenter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install defragmenter

简介

defragmenter 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于 OpenClaw 工作空间的结构知识碎片整理,查找分散的信息和规则。
  • 通过 clawhub 安装,命令为 openclaw skills install defragmenter。
  • 使用前需确认权限范围、维护状态,注意可能触发联网、命令执行或文件读写。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
defragmenter
description
Structural knowledge defragmentation for OpenClaw workspaces. Finds information, rules, and operational facts that are spread across the wrong files or embedded in the wrong layer, then rewrites them into the proper files without deleting source material. Use when the workspace feels fragmented, logic is embedded in cron/jobs instead of flow files, preferences are scattered, or facts exist but are not assembled into one coherent working structure.

Defragmenter

defragmenter is a structural reorganization skill for OpenClaw workspaces.

It does not behave like a cleaner, trash collector, or memory compressor. It does not delete information.

Its job is to find knowledge that already exists, but is fragmented across the wrong places, and reassemble it into the correct structural locations.

What It Does

Defragmenter looks for situations like:

  • logic living inside a cron message instead of a flow file
  • operational facts existing in chat or notes but not in CONTAINER_STATE.md
  • preferences mentioned in conversation but not recorded in the right preference file
  • workflow rules spread across multiple files without a clear source of truth
  • facts that exist, but are not assembled into one coherent working structure

Then, after user confirmation, it:

  • copies or rewrites that knowledge into the proper file (from the Allowed Targets list only)
  • preserves the existing information rather than deleting it
  • makes the workspace more structurally coherent

Core Principle

Reorganize, not destroy.

Defragmenter may:

  • move logic to the correct file
  • duplicate essential context into the correct source-of-truth file
  • rewrite instructions into a cleaner structure
  • connect fragmented pieces of working knowledge

Defragmenter does not:

  • delete source material by default
  • prune history
  • compress memory for brevity
  • behave like a cleanup/trash skill

Typical Use Cases

Use this skill when:

  • the workspace feels architecturally messy
  • the right information exists, but in the wrong place
  • a workflow is half in chat, half in cron, half in files
  • operational state has drifted away from documentation
  • multiple files describe the same process, but no file is the clear source of truth

Examples

Example 1: Cron logic is too smart

A cron message contains detailed workflow logic.

Defragmenter should:

  • extract that logic into a flow file
  • reduce the cron to a simple trigger
  • preserve the intent without deleting history

Example 2: Operational facts are stranded

A container repair decision exists in chat or daily notes, but not in CONTAINER_STATE.md.

Defragmenter should:

  • rewrite the important fact into CONTAINER_STATE.md
  • add or update restore instructions if appropriate

Example 3: Preferences are scattered

Food, browser, or workflow preferences exist in conversation history but not in their proper file.

Defragmenter should:

  • gather them into the correct preference/source-of-truth file

Allowed Targets

Defragmenter may only reorganize knowledge into files within the current workspace that match these patterns:

  • MEMORY.md
  • memory/*.md
  • CONTAINER_STATE.md
  • flows/*.md
  • preference files within the current workspace root

Defragmenter must not modify:

  • Any file under skills/ or any SKILL.md file (including its own)
  • Shell scripts, executables, or files outside the workspace root
  • .env, credentials, or configuration files not listed above
  • Any file belonging to another skill's directory

Output Style

First, return a dry-run structural report for user review:

Defragmentation scan complete. Proposed changes:
- MOVE workflow logic from cron text → flows/deploy.md
- COPY operational facts → CONTAINER_STATE.md
- COPY scattered preference rules → preferences.md
- No deletions proposed

Awaiting confirmation to apply.

After the user approves, apply changes and return a confirmation report.

Safety

  • Dry-run by default. When invoked, Defragmenter first produces a proposed change list (files to modify, what will be added/moved) without making any changes. Changes are only applied after the user confirms.
  • Confirmation required. Every file write must be presented to the user for approval before execution. Do not batch-apply changes silently.
  • Read-only scan first. Always begin by scanning and reporting what fragmentation was found. Never jump straight to writing files.
  • No deletions. Defragmenter must not delete content from source files, even if the content has been copied to its correct location. The user may choose to clean up sources separately.

Rules

  • Prefer creating a clear source of truth
  • Preserve information rather than deleting it
  • Structural coherence matters more than brevity
  • If something is already in the right place, leave it alone
  • Make minimal, high-value reorganizations
  • Only write to files listed in the Allowed Targets section above
  • Never modify skill definitions, SKILL.md files, or files outside the workspace
  • Always present a dry-run summary and wait for user approval before writing any file

Design Goal

Defragmenter exists to restore structural coherence across workspace knowledge.

It is focused on placement, source-of-truth repair, and reassembly of fragmented context across files and layers.

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.07%
按下载量换算851

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills