Hacker News new | past | comments | ask | show | jobs | submit login

For those that use LLMs in a similar manner to a search engine the Anthropic team (unlike Meta AI and Google Gemini) have made it easy to use Claude from right within your browser. In Firefox add a bookmark with the following values:

- Name: Claude AI

- URL: https://claude.ai/new?q=%s

- Keyword: ai (or whatever you'd like to use as a shortcut)

Now from the URL bar you can type: ai <my question>

For ChatGPT use https://chatgpt.com/?q=%s as the URL and for Microsoft Copilot use https://www.bing.com/search?showconv=1&sendquery=1&q=%s.




Also in Firefox Dev Edition settings (in the Firefox Labs section) you can turn on their AI chatbot feature which gives you the option to send the selected text to Claude or other chatbots and opens their response in a sidebar.

https://blog.nightly.mozilla.org/2024/06/24/experimenting-wi...


Also, if you prefer using AI assistants as desktop apps that feel separate to the browser and you can open directly, you can download Progressive Web Apps for Firefox [1] and create a separate shortcut for a sandboxed profile of Firefox with less visual clutter that open the assistant directly.

[1] https://addons.mozilla.org/en-GB/firefox/addon/pwas-for-fire...


This is not unique to FireFox. This is also possible in Chrome (Settings -> Search Engine) and looks like this:

https://imgur.com/a/qxap6iI

Setup the way I have in the image you can simply type @claude and your search

Worth noting that Gemini also offers a URL shortcut for searching Gemini via @gemini within the Chrome browser.


Yes, I'm aware of @gemini on Chrome. If you look at how it's implemented they are purposely stashing the query into a HTTP header so it's not possible to use a simple bookmark to launch it.


Why would they intentionally limit that?


Query parameters are so tired. All my homies embed their queries into the password portion of a basic auth header. Keeps your queries super secure from spies and competing browsers.


Are you on Linux by chance? Your font doesn’t look like it has anti aliasing which seems like a common Linux thing


It's not a common Linux thing, all major distros ship with antialiasing configs ootb. The person just disabled it.


BTW you can use s[1]

you can combine it with your shell to call claude, chatgpt

sc expands to s --provider claude sgpt expands to s --provider chatgpt

[1] https://github.com/zquestz/s


This doesn't seem to work for me. I'm getting "%s" as the initial prompt, even though the text is properly displaying in the URL. Almost seems like an issue on the Claude side.


worked fine for me on google chrome by setting it up as a search engine/site search.


Entries like these should be submitted to the MyCroft search database.


This is exactly how Vimium`s custom search works




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: