---
title: "quarry"
url: "https://claudemods.dev/zh-cn/builds/quarry-a262f9"
source: "https://github.com/jackboykin/quarry/tree/master/plugin"
source_type: "github"
repo: "https://github.com/jackboykin/quarry/tree/master/plugin"
author: "jackboykin"
author_handle: "jackboykin"
stars: 2
category: "工具与集成"
categories: ["tools"]
tags: ["claude-code-plugin", "exa", "hooks", "webfetch", "websearch"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add jackboykin/quarry\nclaude plugin install quarry@quarry"
added: "2026-10-05T20:49:54.385Z"
updated: "2026-11-19T15:17:09Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# quarry

一个替代 WebFetch 和 WebSearch 的 Claude Code 插件：把每个抓取的页面保存到磁盘，返回能回答提示的行号范围，并添加带高亮的 Exa 搜索结果。

## Description

quarry 是一个个人 Claude Code 插件，取代内置的 WebFetch 和 WebSearch 行为。它的 fetch 工具会把页面保存到磁盘，把文件路径和 Jev 评定为能回答提示的行号范围交给模型；如果 Jev 无法访问，则平稳回退。它的 search 工具会返回带高亮的 Exa 结果。

安装（Go 二进制文件加主机）：

```sh
go install github.com/jackboykin/quarry@latest
```

Claude Code：

```sh
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。作者说明这是未经打磨的个人工具，不提供任何保证。

## Install

```
claude plugin marketplace add jackboykin/quarry
claude plugin install quarry@quarry
```

## Original 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](https://typesafe.ai) scores as answering the prompt. Falls back gracefully if jev cannot be reached.
- **search**: [Exa](https://exa.ai)'s results with highlights.

## Install

The binary, then whichever host you use. Any other host that reads Agent Skills can use [skills/quarry](skills/quarry/SKILL.md).

```sh
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.

```sh
claude plugin marketplace add jackboykin/quarry
claude plugin install quarry@quarry
```

**[pi](https://github.com/badlogic/pi-mono)**

```sh
pi install git:github.com/jackboykin/quarry
```
