---
title: "quarry"
url: "https://claudemods.dev/zh-tw/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-tw"
content_locale: "zh-tw"
---

# 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
```
