ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 jackboykin

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

pi install git:github.com/jackboykin/quarry

更多类似作品