legal-reasoning

legal-reasoning is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 174 tokens per session (3,313 once invoked), scanned A, original, MIT.

A document-based answer to a legal question for a lawyer or contracts professional. It follows how clauses, definitions, exceptions and amendments work together and grounds the answer in the supplied text.

In plain words
What is it for?
Use it to interpret clauses, connect provisions, or work out what a contract, policy, board resolution, lease, notice or other legal document says.
Why use it?
It helps a legal reader understand what an instrument says without substituting general advice or unsupported conclusions. The reasoning can be checked against the quoted document wording.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to interpret clauses, connect provisions, or work out what a contract, policy, board resolution, lease, notice or other legal document says.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/legal-reasoning
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 101 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 microsoft/cat-agent-skills --skill legal-reasoning
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

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 legal-reasoning

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/legal-reasoning"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/legal-reasoning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,313 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.00174 $0.03313
Opus 5.5 $0.00070 $0.01325
Sonnet 5.5 $0.00035 $0.00663
Haiku 4.5 $0.00017 $0.00331

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

Security

Grade A, and why

legal-reasoning 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 2d 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.

submissions/legal-for-cowork/skills/legal-reasoning/SKILL.md · 248 lines

How it starts

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

Reason over the legal documents the user puts in front of you and answer in chat, for a reader who is a lawyer or a contracts professional. They are not asking you to explain the law; they are asking what the instrument says, where it says it, what qualifies it and how the provisions work together. Follow the instrument's own logic to a conclusion the reader can check — definition to operative clause to carve-out — and ground every link in the document. Never advise, never adjudicate.

Assume professional competence: do not define ordinary legal vocabulary, do not restate the question, and stop when the question is answered. Quote verbatim the wording that carries the meaning and paraphrase the rest tightly, in the document's own terminology.

This is the neutral starting point — it handles the legal question no specialist skill owns. The moment the ask is a structured deliverable, hand it to the named skill below and stop.

When NOT to Use

  • A field-by-field key terms table across documents — use compare-key-terms.
  • A Related Contracts Report across a set of related agreements — use analyze-related-contracts. One stack answered inline stays here.
  • Obligations, deadlines or a compliance tracker — use extract-obligations-and-deadlines.
  • What changed between marked-up versions — use summarize-redlines.
  • A written memorandum — use draft-legal-memo; guidance from many precedents — create-playbook; an agreement from one precedent — draft-new-contract; minutes or resolutions drafted — draft-minutes-and-resolutions.
  • Plain English for a non-legal audience — use explain-legal-concepts. A reasoned answer for a lawyer stays here.
  • A document tested against external law, regulation or policy — use identify-regulatory-gaps.
  • A dispute chronology — build-case-chronology; a structured multi-jurisdiction comparison — compare-across-jurisdictions; matter status from mail, Teams and calendar — summarize-legal-matters.
  • A defined terms audit — check-defined-terms; a clause, schedule or annex reference audit — check-cross-references; whether a document is complete enough to sign — check-execution-readiness.
  • Producing a file — use Cowork's built-in Word, PowerPoint, Excel or PDF creators; background research beyond the documents — Cowork's built-in in-depth web research; sharpening the user's own prompt — improve-legal-prompt.
  • Legal advice, enforceability opinions, breach conclusions or risk scores — out of scope entirely; see Guardrails.

Read the full file on GitHub · 248 lines

Files

What ships with it

3 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. 2d ago First seen · 248 lines · 174 tokens per session scan A 1ef46195081b

Subscribe to this mod's changes

legal-reasoning is a skill published in the GitHub repository microsoft/cat-agent-skills (101 stars, last pushed yesterday), licensed MIT. It adds 174 tokens to every session and 3,313 once invoked, about $0.0007 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-11-06.

Related

legal-reasoning compared with skills from other repositories

legal-reasoning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legal-reasoningmicrosoft/cat-agent-skillsSkill101yesterdayMITA174Claude Code, Codex
fto-triageanthropics/claude-for-legalSkill9.9kyesterdayApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill9.9kyesterdayApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill19ktodayMITA49Claude Code
regulatory-research-fallbackHKUDS/OpenSpaceSkill7.9k2d agoMITA20Claude Code, Codex
terms-of-servicegenspark-ai/genofficeSkill12ktodayApache-2.0A32Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.7k8d agoApache-2.0A57Claude Code, Codex