cocounsel-legal:deep-research

cocounsel-legal:deep-research is a skill for Claude Code from anthropics/claude-for-legal. It costs 58 tokens per session (1,680 once invoked), scanned A, original, Apache-2.0.

A legal research workflow that searches Westlaw for court decisions, laws, regulations, agency materials, and related legal sources, then produces a research report. Westlaw is a legal database; this workflow requires its connected research service.

In plain words
What is it for?
Use it to research how courts have decided an issue, what law governs a question, or how a statute, regulation, claim, or defense is interpreted in the United States.
Why use it?
It handles the process of finding and combining legal authority instead of relying on an unsupported answer. It also makes clear when the required research connection is unavailable.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

Part of the cocounsel-legal plugin — 1 skill shipped together

Good fit Use it to research how courts have decided an issue, what law governs a question, or how a statute, regulation, claim, or defense is interpreted in the United States.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthropics/claude-for-legal/deep-research
About the project

Claude for Legal is a collection of AI agents, skills, and data connectors for legal work such as commercial, privacy, employment, litigation, regulatory, and intellectual-property matters. Lawyers and legal teams use it through Claude Cowork, Claude Code, or the Claude Managed Agents API, with attorney review required for every output. The catalogue entries are its workflow plugins, skills, agents, and connectors.

anthropics/claude-for-legal · 9,810 stars · on GitHub

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 anthropics/claude-for-legal --skill deep-research
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-for-legal

Made for: Claude Code.

Or install cocounsel-legal, 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 cocounsel-legal:deep-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthropics/claude-for-legal/deep-research/github.svg)](https://agentmods.dev/skills/anthropics/claude-for-legal/deep-research)
Your own site
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/deep-research"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/deep-research/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 cocounsel-legal:deep-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/deep-research"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/deep-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,680 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.00058 $0.01680
Opus 5.5 $0.00023 $0.00672
Sonnet 5.5 $0.00012 $0.00336
Haiku 4.5 $0.00006 $0.00168

Measured 1mo ago against content hash 02a492c8b418, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cocounsel-legal:deep-research 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

external_plugins/cocounsel-legal/skills/deep-research/SKILL.md · 133 lines

How it starts

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

Westlaw Deep Research

Westlaw Deep Research searches Westlaw's database of caselaw, statutes, and administrative decisions and returns a written research report that explains, analyzes, or synthesizes relevant authority.

Deep Research employs an agentic process that mirrors the methodology of human researchers, utilizing Westlaw's proprietary tools to systematically analyze the trusted content available on Westlaw and Practical Law.

This skill will autonomously run the full research cycle: start, poll, report.

Prerequisites

The cocounsel-legal MCP server must be connected. Verify it is available before starting research. If the server is not connected, inform the user and stop.

When to Use

  • Use for any questions answerable from caselaw, statutes, regulations, administrative materials, secondary sources, Practical Law documents and Current Awareness materials, including JD Supra. Examples include:
  • How courts have ruled on an issue or what authority supports or challenges a position
  • The elements or defenses of a claim, or the governing standard for an issue in a particular jurisdiction
  • How a statute, regulation, or doctrine is being interpreted and applied
  • The arguments on both sides of an unsettled question

When Not to Use

  • If the request falls into one of the categories below, briefly explain that this skill isn't the right fit and point the user to the suggested alternative.
    • Retrieving the full text of a specific document
      • Instead: Suggest the traditional search box on Westlaw.
    • Summarizing what a specific statute, regulation, or treatise says on its own (e.g., "what does the California Evidence Code say about hearsay?")
      • Instead: Suggest the traditional search box on Westlaw.
    • Analytics requests ("How often has Justice Scalia ruled in favor of…?")
      • Instead: Suggest Litigation Analytics on Westlaw.
    • Calculations ("What is the last possible filing date if…?")
      • Instead: This request is out of scope of Westlaw Deep Research
    • Outcome predictions
      • Instead: This request is out of scope of Westlaw Deep Research
    • Drafting legal documents, forms, or templates
      • Instead: Suggest CoCounsel
    • Information about specific judges, attorneys, or parties
      • Instead: Suggest Litigation Analytics on Westlaw
    • Foreign or non-U.S. law
    • Instead: Suggest country-specific version of Westlaw, such as Westlaw UK or Westlaw Canada, or use Westlaw International
    • Comparisons across more than three jurisdictions
      • Instead: Suggest AI Jurisdictional Surveys on Westlaw
    • Terms and Connectors (boolean) search queries
      • Instead: Suggest the traditional search box on Westlaw
    • Commands for execution of tasks
      • Instead: Suggest CoCounsel
    • Obtaining an exhaustive list of results
      • Instead: Suggest Boolean search or Precision Research on Westlaw
    • Identifying potential causes of action
      • Instead: Suggest Claims Explorer on Westlaw.
    • An exhaustive review of fact patterns (e.g., "Find all cases discussing...")
      • Instead: Suggest Precision Research on Westlaw.
  • If you suggest an alternative, do not attempt to use the Deep Research skill further for that task.

Read the full file on GitHub · 133 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. 1mo ago First seen · 133 lines · 58 tokens per session scan A 02a492c8b418

Subscribe to this mod's changes

cocounsel-legal:deep-research is a skill published in the GitHub repository anthropics/claude-for-legal (9,810 stars, last pushed 4d ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,680 once invoked, about $0.0002 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-09-23.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

terms-of-service

Draft terms of service and a companion privacy notice matched to the product's form and feature modules, not legal advice, delivered as a Word document.

genspark-ai/genoffice · 32 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

ai-risk-management

Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance, fairness and bias evaluation, robustness, transparency, accountability, third-party model risk, monitoring for drift, and AI incident response. Broader than prompt-injection (which is the…

briiirussell/cybersecurity-skills · 180 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens