/paperless-ngx:paperless-ngx-tidy-metadatafrom paperless-ngx
Clean up Paperless-ngx correspondents, document types and tags: merge doubles (spelling variants, the same sender created twice), remove unused entries, fix tag hierarchies, and adjust matching rules. Use when the user asks to merge or deduplicate correspondents, types or tags, remove unused ones, or after a bulk cleanup created entries in parallel.
Ships in paperless-ngx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If more than one Paperless-ngx instance is connected, resolve which one first, see Working with multiple instances.
List all entries with correspondents_list, document_types_list or tags_list (page_size large, ordering=name). Each comes with document_count. Look for:
DB / Deutsche Bahn, Media Markt / MediaMarkt), the same sender with and without legal form, names created twice by parallel work.document_count: 0.Show the user a short table per kind: which entry survives, which ones merge into it and how many documents move, which unused ones would be deleted. Prefer the clearest full name as the survivor. Wait for confirmation before deleting anything.
For each entry to merge into a survivor:
documents_list correspondent__id=<old> (or document_type__id, tags__id__all) with fields=["id"] and a large page_size.bulk_edit set_correspondent {"correspondent": <survivor>} (or set_document_type; for tags modify_tags {add_tags: [survivor], remove_tags: [old]}).document_count of the old entry is now 0, then delete it with correspondents_destroy / document_types_destroy / tags_destroy, or several at once with bulk_edit_objects (object_type, objects, operation: delete). Deleting a correspondent, type or tag is permanent: there is no trash for them, and any document still using one loses it.New entries should use matching_algorithm: 6 (automatic) so Paperless-ngx learns from assigned documents. Marker tags that only a person or a skill should set (a "reviewed" tag, a "password-protected" tag, an accounting tag) need matching_algorithm: 0 (none), or auto-matching will start assigning them. Don't switch existing entries away from automatic matching just because they produced wrong guesses; correcting the documents is what trains them. Only set an explicit rule (match with any word, exact match or regex) when the user asks for one.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub marceltov/paperless-ngx-plugin --plugin paperless-ngx7 skills in this plugin
/paperless-ngx-clean-up-inboxReview the Paperless-ngx inbox (or any selection of documents) one document at a time and fix what automatic import got wrong: useless titles (email subjects, scanner file names), wrong or import-day dates, wrong correspondents, document types and tags. Marks every reviewed document, removes duplicates on request, and ends with a report of follow-ups (open payment reminders, possible business receipts, documents that need a human). Use when the user asks to clean up, sort, review, tidy or process their Paperless-ngx inbox, or says many documents have wrong dates, correspondents, tags or types./paperless-ngx-edit-document-metadataChange the title, date, correspondent, document type, storage path, tags or custom fields of one or many Paperless-ngx documents with documents_partial_update and bulk_edit, avoiding the API's traps (null not clearing fields, tag lists being replaced, parent tags added automatically). Use when the user asks to rename, re-date, re-tag, recategorize or otherwise correct documents, or when another skill needs to write metadata./paperless-ngx-find-duplicatesFind duplicate documents in Paperless-ngx (byte-identical copies flagged by has_duplicates, and same-content copies such as a scan and a PDF of the same invoice), pick which copy to keep, and move the others to the trash after the user confirms. Use when the user asks to find or remove duplicates, when an import ran twice, or when clean-up-inbox finds many copies./paperless-ngx-manage-instancesConfigure connections to one or more Paperless-ngx MCP server deployments: add a new instance (URL plus API token or OAuth login, optionally labeled), list which are configured and connected, or remove one. Every instance is registered as a user-scoped MCP server via `claude mcp add` (no settings.json editing, no bundled .mcp.json). Use when the paperless MCP server is unconfigured, disconnected or missing credentials (including when a SessionStart hook flags this), when the user asks to set up, configure or connect the Paperless-ngx plugin, or when they want to add, remove or list additional Paperless-ngx instances./paperless-ngx-search-documentsFind Paperless-ngx documents by full text, title, correspondent, type, tag, date, custom field or ID while keeping results small, using documents_list and search_retrieve. Use when the user asks to find, list, count or look up documents ("where is my rental contract", "how many invoices from 2025", "show everything tagged insurance")./paperless-ngx-unlock-pdfsRemove the password from encrypted PDFs in Paperless-ngx with documents_remove_password so Paperless-ngx can extract their text, then fix their metadata. Use when documents have empty content because they are password protected (bank statements, health insurance and government mail often are), or when the user asks to unlock, decrypt or remove passwords from documents.