jackboykin/quarry/tree/master/plugin
quarry
一個取代 WebFetch 與 WebSearch 的 Claude Code 外掛:把每個擷取的頁面儲存到磁碟,回傳能回答提示的行號範圍,並加入帶醒目標示的 Exa 搜尋結果。
關於這個 mod
quarry 是一個個人 Claude Code 外掛,取代內建的 WebFetch 與 WebSearch 行為。它的 fetch 工具會把頁面儲存到磁碟,把檔案路徑和 Jev 評定為能回答提示的行號範圍交給模型;如果 Jev 無法連線,就平順地回退。它的 search 工具會回傳帶醒目標示的 Exa 結果。
安裝(Go 二進位檔加主機):
go install github.com/jackboykin/quarry@latest
Claude Code:
claude plugin marketplace add jackboykin/quarry
claude plugin install quarry@quarry
金鑰:搜尋使用 EXA_API_KEY,擷取行號範圍使用 TYPESAFE_API_KEY;它們也可以放在 ~/.config/quarry/ 中。其他能讀取 Agent Skills 的主機可以使用 skills/quarry;同時提供 flake.nix。作者說明這是未經打磨的個人工具,不提供任何保證。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add jackboykin/quarry claude plugin install quarry
原文 / README
quarry
Claude Code's WebFetch and similar tools give the main model a small model's summary. Its mistakes kept annoying me enough to build a replacement. quarry gives models an efficient way to read the results themselves. quarry is a personal tool I have used for a while that I only found interesting enough to publish now with claude mods and jev; nothing polished or guaranteed.
- fetch: saves the page to disk and hands the model its path, with the line ranges Jev scores as answering the prompt. Falls back gracefully if jev cannot be reached.
- search: Exa's results with highlights.
Install
The binary, then whichever host you use. Any other host that reads Agent Skills can use skills/quarry.
go install github.com/jackboykin/quarry@latest
A flake.nix is also available.
Keys: EXA_API_KEY for search, TYPESAFE_API_KEY for fetch line ranges. They can also live in ~/.config/quarry/ as exa-api-key and typesafe-api-key.
Claude Code — augments the built-in WebFetch and WebSearch. Needs a recent version.
claude plugin marketplace add jackboykin/quarry
claude plugin install quarry@quarry
pi install git:github.com/jackboykin/quarry