Skip to content
Back to skills

Browser Bookmarks

ASecurity

Detect duplicate bookmarks, check for dead links, and organize

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 7, 2026
toolsgobashapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill browser-bookmarks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Browser Bookmarks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Browser Bookmarks
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-browser-bookmarks/badge)](https://www.skillsdirectory.com/skills/modbender-browser-bookmarks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: browser-bookmarks
description: Detect duplicate bookmarks, check for dead links, and organize
  bookmark exports.
---


# Browser Bookmarks

Analyze and clean up browser bookmark exports.

## Capabilities

- **Duplicate Detection**: Find duplicate URLs across folders
- **Dead Link Check**: HTTP HEAD requests to detect broken links
- **Organization**: Categorize and suggest folder restructuring
- **Export Parsing**: Chrome/Firefox HTML and JSON bookmark formats

## Instructions

1. **Parse bookmarks**: Extract URLs, titles, folders from HTML/JSON export
   ```bash
   # Extract URLs from Chrome HTML export
   grep -oP 'HREF="\K[^"]+' bookmarks.html | sort > urls.txt
   wc -l urls.txt  # total bookmarks
   ```

2. **Find duplicates**:
   ```bash
   sort urls.txt | uniq -d  # duplicate URLs
   sort urls.txt | uniq -c | sort -rn | head -20  # most duplicated
   ```

3. **Check dead links** (batch with rate limiting):
   ```bash
   while read url; do
     code=$(curl -s -o /dev/null -w "%{http_code}" -m 5 -L "$url" 2>/dev/null)
     [ "$code" != "200" ] && echo "$code $url"
     sleep 0.5  # rate limit
   done < urls.txt
   ```

4. **Report format**:
   ```
   πŸ“š Bookmark Analysis β€” <filename>
   Total: 342 | Duplicates: 18 | Dead: 7

   ## Duplicates
   | URL | Count | Folders |
   |-----|-------|---------|

   ## Dead Links (non-200)
   | URL | Status | Title |
   |-----|--------|-------|
   ```

## Edge Cases

- **Large exports (>5000 bookmarks)**: Sample dead link checks; full duplicate scan is fine
- **Paywalled sites**: May return 403 β€” flag as "possibly paywalled" not "dead"
- **Redirects**: Follow redirects (`curl -L`); flag permanent redirects (301) for URL updates

## Security

- Bookmark files may contain private/internal URLs β€” don't share results publicly
- Rate-limit external requests to avoid IP blocks

## Requirements

- Exported bookmarks file (Chrome: `chrome://bookmarks` β†’ Export, Firefox: Library β†’ Export)
- `curl`, `grep`, `sort` (standard Unix tools)
- No API keys needed

Files in this skill

  • README.md385 B
  • SKILL.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.