TopRank Skills

Home / Claw Skills / 数据解析 / Bookmark Organizer
Official OpenClaw rules 72%

Bookmark Organizer

name: bookmark organizer description: Imports a browser bookmark HTML file and transforms it into a structured, categorized, and time sorted Markdown knowledge base. Includes features for deduplication, dead link checking, and customizable classification rules.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Bookmark Organizer 技能。 若已安装,则直接安装 Bookmark Organizer 技能。

Overview

Skill Key
farhigh233/bookmark-organizer
Author
farhigh233
Source Repo
openclaw/skills
Version
-
Source Path
skills/farhigh233/bookmark-organizer
Latest Commit SHA
4982f90ae0e18dd7019ce7bbcbfee12daa526ae6

Extracted Content

SKILL.md excerpt

---
name: bookmark-organizer
description: Imports a browser bookmark HTML file and transforms it into a structured, categorized, and time-sorted Markdown knowledge base. Includes features for deduplication, dead-link checking, and customizable classification rules.
---

# Bookmark Organizer Skill (v1.0)

This skill provides a robust, reusable script to turn a standard browser bookmark export file (HTML) into a clean, categorized, and searchable knowledge base in Markdown format.

## Core Features

- **Parses Standard Bookmark Files**: Extracts links, titles, and creation dates.
- **Automatic Deduplication**: Processes each unique URL only once.
- **Customizable Categorization**: Uses an external `rules.json` file, allowing any user to define their own categories and keywords without editing code.
- **Dead Link Checking**: An optional flag (`--check-links`) finds and reports broken or inaccessible links, and excludes them from the final lists.
- **Time-Sorted Output**: All lists are sorted chronologically with the newest bookmarks first.

## How to Use

### 1. (Optional) Customize Rules

To change how links are categorized, edit the `rules.json` file located in the script's directory.

File: `skills/bookmark-organizer/scripts/rules.json`

### 2. Run the Organizer Script

Execute the `organize.py` script, providing the input HTML path and a desired output directory. Use the optional `--check-links` flag to perform a network check on all URLs.

**Command:**
```bash
python3 /path/to/organize.py <input_file> <output_dir> [--check-links]
```

**Example:**
```bash
# Define paths
SKILL_SCRIPT="/root/.openclaw/workspace-aii/skills/bookmark-organizer/scripts/organize.py"
INPUT_FILE="./bookmarks/import/bookmarks.html"
OUTPUT_DIR="./bookmarks/organized_v1"

# Create output directory
mkdir -p $OUTPUT_DIR

# Run the script (with dead link checking)
python3 $SKILL_SCRIPT $INPUT_FILE $OUTPUT_DIR --check-links
```

### 3. Review the Output

The script will generate:
- **Markdown fil...

Related Claw Skills