It looks like it should be possible to use a local model with a custom prompt.
Selecting text and having a action with a custom prompt/tool without needing a browser extension might be nice. It need not even be a llm.
https://nilsheuman.github.io/TIL/2025-04-17-custom-firefox-a...