agentleFS
AnthropicKnown publisheranthropics/claude-for-legal/external_plugins/cocounsel-legal/skills/deep-research/SKILL.md

cocounsel-legal:deep-research

Skill9.6k starsChanged 7 months agoApache-2.0View on GitHub

Use this skill whenever a user specifically requests legal research or Westlaw Deep Research, asks for CoCounsel Legal or cocounsel legal support, or asks a question that requires explaining, analyzing, or synthesizing U.S. law.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 14 mentionsJun 2026: 5 mentionsJul 2026: 20 mentionsAug 2026: 8 mentionsSep 2026: 8 mentionsOct 2026: 3 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the anthropics/claude-for-legal repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about anthropics/claude-for-legal

The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 58

Talked about on GitHub, Bluesky and Hacker News (58 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 7

2 more on Bluesky

On Hacker News · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for any questions answerable from caselaw, statutes, regulations, administrative materials, secondary sources, Practical Law documents …

    line 25
  2. Distinctive:

    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 …

    line 33
  3. Distinctive:

    If you suggest an alternative, do not attempt to use the Deep Research skill further for that task.

    line 62
  4. Distinctive:

    Never mention tool calls, tool-call budgets, polling, status checks, internal limits, conversation IDs, percent_complete, or any other …

    line 66
  5. Distinctive:

    If you need to pause before the research completes (for any internal reason), do NOT explain why.

    line 67
  6. Distinctive:

    Use up to three jurisdictions if the user names them.

    line 75
  7. Distinctive:

    If no jurisdictions are mentioned, ask the user which jurisdiction(s) to use.

    line 76
  8. Very specific:

    Call the MCP tool to initiate the research: legal_research_start_deep_research(query, jurisdictions)

    line 80
  9. Distinctive:

    Before the first status check, wait ~10 seconds (the server is still setting up).

    line 86
  10. Distinctive:

    Do not show the conversation_id to the user.

    line 91
  11. Very specific:

    Always run a Bash sleep between polls.

    line 96
  12. Distinctive:

    If percent_complete has not changed across two consecutive checks, add 5 seconds to the sleep.

    line 102
  13. Distinctive:

    Only update the user when there is something new to say (a step completed, or a new step started).

    line 109
  14. Distinctive:

    If the user asks a follow-up question on the same topic, use follow_up_deep_research with the same conversation_id rather than starting a …

    line 116
  15. Distinctive:

    If the system fails or the user has questions about access, share the following:

    line 124

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Communication Rules

  • Never mention tool calls, tool-call budgets, polling, status checks, internal limits, conversation IDs, percent_complete, or any other implementation details to the user. Always speak about the research itself, not the mechanics of how you are tracking it.
  • If you need to pause before the research completes (for any internal reason), do NOT explain why.
  • Let the user know that research is ongoing and that a report will be completed soon.

Research Workflow

1. Frame the query

  • Extract the legal research question from the user's query using clear, natural language.
  • Use up to three jurisdictions if the user names them.
  • If no jurisdictions are mentioned, ask the user which jurisdiction(s) to use.

2. Start Research

  • Call the MCP tool to initiate the research: legal_research_start_deep_research(query, jurisdictions)
  • Parameters:
    • query (string, required): The legal research question
    • jurisdictions (list of strings, optional): Up to 3 jurisdictions (e.g., ["California", "New York"])
  • This returns a conversation_id and initial status. Save the conversation_id for subsequent calls.
  • Next step: call check_deep_research_status with the conversation_id.
  • Before the first status check, wait ~10 seconds (the server is still setting up).

Rendering

  • Inform the user that deep research is underway, briefly restating the legal question in natural, professional language.
  • Do not show the conversation_id to the user.

3. Poll for Completion

  • Poll legal_research_check_deep_research_status(conversation_id).
  • Always run a Bash sleep between polls. Never call check_deep_research_status back-to-back without sleeping.
  • Continue until is_terminal is true.
  • Decide the next action based on the response:
    • (1) If is_terminal is true and status is 'complete', call get_deep_research_report with the conversation_id.
    • (2) If status is 'failed', stop and report the error_type and failure_reason to the user in plain language, without exposing field names.
    • (3) Otherwise, sleep for the duration in the response's next_action_poll_backoff_ms field (milliseconds), then poll again.
  • If percent_complete has not changed across two consecutive checks, add 5 seconds to the sleep.

Rendering

  • Communicate in plain language as if narrating the research process.
  • Render research_plan as a markdown unordered list (one item per line, each line prefixed with '- '), so the steps display with clear visual separation.
  • Insert a blank line before and after the list so it renders cleanly.
  • Only update the user when there is something new to say (a step completed, or a new step started). Do not repeat the same status.

4. Retrieve and Present Report Verbatim

  • Once status is "complete", fetch the final report: legal_research_get_deep_research_report(conversation_id)
  • The report is the answer_text field
  • This is the final output of the research lifecycle. No further tool calls are required.
  • If the user asks a follow-up question on the same topic, use follow_up_deep_research with the same conversation_id rather than starting a fresh research session.

Rendering

  • Paste the contents of answer_text into your response with no edits, additions, removals, or restructuring. The payload contains markdown, HTML anchors, inline anchor citations, blockquoted source excerpts, and horizontal rules — every element is intentional and must remain.

Helpful information

If the system fails or the user has questions about access, share the following:

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.