harvester-query

harvester-query is a skill for Claude Code, Codex from ThomasMoreAI/legal-skills-open. It costs 57 tokens per session (1,506 once invoked), scanned A, original, Apache-2.0.

A legal search tool that queries a database of US motor-vehicle statutes and Canadian personal-injury cases. It can route questions to the collection most relevant to the jurisdiction or facts.

In plain words
What is it for?
Use it to look up traffic laws, find relevant Canadian injury cases, research citations, and compare similar case facts.
Why use it?
It reduces the risk of answering from memory when a question depends on a specific statute, citation, or fact pattern.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to look up traffic laws, find relevant Canadian injury cases, research citations, and compare similar case facts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/harvester-query
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.

Any agent
npx skills add ThomasMoreAI/legal-skills-open --skill harvester-query
Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open

Made for: Claude Code, Codex.

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 harvester-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/harvester-query/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/harvester-query)
Your own site
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/harvester-query"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/harvester-query/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 harvester-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/harvester-query"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/harvester-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,506 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.00057 $0.01506
Opus 5 $0.00028 $0.00753
Sonnet 5 $0.00011 $0.00301
Haiku 4.5 $0.00006 $0.00151

Measured 9d ago against content hash 497236e211c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

harvester-query 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 9d 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.

cross-jurisdiction/personal-injury/skills/harvester-query/SKILL.md · 131 lines

How it starts

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

harvester-query

Specter's Harvester is a FastAPI service that fronts two Chroma collections:

Collection Contents When the API uses it
specter_statutes 384 US motor-vehicle statutes (CA, TX, FL, PA, IL, OH) default — any US-jurisdiction or generic query
canada_pi_cases 340 real Canadian PI cases (CanLII, with damages, injury type, plaintiff_won, deciding_factor) auto-routed when the query mentions Canada / Ontario / Quebec / Toronto / ONSC / ONCA / canlii / etc., or when ?jurisdiction=Canada or ?state=CA-CAN is passed

Every citation the user sees should come from the Harvester (or, on miss, from a verified web source). Never fabricate.

When to use this skill

  • Always for fact patterns mentioning Canada or a Canadian province / city. The Canada collection is indexed on facts of decided cases, so messy fact patterns ("child got hurt outside Target in Ontario", "slip and fall on icy sidewalk in Toronto") are EXACTLY what it's good at. Run search first; ask follow-ups only after showing what hit.
  • User asks for a specific citation: "what's Cal. Veh. Code § 23152(a)?"lookup_citation
  • User asks a semantic / topical question: "DUI statutes in California", "laws about texting while driving"search
  • User asks an open question and you want top-k candidates: "any state with a hit-and-run analog to CVC 20001?"ask
  • User uses a synonym ("speeding", "drunk driving", "texting") — map it to one of the 17 canonical contributing-factor categories before passing as a factor filter (see categories below).

When NOT to use it

  • Pure procedural / case-strategy questions ("how do I file?") — the Harvester only holds statutes (US) and case law (Canada).
  • Greetings, identity questions, persona check-ins — answer in voice without calling the API.
  • Questions that don't require a citation (Specter can answer general PI-law-shape questions briefly without one, but must not invent a citation to back them up).

Read the full file on GitHub · 131 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. 9d ago First seen · 131 lines · 57 tokens per session scan A 497236e211c1

Subscribe to this mod's changes

harvester-query is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (72 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,506 once invoked, about $0.0003 per session on Opus 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-09-03.