home / skills / michaelvessia / nixos-config / paperless
This skill helps you search, organize, and access documents in Paperless-ngx using CLI to manage invoices, receipts, and files.
npx playbooks add skill michaelvessia/nixos-config --skill paperlessReview the files below or copy the command above to add this skill to your agents.
---
name: paperless
description: Search and manage documents in Paperless-ngx document management system. Use when the user asks about documents, invoices, receipts, tax forms, bills, or wants to search their document library.
allowed-tools: Bash, Read
---
# Paperless-ngx
Interact with Paperless-ngx document management system via CLI.
## Setup
Environment: `~/.secrets.env` (PAPERLESS_URL, PAPERLESS_TOKEN) - loaded by
wrapper.
## CLI Discovery
Run `paperless-cli --help` to see available commands. Run
`paperless-cli <command> --help` for detailed usage of any command.
## Capabilities
The CLI supports:
- **Search**: Full-text search with filters (date ranges, tags, correspondents)
- **Browse**: List recent documents, inbox items
- **Read**: Get document details and extracted text content
- **Organize**: Add/remove tags, edit metadata (title, correspondent, type)
- **Find related**: Discover similar documents
- **Download**: Save original files locally
- **Metadata**: List tags, correspondents, document types, stats
## Workflow
1. Search or list to find documents
2. Get document by ID to read full content
3. Add/remove tags to organize
4. Find similar documents for related items
5. Download originals when needed
## Notes
- Flags must come BEFORE positional arguments
- Document IDs are integers returned from search/list results
This skill integrates with Paperless-ngx to search, read, organize, and download documents from your document management library. It exposes common CLI operations so you can find invoices, receipts, tax forms, and other documents quickly and manage metadata and tags from conversational prompts. Use it to streamline document retrieval and lightweight library maintenance without leaving your chat flow.
The skill issues Paperless-ngx CLI commands (paperless-cli) using credentials provided in a secrets environment file and parses results to present document lists, metadata, and extracted text. It supports full-text search with filters, listing recent or inbox items, reading document details and OCR text, editing metadata and tags, finding related documents, and downloading originals. Command flags must be placed before positional arguments and document IDs are integers from search/list outputs.
How does the skill authenticate to Paperless-ngx?
It uses PAPERLESS_URL and PAPERLESS_TOKEN stored in a ~/.secrets.env file loaded by the wrapper; ensure those variables are set and valid.
What format are document IDs and how do I find them?
Document IDs are integers returned by search or list commands; run a search or list to get the ID before read, tag, or download actions.