搜索

PythonReactSEOPDF
OpenClaw

knowledge-management

Organize and classify OpenClaw knowledge entries into local folders by content type (Research, Decision, Insight, Lesson, Pattern, Project, Reference, Tutorial).

claireaicodes0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install claireaicodes/knowledge-management

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Knowledge Management Skill (Local Storage)

Organize your OpenClaw memory files into a structured local knowledge base. Automatically parses MEMORY.md and daily memory files, classifies entries by content type, and stores each as a timestamped markdown file in the appropriate folder.

Available Tools

Core Commands
  • km sync [options] - Sync memory entries to local files
  • km classify [options] - Parse and classify without storing (JSON output)
  • km summarize [options] - Generate index files for each content type
  • km cleanup [options] - Remove orphaned files
  • km list_types - List all available content types

Setup

No API keys needed! The skill uses two locations:

  • Input Workspace: Where MEMORY.md and memory/ daily files are read from.
  • Output Directory: Where organized folders (Research/, Decision/, etc.) are written.

Both are detected automatically:

Input Workspace (source files)
  1. OPENCLAWORKSPACE environment variable
  2. --workspace <path> CLI argument
  3. Current working directory (if it contains MEMORY.md)
  4. Default: ~/.openclaw/workspace
Output Directory (organized files)
  1. --output-dir <path> CLI argument (relative to workspace or absolute)
  2. Default: <workspace>/memory/KM

The skill will create the output directory and all content-type folders automatically.

If you want to pre-create:

mkdir -p ~/.openclaw/workspace/memory/KM/{Research,Decision,Insight,Lesson,Pattern,Project,Reference,Tutorial}

Usage Examples

