Legal Text Format

🌐Community
by cat-xierluo · vlatest · Repository

Formats legal documents into standardized formats like pleadings, contracts, or briefs based on provided instructions.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add legal-text-format npx -- -y @trustedskills/legal-text-format
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "legal-text-format": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/legal-text-format"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows AI agents to reformat legal text into various structured formats. It can transform unstructured documents like contracts or statutes into more organized representations, such as JSON or CSV. This facilitates easier parsing and analysis of complex legal information for downstream tasks.

When to use it

  • Contract Analysis: Extract key clauses from a contract and output them in a standardized format for comparison against other agreements.
  • Statutory Research: Convert lengthy statutes into a structured table summarizing sections, subsections, and relevant definitions.
  • Legal Document Summarization: Reformat legal documents to highlight essential information and create concise summaries.
  • Data Extraction: Pull specific data points (dates, amounts, parties) from legal texts and organize them for reporting or database entry.

Key capabilities

  • Text reformatting
  • JSON output
  • CSV output
  • Structured data extraction

Example prompts

  • "Reformat this contract into JSON, highlighting all clauses related to termination."
  • "Convert the following statute into a CSV table with columns for Section, Subsection, and Description."
  • "Extract all dates and parties mentioned in this legal document and output them as a JSON array."

Tips & gotchas

The quality of the reformatted output depends heavily on the clarity and structure of the original legal text. Complex or poorly written documents may require manual review and adjustments to achieve optimal results.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
cat-xierluo
Installs
8

🌐 Community

Passed automated security scans.