legwork

legwork is a skill for Claude Code, Codex from dbhq-uk/legwork-skill. It costs 114 tokens per session (4,354 once invoked), scanned A, original, MIT.

A decision-research guide for questions such as whether to build or buy something, how much competitors charge, or where to publish a product. It produces a cited findings memo and indicates how strongly each claim is supported.

In plain words
What is it for?
Use it for market validation, competitor and pricing comparisons, demand questions, publishing choices, and other research tied to a decision.
Why use it?
It turns scattered research into evidence that can support a concrete decision, while making weak or unanswered findings visible.

Skill for Claude CodeCodex

Part of the legwork plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/dbhq-uk/legwork-skill/legwork
Any agent
npx skills add dbhq-uk/legwork-skill --skill legwork
Clone the repo
git clone --depth 1 https://github.com/dbhq-uk/legwork-skill

Made for: Claude Code, Codex.

Or install legwork, the plugin that ships this one along with the rest of its 1 skill.

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 legwork

README.md
[![agentmods](https://agentmods.dev/badge/skills/dbhq-uk/legwork-skill/legwork.svg)](https://agentmods.dev/skills/dbhq-uk/legwork-skill/legwork)
Your own site
<a href="https://agentmods.dev/skills/dbhq-uk/legwork-skill/legwork"><img src="https://agentmods.dev/badge/skills/dbhq-uk/legwork-skill/legwork.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00114 $0.04354
Opus 5 $0.00057 $0.02177
Sonnet 5 $0.00023 $0.00871
Haiku 4.5 $0.00011 $0.00435

Measured 5d ago against content hash 2f7b6d68a2a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

legwork 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 5d ago.

The scan reads SKILL.md. This mod also ships 25 executable files (scripts/bd_search.py, scripts/check.py, scripts/finish.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/legwork/SKILL.md · 386 lines

How it starts

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

Legwork

What this is for

Decision research. Not academic research. The question is always some version of "what should we do about X", and the deliverable is judged on whether it is usable, not on whether it is exhaustive.

That shapes everything below. A claim is judged by whether its source is the right kind of thing for that claim, not by whether its domain is respectable. Three sources agreeing only counts if they could have disagreed. And a run that cannot answer the question says so rather than producing hedged length.

Autonomy principle. Infer what you need from context, pick a level, and start. Announce the level in one line and proceed; do not ask the user to choose. They can redirect mid-run, which costs far less than a blocking question on every request. Stop only for a critical error or an incomprehensible query.

Levels

Depth raises rigour. It never raises length.

quick standard deep
Frame Decision plus 2-3 sub-questions Plus named falsifiers Plus second-order angles
Gather SERP snippets; fetch only to pin a figure Direct-fetch the top sources per finding A primary source for every finding
Challenge Independence grouping only One disconfirming search per finding Per-finding disconfirming pass plus an origin audit
Format brief brief or report report
Gate level --level quick --level standard --level deep
Rough time 3-5 min 8-12 min 20-40 min

Default is standard. Use the level the user names (quick, standard, deep, or an equivalent like "quick scan" or "go deep"), else $LEGWORK_DEFAULT_MODE, else standard. "Deep research" on its own is an invocation phrase for this skill, not a request for deep level - fall through to the default.

Escalate silently by one level if scoping reveals the question is materially higher-stakes than the request implied, and say so in the same opening line.

Opening line, then straight into Phase 1:

Read the full file on GitHub · 386 lines

Files

What ships with it

46 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 386 lines · 114 tokens per session scan A 2f7b6d68a2a8

Subscribe to this mod's changes

legwork is a skill published in the GitHub repository dbhq-uk/legwork-skill (3 stars, last pushed 18d ago), licensed MIT. It adds 114 tokens to every session and 4,354 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

source-bibliography-writer

Produces a correctly formatted bibliography or source list from details you provide, supporting AP, Chicago (Notes-Bibliography), and APA citation styles.

ur-grue/autopunk-media-skills · 35 tokens

footnotes-formatter

Takes a list of messy, inconsistent, or unnumbered notes and references and returns them correctly numbered, consistently formatted, and matched to your chosen citation style.

ur-grue/autopunk-media-skills · 38 tokens

Authority Synthesis

Use when synthesizing a rule statement from multiple judicial opinions (and, where relevant, statutory or secondary sources) for a single Question Presented, producing a structured synthesis with explicit majority-and-minority handling, a temporal-confidence pass for older authority, and a Holding / Relevance / Weight…

zgbrenner/agentcounsel · 74 tokens

Legal Research Memo

Use when producing a structured legal research memo in response to a specific legal question, organizing analysis using IRAC discipline (Question Presented, Brief Answer, Facts, Assumptions, Discussion/Analysis, Conclusion) with explicit sourcing requirements and attorney verification checkpoints.

zgbrenner/agentcounsel · 54 tokens

Case Brief

Use when producing a structured brief of a single judicial opinion for attorney review, extracting the facts, procedural posture, issue, holding, reasoning, rule, and weight in a fixed template — with every slot tied to a specific passage in the provided opinion and the case verified against…

zgbrenner/agentcounsel · 68 tokens

Regulatory History Tracer

Use when tracing the amendment history of a specific CFR section — what the text said on a given date, which Federal Register rulemakings amended it, and what version was in effect at a specific point in time — producing a date-stable history table for attorney review, verified through connectors/ecfr.md and…

zgbrenner/agentcounsel · 78 tokens