agentsclimarketplace

Topic bookmarks reorganizer cn

Skill YangsonHung/awesome-agent-skills/skills/zh-cn/topic-bookmarks-reorganizer-cn

当用户需要按主题整理浏览器书签导出、URL 去重并生成可导入 HTML 时使用。From its SKILL.md

Install
npx -y skills add YangsonHung/awesome-agent-skills --skill topic-bookmarks-reorganizer-cn

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 17 stars17 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.2 KB, 654 tokens by cl100k_base, as published. Nobody here has run it

Topic Bookmarks Reorganizer(中文)

Overview

把浏览器书签导出文件中的用户指定主题目录重整为更清晰、可导入的新 Netscape HTML 文件。流程会分析源文件、提取目标主题目录、重新归类链接和子目录、按 URL 去重,并保持输出可直接导入浏览器。

何时使用

当用户有以下需求时使用本技能:

  • 分析一个书签导出 HTML,并定位用户指定的主题目录
  • 重新分门别类该目录下的链接与子目录
  • 按 URL 去重
  • 输出只包含该主题目录的可导入 HTML

不要使用

以下场景不应使用本技能:

  • 输入不是浏览器书签导出 HTML
  • 用户仅需要文字建议,不需要处理文件
  • 用户需求与书签整理无关(如纯 JSON/PDF/Docx 处理)

使用说明

  1. 先向用户确认必要参数:
  • 输入书签文件路径
  • 主题目录名称
  • 输出文件路径
  1. 先跑分析与预览:
python3 scripts/reorganize_topic_bookmarks.py \
  --input /path/to/bookmarks.html \
  --output /tmp/topic-preview.html \
  --topic-folder "<topic-folder-name>" \
  --mode auto \
  --lang zh \
  --report /tmp/topic-report.json \
  --print-report
  1. 视情况调整参数:
  • --mode auto:自动选择分类策略
  • --mode generic:使用通用分类策略
  • --no-dedupe-url:不做 URL 去重
  1. 生成最终文件:
python3 scripts/reorganize_topic_bookmarks.py \
  --input /path/to/bookmarks.html \
  --output /path/to/topic-bookmarks-reorganized.html \
  --topic-folder "<topic-folder-name>" \
  --mode auto \
  --lang zh
  1. 交付前检查并汇报:
  • 确认输出文件存在
  • 汇总输入链接数、输出链接数、去重移除数
  • 确认输出仅包含一个顶层目录(目标主题目录)

输出要求

  • 输出必须是 Netscape 书签格式,可直接导入浏览器
  • 输出仅保留目标主题目录
  • 尽量保留原 <A ...> 属性(如 add-date/icon)
  • 目录结构按高层分类重组,便于后续维护

What ships with it: 1 file

14.4 KB alongside SKILL.md, 1 of them executable

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.