skill

A document assistant for Paperless-ngx, an application for storing and managing scanned documents. It can search documents by meaning and work with classifications, receipts, and archive questions.

In plain words
What is it for?
Use it to search an archive, classify documents, extract receipt details, and ask questions about stored records. It requires the listed Paperless-ngx, MCP, and Ollama setup.
Why use it?
It helps find relevant documents when exact keywords are unknown and reduces manual sorting or data entry.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/renefichtmueller/papercortex/skill
Any agent
npx skills add renefichtmueller/PaperCortex --skill skill
Clone the repo
git clone --depth 1 https://github.com/renefichtmueller/PaperCortex

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00444
Opus 5 $0.00000 $0.00222
Sonnet 5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00044

Measured 2d ago against content hash 6280c4b40aa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skill/SKILL.md · 73 lines

What it actually says

PaperCortex -- Document Intelligence Skill

A Claude Code skill for interacting with your Paperless-ngx document archive through AI-powered semantic search, classification, receipt extraction, and accounting export.

Prerequisites

  • PaperCortex MCP Server running (see project README)
  • Paperless-ngx instance with API access
  • Ollama with qwen2.5:14b and nomic-embed-text models

Available Tools

papercortex_search

Search documents by meaning, not just keywords.

Search for: "office lease agreements from last year"
Search for: "tax-relevant receipts over 500 EUR"
Search for: "correspondence with insurance companies"

papercortex_classify

Auto-classify a document with AI-suggested tags, type, and correspondent.

Classify document #1234
Classify document #1234 and apply suggested tags

papercortex_receipt

Extract structured data from receipt documents.

Extract receipt from document #5678

Returns: vendor, date, amounts, tax breakdown, line items, category.

papercortex_query

Ask natural language questions about your document archive.

"How much did I spend on office supplies in Q1 2024?"
"Which invoices are still unpaid?"
"Summarize all contracts expiring this year"

papercortex_export

Export receipt data for accounting software.

Export documents #100, #101, #102 as DATEV CSV
Export documents #200, #201 as generic CSV

Workflow Examples

Monthly Bookkeeping

  1. Search for all receipts from the current month
  2. Extract data from each receipt
  3. Export as DATEV CSV
  4. Import into accounting software

Document Organization

  1. Find unclassified documents (no tags)
  2. Auto-classify each document
  3. Review and approve suggested tags

Expense Analysis

  1. Query: "What were my top 5 expense categories last quarter?"
  2. Drill into specific categories with follow-up queries
  3. Export relevant receipts for documentation
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 73 lines · 0 tokens per session scan A 6280c4b40aa2

Subscribe to this mod's changes

skill is a skill published in the GitHub repository renefichtmueller/PaperCortex (25 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 444 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.