Who it is forA researcher or analyst who looks up selected terms on the same reference site over and over.
The problemLooking up each selected term on a reference site means copying it, opening a browser, and pasting it into the search box.
The outcomeA Lookup action appears in the popup and opens the reference site search for the selected text.
What you need first
- A Mac running macOS 14 or later
- Accessibility permission granted to OpenClip
- Homebrew for the recommended install
Steps
- Run
mkdir -p ~/.openclip/extensions/com.example.lookupto create the extension folder. (inferred, check the README) - Create
openclip.jsonin that folder with an identifier, a name, and an actions list. - Give the action
"type": "url"and a url value that contains{query}. - Select text in any app and choose the new Lookup action from the contextual bar.
Prompt for your agent
In the OpenClip repo at https://github.com/ganeshmshetty/openclip, create ~/.openclip/extensions/<identifier>/openclip.json with one url action whose url contains {query}. Expected output: the file exists and is valid JSON, and the action appears in the popup for selected text. Verify the JSON parses before testing it in the popup.
Caveat. The README shows the format only for a URL action, so shell, JavaScript, or AppleScript extensions need the developer guide linked from the README.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ganeshmshetty/openclip and "Add a custom URL lookup action to the popup"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer