Legal Text Format
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.
Run in terminal (recommended)
claude mcp add legal-text-format npx -- -y @trustedskills/legal-text-format
Or manually add to ~/.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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.