quarry-dev

quarry-dev is a command for Claude Code from punt-labs/quarry. It costs 5 tokens per session (539 once invoked), scanned A, original, MIT.

A command for checking and managing a Quarry knowledge base, including its databases, collections, registrations, and synchronization.

In plain words
What is it for?
Use it to view status, list knowledge-base items, select a database, enable or disable Quarry, or start a sync.
Why use it?
It provides one place to inspect which knowledge sources are configured and keep them synchronized.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the quarry-dev plugin — 2 skills, 16 commands, 1 agent, 5 hooks shipped together

Good fit Use it to view status, list knowledge-base items, select a database, enable or disable Quarry, or start a sync.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/punt-labs/quarry/quarry-dev
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/punt-labs/quarry

Made for: Claude Code.

Or install quarry-dev, the plugin that ships this one along with the rest of its 2 skills, 16 commands, 1 agent, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quarry-dev

README.md
[![agentmods](https://agentmods.dev/badge/commands/punt-labs/quarry/quarry-dev/github.svg)](https://agentmods.dev/commands/punt-labs/quarry/quarry-dev)
Your own site
<a href="https://agentmods.dev/commands/punt-labs/quarry/quarry-dev"><img src="https://agentmods.dev/badge/commands/punt-labs/quarry/quarry-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quarry-dev

Your own site · 80×15
<a href="https://agentmods.dev/commands/punt-labs/quarry/quarry-dev"><img src="https://agentmods.dev/badge/commands/punt-labs/quarry/quarry-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 539 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00005 $0.00539
Opus 5.5 $0.00002 $0.00216
Sonnet 5.5 $0.00001 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 28d ago against content hash 95d2703a1a0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quarry-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 28d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/commands/quarry-dev.md · 30 lines

What it actually says

Input

Arguments: $ARGUMENTS

Parse the first token as a subcommand. Default to status if empty.

Subcommands

  • status (default): Call mcp__quarry-dev__status
  • sync: Run quarry sync via the Bash tool with run_in_background: true. This avoids blocking the conversation during long syncs. You will be notified when it completes. If a non-default database was selected via use, pass --db <name> to the CLI command.
  • collections: Call mcp__quarry-dev__list with kind set to "collections"
  • databases: Call mcp__quarry-dev__list with kind set to "databases"
  • registrations: Call mcp__quarry-dev__list with kind set to "registrations"
  • use <name>: Call mcp__quarry-dev__use with name set to the second token. If no name is given after use, reply with brief usage: /quarry-dev use <database-name>
  • enable: Run quarry enable via the Bash tool. If a directory argument follows, pass it as a positional argument. Supports --collection <name> to override the collection name.
  • disable: Run quarry disable via the Bash tool. If a directory argument follows, pass it as a positional argument. Supports --keep-data to preserve indexed data in LanceDB.
  • missions sync: Call mcp__quarry-dev__missions_sync. Files each frozen ethos mission round of this repo into the worker's memory; run it after ethos mission close. Pass mission when a mission id follows, dry_run: true for --dry-run, and force: true for --force.

Output

For sync: after launching the background command, briefly confirm it's running (e.g., "Syncing in background — you'll be notified when done."). Do not block or poll.

For all other subcommands: emit the tool output exactly as returned — character for character, including the leading ▶ unicode character. Do not reformat, add commentary, wrap in code fences, convert to markdown tables, or add boxes around the output.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 28d ago Changed · +1 lines 95d2703a1a0c
  2. 1mo ago Changed 313438b6eca5
  3. 1mo ago First seen · 29 lines · 5 tokens per session scan A 65605df05416

Subscribe to this mod's changes

quarry-dev is a command published in the GitHub repository punt-labs/quarry (6 stars, last pushed 2d ago), licensed MIT. It adds 5 tokens to every session and 539 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.