quarry-dev

quarry-dev is a command for Claude Code from punt-labs/quarry. It costs 5 tokens per session (620 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 620 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.00620
Opus 5.5 $0.00002 $0.00248
Sonnet 5.5 $0.00001 $0.00124
Haiku 4.5 $0.00001 $0.00062

Measured 3d ago against content hash 309171310b0f, 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 3d 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

How it starts

The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 [local|project]: Call mcp__quarry-dev__enablement with action: "enable" and the requested scope (default "local"). Pass refresh: true for --refresh, or clear_opt_out: true for --clear-opt-out with project scope. Use the CLI if the user supplies a directory or --collection.
  • disable [local|project]: Call mcp__quarry-dev__enablement with action: "disable" and the requested scope (default "local"). Pass opt_out: true for --opt-out with project scope. Indexed data stays in place; use the CLI if the user supplies a directory or explicitly requests --purge.
  • 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.

Read the full file on GitHub · 30 lines

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. 3d ago Changed 309171310b0f
  2. 2mo ago Changed · +1 lines 95d2703a1a0c
  3. 2mo ago Changed 313438b6eca5
  4. 3mo 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 (7 stars, last pushed yesterday), licensed MIT. It adds 5 tokens to every session and 620 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.

Related

quarry-dev compared with commands from other repositories

quarry-dev next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quarry-devpunt-labs/quarryCommand7yesterdayMITA5Claude Code
logallenc84/sapienceCommand01mo agoMITA0Claude Code
md-cleanupnardovibecoding/simply-ops-guardCommand17mo agoAGPL-3.0A95Claude Code
iai-directiveCodeAbra/iai-personal-memory-engineCommand926yesterdayMITB17Claude Code
init-workspace-flow-questionsgriddynamics/rosettaCommand382yesterdayApache-2.0A16Claude Code
setup-video-visionjordanrendric/claude-video-visionCommand1.6k1mo agoMITA20Claude Code
create-epo-patentRobThePCGuy/Claude-Patent-CreatorCommand2206d agoMITB15Claude Code