Default locations (input at workspace root, output in memory/KM)
# From any directory (workspace auto-detected)
km sync --days_back 7 --cleanup
Custom input workspace and output directory
km sync --workspace /custom/input/workspace --output-dir /custom/output/KM --days_back 7
Using environment variables
export OPENCLAWORKSPACE=/custom/input/workspace
km sync --output-dir /custom/output/KM --days_back 7
Dry run (p...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/claireaicodes/knowledge-management
Version
—
Commit
a2188aae861665ac71c6f0d5a0f0850ea32564c7
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Knowledge Management Skill (Local Storage)

Organize your OpenClaw memory files into a structured local knowledge base. Automatically parses MEMORY.md and daily memory files, classifies entries by content type, and stores each as a timestamped markdown file in the appropriate folder.

Setup

No API keys needed! Just ensure your workspace structure exists:

mkdir -p ~/.openclaw/workspace/{Research,Decision,Insight,Lesson,Pattern,Project,Reference,Tutorial}

The skill will create folders automatically if missing.

Tools

km sync

Extract and store knowledge entries as markdown files.

Options:

  • --days_back <num> (default: 7) — Include N days of daily files
  • --dry_run — Preview without creating files
  • --limit <num> — Max entries to process
  • --cleanup — Delete orphan files (files in folders but not tracked in state)
  • --verbose — Detailed logs

Example:

km sync --days_back 14 --dry_run
km sync --days_back 7 --cleanup
km classify

Parse and classify entries without storing. Outputs JSON with full metadata.

Options:

  • --days_back <num> (default: 0) — 0 = only MEMORY.md, otherwise include daily files

Example:

km classify --days_back 3 > entries.json
km summarize

Create index files listing all entries in each content type folder.

Options:

  • --output_dir <path> — Where to write index files (default: workspace root)

Example:

km summarize --output_dir ~/.openclaw/workspace
km cleanup

Remove orphaned files (files in content folders that are not tracked in the sync state).

Options:

  • --dry_run — Preview what would be deleted

Example:

km cleanup --dry_run
km cleanup
km list_types

List all available content types and their descriptions.

Example:

km list_types

Storage Structure

~/.openclaw/workspace/
├── Research/
│   ├── 20260215T1448_OpenClaw_Optimization_Findings_e4b30e75.md
│   └── 20260215T1448...

来源内容

SKILL.md
# Knowledge Management Skill (Local Storage)

Organize your OpenClaw memory files into a structured local knowledge base. Automatically parses `MEMORY.md` and daily memory files, classifies entries by content type, and stores each as a timestamped markdown file in the appropriate folder.

## Available Tools

### Core Commands
- `km sync [options]` - Sync memory entries to local files
- `km classify [options]` - Parse and classify without storing (JSON output)
- `km summarize [options]` - Generate index files for each content type
- `km cleanup [options]` - Remove orphaned files
- `km list_types` - List all available content types

## Setup

No API keys needed! The skill uses two locations:

- **Input Workspace**: Where `MEMORY.md` and `memory/` daily files are read from.
- **Output Directory**: Where organized folders (`Research/`, `Decision/`, etc.) are written.

Both are detected automatically:

### Input Workspace (source files)
1. `OPENCLAWORKSPACE` environment variable
2. `--workspace <path>` CLI argument
3. Current working directory (if it contains `MEMORY.md`)
4. Default: `~/.openclaw/workspace`

### Output Directory (organized files)
1. `--output-dir <path>` CLI argument (relative to workspace or absolute)
2. Default: `<workspace>/memory/KM`

The skill will create the output directory and all content-type folders automatically.

If you want to pre-create:
```bash
mkdir -p ~/.openclaw/workspace/memory/KM/{Research,Decision,Insight,Lesson,Pattern,Project,Reference,Tutorial}
```

## Usage Examples

### Default locations (input at workspace root, output in memory/KM)
```bash
# From any directory (workspace auto-detected)
km sync --days_back 7 --cleanup
```

### Custom input workspace and output directory
```bash
km sync --workspace /custom/input/workspace --output-dir /custom/output/KM --days_back 7
```

### Using environment variables
```bash
export OPENCLAWORKSPACE=/custom/input/workspace
km sync --output-dir /custom/output/KM --days_back 7
```

### Dry run (p...
README
# Knowledge Management Skill (Local Storage)

Organize your OpenClaw memory files into a structured local knowledge base. Automatically parses `MEMORY.md` and daily memory files, classifies entries by content type, and stores each as a timestamped markdown file in the appropriate folder.

## Setup

No API keys needed! Just ensure your workspace structure exists:

```bash
mkdir -p ~/.openclaw/workspace/{Research,Decision,Insight,Lesson,Pattern,Project,Reference,Tutorial}
```

The skill will create folders automatically if missing.

## Tools

### `km sync`
Extract and store knowledge entries as markdown files.

**Options:**
- `--days_back <num>` (default: 7) — Include N days of daily files
- `--dry_run` — Preview without creating files
- `--limit <num>` — Max entries to process
- `--cleanup` — Delete orphan files (files in folders but not tracked in state)
- `--verbose` — Detailed logs

**Example:**
```bash
km sync --days_back 14 --dry_run
km sync --days_back 7 --cleanup
```

### `km classify`
Parse and classify entries without storing. Outputs JSON with full metadata.

**Options:**
- `--days_back <num>` (default: 0) — 0 = only MEMORY.md, otherwise include daily files

**Example:**
```bash
km classify --days_back 3 > entries.json
```

### `km summarize`
Create index files listing all entries in each content type folder.

**Options:**
- `--output_dir <path>` — Where to write index files (default: workspace root)

**Example:**
```bash
km summarize --output_dir ~/.openclaw/workspace
```

### `km cleanup`
Remove orphaned files (files in content folders that are not tracked in the sync state).

**Options:**
- `--dry_run` — Preview what would be deleted

**Example:**
```bash
km cleanup --dry_run
km cleanup
```

### `km list_types`
List all available content types and their descriptions.

**Example:**
```bash
km list_types
```

## Storage Structure

```
~/.openclaw/workspace/
├── Research/
│   ├── 20260215T1448_OpenClaw_Optimization_Findings_e4b30e75.md
│   └── 20260215T1448...

相关技能

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...