AI Agent Hub
Back to skills
Lawyer Case File Archiver icon

Lawyer Case File Archiver

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_39dcd0ae/case-archiver.

About this skill

Problem

Civil case files often become hard to archive because materials are scattered, firm templates define different fields, and Word table positions are unstable. Manual completion can miss authorization materials, or mix mutually exclusive case materials into one volume.

How It Works

The skill runs with a generic engine plus law-firm configuration outside the package. It reads paths, archive_plan, field_map, and preferences, scans the file tree, and extracts text from PDF, DOCX, DOC, and permitted scanned images. Core actions include archiving existing materials, updating completion status, onboarding new templates, checking Word templates, and merging PDFs only after explicit user confirmation.
DOCX filling prefers stable locators such as marker, control_tag, and cell_anchor, with strict mode enabled by default. Missing fields, non-unique labels, or failed post-write validation preserve the original output and record the reason in fill_report. It generates an archive-status JSON file and a pending-materials list, marking missing materials as pending and positioning failures as error. For individual or organizational clients, it checks required materials such as ID documents, powers of attorney, firm letters, and lawyer licenses, and records missing items in the pending list.

Boundaries And Notes

It is suitable for partial archiving of open cases, but not for unconfirmed automatic PDF merging. Before formal use, run a masked dry trial and check fill_report.errors, the pending list, and the rendered DOCX layout. Low-confidence mappings, merged cells, and repeated labels require human review.

Use Cases

  • Counsel reviews an open civil case, scans PDF and Word materials, and creates a pending-materials list.
  • After a new judgment arrives, update the case status and mark missing items as pending.
  • When onboarding a new firm template, generate field mappings, review low-confidence entries, and test DOCX filling.
  • Before merging volumes, list the cases to be combined and confirm the PDF merge with the user.

Best For

  • Law paralegals managing civil case files who need to place scattered materials into firm templates and track missing items.
  • Office coordinators handling multi-firm templates who need to verify DOCX field mappings and post-write validation results.
  • Supervising attorneys who need to confirm authorization materials are present before treating a case file as complete.
  • Legal-tech engineers who need to inspect archive-status JSON and fill_report error causes.