通过 REST API 与 Paperless-ngx 文档管理系统交互。当用户想要在 Paperless-ngx 实例中搜索、上传、下载、组织文档、管理标签、通讯员或文档类型时使用。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install paperless-ngx或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install paperless-ngx⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/paperless-ngx/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: paperless-ngx description: Interact with Paperless-ngx document management system via REST API. Use when users want to search, upload, download, organize documents, manage tags, correspondents, or document types in their Paperless-ngx instance. ---
Manage documents in Paperless-ngx via its REST API using HTTP requests.
Requires environment variables:
PAPERLESS_URL: Base URL (e.g., https://paperless.example.com)PAPERLESS_TOKEN: API token from Paperless-ngx settingsInclude token in all requests:
Authorization: Token $PAPERLESS_TOKEN
curl -s "$PAPERLESS_URL/api/documents/?query=invoice" \
-H "Authorization: Token $PAPERLESS_TOKEN"
Filter options: correspondent__id, document_type__id, tags__id__in, created__date__gte, created__date__lte, added__date__gte.
curl -s "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN"
# Original file
curl -s "$PAPERLESS_URL/api/documents/{id}/download/" \
-H "Authorization: Token $PAPERLESS_TOKEN" -o document.pdf
# Archived (OCR'd) version
curl -s "$PAPERLESS_URL/api/documents/{id}/download/?original=false" \
-H "Authorization: Token $PAPERLESS_TOKEN" -o document.pdf
curl -s "$PAPERLESS_URL/api/documents/post_document/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-F "document=@/path/to/file.pdf" \
-F "title=Document Title" \
-F "correspondent=1" \
-F "document_type=2" \
-F "tags=3" \
-F "tags=4"
Optional fields: title, created, correspondent, document_type, storage_path, tags (repeatable), archive_serial_number, custom_fields.
curl -s -X PATCH "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title": "New Title", "correspondent": 1, "tags": [1, 2]}'
curl -s -X DELETE "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN"
# List tags
curl -s "$PAPERLESS_URL/api/tags/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create tag
curl -s -X POST "$PAPERLESS_URL/api/tags/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Important", "color": "#ff0000"}'
# List correspondents
curl -s "$PAPERLESS_URL/api/correspondents/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create correspondent
curl -s -X POST "$PAPERLESS_URL/api/correspondents/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "ACME Corp"}'
# List document types
curl -s "$PAPERLESS_URL/api/document_types/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create document type
curl -s -X POST "$PAPERLESS_URL/api/document_types/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Invoice"}'
curl -s -X POST "$PAPERLESS_URL/api/documents/bulk_edit/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"documents": [1, 2, 3],
"method": "add_tag",
"parameters": {"tag": 5}
}'
Methods: set_correspondent, set_document_type, add_tag, remove_tag, delete, reprocess.
After upload, check task status:
curl -s "$PAPERLESS_URL/api/tasks/?task_id={uuid}" \
-H "Authorization: Token $PAPERLESS_TOKEN"
{"count": N, "results": [...]} with pagination?page=2 for pagination?ordering=-created for sorting (prefix - for descending)安装 无纸化-ngx 后,可以对 AI 说这些话来触发它
Help me get started with Paperless-ngx
Explains what Paperless-ngx does, walks through the setup, and runs a quick demo based on your current project
Use Paperless-ngx to interact with Paperless-ngx document management system via REST API
Invokes Paperless-ngx with the right parameters and returns the result directly in the conversation
What can I do with Paperless-ngx in my documents & notes workflow?
Lists the top use cases for Paperless-ngx, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/paperless-ngx/ 目录(个人级,所有项目可用),或 .claude/skills/paperless-ngx/(项目级)。重启 AI 客户端后,用 /paperless-ngx 主动调用,或让 AI 根据上下文自动发现并使用。
无纸化-ngx 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
无纸化-ngx 可免费安装使用。请查阅仓库了解许可证信息。
通过 REST API 与 Paperless-ngx 文档管理系统交互。当用户想要在 Paperless-ngx 实例中搜索、上传、下载、组织文档、管理标签、通讯员或文档类型时使用。
无纸化-ngx 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Paperless-ngx
Identifies repetitive steps in your workflow and sets up Paperless-ngx to handle them automatically