name: browser-bookmarks-cleanup description: Analyze, organize, and clean browser bookmarks on macOS using on-disk bookmark and history files. Detects duplicates, stale bookmarks, tracking parameters, and folder issues. All writes are opt-in with backup and rollback.
Analyze first, organize, then clean up. All writes are opt-in and reversible.
Supported browsers: Chrome and Firefox out of the box. Other Chromium-based browsers (Edge, Brave, Arc, etc.) can be handled by pointing to their profile directories, which use the same Bookmarks JSON format as Chrome.
Never send network requests to bookmark URLs. Analysis uses only local files.
Discover profiles:
python3 scripts/browser_bookmarks.py discover [--browser chrome|firefox]
Analyze bookmarks:
python3 scripts/browser_bookmarks.py analyze --bookmarks "<PATH>" --output /tmp/bookmark-analysis.json
Apply plan (dry-run by default, --write to commit):
python3 scripts/browser_bookmarks.py apply-plan --bookmarks "<PATH>" --plan /tmp/bookmark-plan.json [--write]
utm_*, gclid, fbclid, etc.)本技能来自小葱技能站7w4.net。
Before any write: show plan preview, get explicit approval, ask user to close the browser.
See references/plan-schema.md for the JSON plan structure.
Restore the timestamped backup file created before any write.
这个书签清理工具质量不错,能自动发现 Chrome 和 Firefox 浏览器配置文件,分析重复、过期、追踪参数等各类书签问题,并生成可预览的清理计划,写入前会自动备份,设计很安全。缺点是 Firefox 用户只能分析但无法自动清理书签,必须手动操作。整体适合有技术基础的用户使用,命令行参数较多对新手不太友好。