skills/firefox-cookies/SKILL.md
Extract cookies from Firefox for authenticated web scraping. Reads cookies.sqlite for a specific domain. macOS only.
npx skillsauth add RonanCodes/ronan-skills firefox-cookiesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extract cookies from Firefox's local storage for a given domain. Used by other skills (like ingest-linkedin) for authenticated fetching.
Prefer
ro:browser-cookies— the generalized sibling that also handles Brave, Chrome, Arc, Edge (Chromium browsers via macOS Keychain). This skill stays for back-compat and for Firefox-only setups. On macOS where Firefox isn't installed (e.g., Brave-only), this skill will error out — usero:browser-cookiesinstead.
Called by other skills with a target domain. Returns a Cookie: header string.
Locate the Firefox profile directory on macOS:
PROFILES_DIR="$HOME/Library/Application Support/Firefox/Profiles"
# Find the most recently modified profile with a cookies.sqlite
PROFILE_DIR=$(ls -td "$PROFILES_DIR"/*/ 2>/dev/null | while read dir; do
[ -f "$dir/cookies.sqlite" ] && echo "$dir" && break
done)
If no Firefox profile or cookies.sqlite is found:
Firefox locks cookies.sqlite while running. Copy to a temp location:
cp "$PROFILE_DIR/cookies.sqlite" /tmp/llm-wiki-firefox-cookies.sqlite
# Also copy the WAL file if it exists (contains recent writes)
[ -f "$PROFILE_DIR/cookies.sqlite-wal" ] && \
cp "$PROFILE_DIR/cookies.sqlite-wal" /tmp/llm-wiki-firefox-cookies.sqlite-wal
Extract cookies for the requested domain:
sqlite3 /tmp/llm-wiki-firefox-cookies.sqlite \
"SELECT name, value FROM moz_cookies
WHERE host LIKE '%<domain>%'
AND expiry > strftime('%s','now')
ORDER BY name;"
The expiry > strftime('%s','now') filter skips expired cookies.
Build a standard Cookie: header string from the results:
Cookie: name1=value1; name2=value2; name3=value3
If the query returns zero rows:
Remove the temp copy:
rm -f /tmp/llm-wiki-firefox-cookies.sqlite /tmp/llm-wiki-firefox-cookies.sqlite-wal
macOS only. Firefox profile path: ~/Library/Application Support/Firefox/Profiles/.
For Linux, the path would be ~/.mozilla/firefox/ — not currently supported but straightforward to add.
development
--- name: worktree description: Coordinate multiple agents on one repo via a worktree-lock pool, so two agents never clobber each other's working tree. Acquire the first free slot (main, then beta/gamma… worktrees, created on demand), work there on your own branch, release when you've pushed. Use before modifying any repo that might be in use by another agent (factory, dataforce, etc.), or whenever you're told a repo is being worked on. Backed by `ro worktree`. category: development argument-hin
testing
--- name: ship description: Ship a feature branch the local-CI-first way — run the full local gate, push, open a PR, squash-merge, then deploy, without waiting on GitHub Actions. Use when a branch is ready for main and you want it merged and deployed now. Reads CI policy from `ro ci` (default skips remote CI because GitHub Actions billing keeps hitting limits). Sibling to /ro:gh-ship (waits on GitHub checks) and /ro:cf-ship (the deploy half). Triggers on "ship it", "ship this", "merge and deploy
testing
--- name: setup-logging description: Set up (or audit) the observability stack in a TanStack Start + Cloudflare Workers app so it is "diagnosable by default" — structured logging (logtape) with a request context carrying trace_id + userId + tenant/orgId, a trace_id propagated FE→BE→logs→Sentry→PostHog, Cloudflare Workers observability enabled, and Sentry + PostHog wired. Two modes: `setup` (wire it into an app) and `audit` (check an existing app + report gaps). Use when scaffolding a new app, wh
development
Manage credentials INSIDE the active ~/.claude/.env file — read which token/account to use for a given app (Simplicity vs Dataforce vs Ronan-personal), add or update a secret WITHOUT it passing through the chat (an interactive Terminal window prompts for it), and track secrets that were exposed in a transcript so they get rotated. Sibling to /ro:context (which switches WHICH env file is active). Use when the user wants to add an API key/token/secret, asks "which credential do I use for X", needs the env organized/labelled, or a secret was pasted into the chat and should be rotated.