law-to-markdown

Community

Convert legal docs to Markdown.

Authoranbeime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the conversion of legal and regulatory documents from various formats (.txt, .docx, .pdf) into clean, structured Markdown, making them easier to read, search, and integrate into digital workflows.

Core Features & Use Cases

  • Multi-format Input: Handles plain text, Word documents, and PDFs.
  • Intelligent Conversion: Leverages the mineru-ocr skill for accurate PDF/DOCX processing, with a fallback to local libraries if needed and approved.
  • Automated Formatting: Applies Markdown headings (H1-H5) based on legal document structure (Parts, Chapters, Sections, Articles) and cleans up whitespace.
  • Validation: Includes a robust Stage 3 check to ensure content accuracy and structural integrity post-conversion.
  • Use Case: Quickly transform a lengthy PDF of a new regulation into a searchable Markdown document for your team's knowledge base.

Quick Start

Convert the document 'new_regulation.pdf' into Markdown format.

Dependency Matrix

Required Modules

python-docxpdfplumber

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: law-to-markdown
Download link: https://github.com/anbeime/skill/archive/main.zip#law-to-markdown

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.