# X Bookmarks on Windows

Use the vault-local wrapper instead of the macOS Codex skill wrapper.

## One-command refresh

```powershell
.\scripts\refresh-x-bookmarks.ps1
```

This command:

- stores data in `clippings/x bookmarks`
- auto-detects a logged-in Chrome, Chrome Beta, or Brave profile on Windows
- passes through any extra `sync` flags you provide

Examples:

```powershell
.\scripts\refresh-x-bookmarks.ps1 --api
.\scripts\refresh-x-bookmarks.ps1 --chrome-profile-directory "Profile 1"
```

## Direct wrapper usage

```powershell
python .\scripts\x-bookmarks\ftx.py stats
python .\scripts\x-bookmarks\ftx.py search "codex"
python .\scripts\x-bookmarks\ftx.py show 2040845532222931202
```

## Notes

- The wrapper expects the Field Theory CLI executable to be available as `ft` or `fieldtheory`, or via `FT_COMMAND`.
- If it is not installed yet, the wrapper will fail with a clear message instead of trying to use PowerShell's `ft` alias.
