Organizing Edge Bookmarks
by @xenoexia
Use when organizing Microsoft Edge bookmarks or favorites when persistence matters, when folder priorities like AI/investing/social are important, or when pr...
clawhub install organizing-edge-bookmarksπ About This Skill
name: organizing-edge-bookmarks description: "Use when organizing Microsoft Edge bookmarks or favorites when persistence matters, when folder priorities like AI/investing/social are important, or when previous bookmark edits were reverted after restart or sync." version: 1.0.2 license: MIT homepage: https://github.com/XenoExia/edge-bookmarks-skills metadata: { "openclaw": { "emoji": "π", "os": ["darwin"] } }
Organizing Edge Bookmarks
Treat the live browser bookmark model as the source of truth. The raw Bookmarks file is a fallback artifact, not the preferred write path.
When to Use
β USE this skill when:
AI, Investing, Social, Tools, Resources, or Archiveβ DON'T use this skill when:
Core Principle
If a live-profile path exists, use it.
Avoid raw Bookmarks JSON edits by default because Edge can rebuild the visible tree from its live model and sync state.
This skill is for local, same-machine execution only. If the agent is not running on the same Mac as the target Edge profile, stop and switch to a manual checklist instead of inventing a remote control path.
Runtime Preconditions
Required Workflow
1. Identify the exact target - Confirm the exact Edge profile by name/path. - Confirm whether the scope is the bookmarks bar, other bookmarks, or both. - Confirm whether nested folders are in scope. - If profile or root scope is ambiguous, ask before moving anything.
2. Turn the request into explicit buckets
- Convert vague priorities into named folders such as AI, Investing, Social, Tools, Resources, Archive.
- Default assumption: AI, Investing, and Social are top-level priority folders unless the user says otherwise.
- Use deterministic tie-breaks for multi-category bookmarks: primary purpose first, current user priority second, otherwise move to Archive or Review.
3. Create a rollback point before mutation - Capture a baseline snapshot/export of the live bookmark tree. - Record total bookmark count and target root counts. - Record a dry-run move plan or mutation ledger before the first write. - If a safe baseline cannot be captured, stop.
4. Require explicit consent for intrusive actions - Before quitting Edge, relaunching a profile, attaching to a live page, or running in-browser bookmark mutations, confirm the user explicitly approved those intrusive steps. - If the user did not approve browser restart or live profile control, downgrade to manual instructions.
5. Do not start with raw file edits
- Do not use Bookmarks JSON as the primary path.
- Do not mix file edits and UI/model edits in one pass.
- If a prior file edit already rolled back, treat that as proof the path is unsafe.
6. Prefer the live browser model
- Operate inside the real Edge profile if possible.
- Enforce a single-writer rule: fully close other Edge instances/background writers before a controlled relaunch of the same profile.
- If needed, capture current tabs, relaunch the same real profile in a controllable mode, and attach to it.
- Prefer browser-native bookmark APIs such as chrome.bookmarks.
- Select and move bookmarks by stable node IDs plus parent/root context, not by titles alone.
- If the browser-native API is unavailable or does not match the visible bookmark state, stop treating it as authoritative.
7. Use UI automation only as fallback
- edge://favorites/ may expose weak accessibility structure.
- If the UI is not semantically controllable, stop instead of guessing with destructive clicks.
- If UI automation is used, reconcile the result against the live bookmark tree afterward.
8. Verify persistence - Inspect sync state before mutation; if sync state is unclear or the tree is still changing, wait or stop. - Re-read the live bookmark tree immediately after applying moves. - Compare the intended structure against the actual structure, not just counts. - Reload the favorites page and verify again. - Restart Edge normally, reopen the same profile, and verify again. - If sync is enabled, allow one sync reconciliation cycle and verify once more.
Safety Rules
Archive or Review for uncertain items.Bookmarks checksum means persistence is safe.Credentials and Dependencies
Common Mistakes
Editing Bookmarks directly first
Why it fails:
Better:
Trusting edge://favorites/ accessibility blindly
Why it fails:
Better:
Treating sync as an afterthought
Why it fails:
Better:
Moving by visible title only
Why it fails:
Better:
Assuming an undefined automation toolchain
Why it fails:
Better:
Quick Reference
Reference
references/edge-bookmarks-workflow.md