clawd/memory/2026-01-30.md

3.4 KiB

2026-01-30

Browser Optimization Setup

Chrome Relay Working

  • Extension installed at ~/.clawdbot/browser/chrome-extension
  • Profile chrome uses relay on port 18792
  • Attach tab by clicking extension icon (badge shows ON)
  • Works great for authenticated sites (X.com, etc.)

K2.5 Browser Agent Created

  • Agent: k2-browser (uses K2.5 model via Fireworks)
  • Critical: Always use maxChars=10000 on snapshots — K2.5 chokes on large pages
  • K2.5 struggles with multi-step navigation (targetUrl errors)
  • K2.5 works well for snapshot-only tasks on already-loaded pages
  • ~10% cost of Opus, ~2x slower (~12s vs ~5s)

Files Updated

  • scripts/browser-setup.sh — helper for headed Chrome → headless sync
  • skills/browser/SKILL.md — K2.5 tips, tool examples
  • TOOLS.md — browser profiles, k2-browser agent docs

Key Learnings

  • Headless browsers get detected by paranoid sites (X.com)
  • Copying live Chrome profile invalidates sessions — close Chrome first, then copy
  • Chrome relay is cleanest for authenticated browsing

Email Discussion

  • Johan uses ProtonMail (not Gmail)
  • Wants me to pre-check/triage his inbox
  • Options: Proton Bridge (IMAP on localhost) or browser relay
  • Potential project: Build proton-mail skill using IMAP to Bridge
  • Johan asked "how do you feel about writing agentmail for Proton?" — interested!

System Config

  • Disabled screensaver/screen lock on james (Linux desktop)
  • gsettings + xset commands to prevent locking

Proton Mail Bridge - HEADLESS SUCCESS

Finally got Proton Bridge running headless after fighting gnome-keyring:

The fix: Set preferred_keychain to pass in ~/.config/protonmail/bridge-v3/prefs.json

Setup steps:

  1. Install pass and init with GPG key: pass init <GPG_KEY_ID>
  2. Create prefs.json: {"preferred_keychain": "pass"}
  3. Run protonmail-bridge --cli, login interactively
  4. Create systemd user service with --noninteractive

Credentials:

  • Account: tj@jongsma.me
  • IMAP: 127.0.0.1:1143
  • SMTP: 127.0.0.1:1025
  • Bridge Password: BlcMCKtNDfqv0cq1LmGR9g

Next: Build mail-agent (see ~/dev/mail-agent/SPEC.md)

Mail Agent — BUILD TONIGHT

Full spec saved to ~/dev/mail-agent/SPEC.md

Summary:

  • Python/FastAPI service
  • IMAP IDLE for push notifications
  • Multi-account REST API
  • 3-tier triage pipeline:
    • L1: Fireworks Llama 3.1 8B (cheap) — auto-handle spam/newsletters/receipts
    • L2: James (Opus via gateway) — uncertain stuff
    • L3: Johan (Signal via existing integration) — actually important
  • Search by sender for spam cleanup
  • Unsubscribe action
  • Shipping tracking → Dashboard integration:
    • Detect shipping emails, extract carrier/status/item/ETA
    • POST to James Dashboard (http://100.123.216.65:9200/api/news)
    • Track status progression (picked up → in transit → delivered)
    • Auto-remove from dashboard 1 day after delivery

First account: Proton (already running on 127.0.0.1:1143)

Flutter Landing Page + i18n — TONIGHT

Task saved to ~/dev/inou/app/FLUTTER_TASK.md

Summary:

  • Match Go version layout (cards, centered hero, trust grid)
  • Set up flutter_localizations + intl
  • ARB files for EN, NL, RU
  • Language switcher in header
  • Port landing page strings from lang/*.yaml
  • Use cheap model for NL/RU translations

Quick Notes

  • NABL stock: $7.49 (+2.67%) on 2026-01-30
  • Dutch politics: D66/VVD/CDA coalition "Aan de slag" formed, PVV in crisis (MPs left Wilders)