← 返回
效率工具 中文

Bookmark Organizer

Imports browser bookmarks from HTML and converts them into a deduplicated, categorized, time-sorted Markdown knowledge base with optional dead-link checking.
从HTML导入浏览器书签,转换为去重、分类、按时间排序的Markdown知识库,并可选死链检测。
farhigh233
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 645
下载
💾 9
安装
1
版本
#latest

概述


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:

python3 /path/to/organize.py <input_file> <output_dir> [--check-links]

Example:

# 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 files for each category (e.g., ai-art.md, games-mods.md).
  • A _SUMMARY.md file with statistics.
  • If checked, a _dead_links_report.md file.

Start by inspecting _SUMMARY.md to get an overview.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 17:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 432 📥 103,778
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,833
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,279