Manage documents in Paperless-ngx - search, upload, tag, and retrieve.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install paperless-docs或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install paperless-docs⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/paperless-docs/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: paperless-ngx description: Manage documents in Paperless-ngx - search, upload, tag, and retrieve. homepage: https://github.com/paperless-ngx/paperless-ngx metadata: {"clawdbot":{"requires":{"env":["PAPERLESS_URL","PAPERLESS_TOKEN"]},"primaryEnv":"PAPERLESS_TOKEN"}} ---
Document management via Paperless-ngx REST API.
Set environment variables in ~/.clawdbot/clawdbot.json:
{
"env": {
"PAPERLESS_URL": "http://your-paperless-host:8000",
"PAPERLESS_TOKEN": "your-api-token"
}
}
Or configure via the skills entry (allows using apiKey shorthand):
{
"skills": {
"entries": {
"paperless-ngx": {
"env": { "PAPERLESS_URL": "http://your-paperless-host:8000" },
"apiKey": "your-api-token"
}
}
}
}
Get your API token from Paperless web UI: Settings → Users & Groups → [user] → Generate Token.
| Task | Command | |------|---------| | Search documents | node {baseDir}/scripts/search.mjs "query" | | List recent | node {baseDir}/scripts/list.mjs [--limit N] | | Get document | node {baseDir}/scripts/get.mjs | | Upload document | node {baseDir}/scripts/upload.mjs | | Download PDF | node {baseDir}/scripts/download.mjs | | List tags | node {baseDir}/scripts/tags.mjs | | List types | node {baseDir}/scripts/types.mjs | | List correspondents | node {baseDir}/scripts/correspondents.mjs |
All scripts are in {baseDir}/scripts/.
# Full-text search
node {baseDir}/scripts/search.mjs "electricity bill december"
# Filter by tag
node {baseDir}/scripts/search.mjs --tag "tax-deductible"
# Filter by document type
node {baseDir}/scripts/search.mjs --type "Invoice"
# Filter by correspondent
node {baseDir}/scripts/search.mjs --correspondent "AGL"
# Combine filters
node {baseDir}/scripts/search.mjs "2025" --tag "unpaid" --type "Invoice"
# Metadata only
node {baseDir}/scripts/get.mjs 28
# Include OCR text content
node {baseDir}/scripts/get.mjs 28 --content
# Full content (no truncation)
node {baseDir}/scripts/get.mjs 28 --content --full
# Basic upload (title auto-detected)
node {baseDir}/scripts/upload.mjs /path/to/invoice.pdf
# With metadata
node {baseDir}/scripts/upload.mjs /path/to/invoice.pdf \
--title "AGL Electricity Jan 2026" \
--tags "unpaid,utility" \
--type "Invoice" \
--correspondent "AGL" \
--created "2026-01-15"
# Download to current directory
node {baseDir}/scripts/download.mjs 28
# Specify output path
node {baseDir}/scripts/download.mjs 28 --output ~/Downloads/document.pdf
# Get original (not archived/OCR'd version)
node {baseDir}/scripts/download.mjs 28 --original
# List all tags
node {baseDir}/scripts/tags.mjs
# List document types
node {baseDir}/scripts/types.mjs
# List correspondents
node {baseDir}/scripts/correspondents.mjs
# Create new tag
node {baseDir}/scripts/tags.mjs --create "new-tag-name"
# Create new correspondent
node {baseDir}/scripts/correspondents.mjs --create "New Company Name"
All scripts output JSON for easy parsing. Use jq for formatting:
node {baseDir}/scripts/search.mjs "invoice" | jq '.results[] | {id, title, created}'
For complex queries or bulk operations, see references/api.md for direct API access patterns.
"PAPERLESS_URL not set" — Add to ~/.clawdbot/clawdbot.json env section or export in shell.
"401 Unauthorized" — Check PAPERLESS_TOKEN is valid. Regenerate in Paperless UI if needed.
"Connection refused" — Verify Paperless is running and URL is correct (include port).
Upload fails silently — Check Paperless logs; file may be duplicate or unsupported format.
安装 Paperless-ngx Document Manager 后,可以对 AI 说这些话来触发它
Help me get started with Paperless-ngx Document Manager
Explains what Paperless-ngx Document Manager does, walks through the setup, and runs a quick demo based on your current project
Use Paperless-ngx Document Manager to manage documents in Paperless-ngx - search, upload, tag, and retrieve
Invokes Paperless-ngx Document Manager with the right parameters and returns the result directly in the conversation
What can I do with Paperless-ngx Document Manager in my documents & notes workflow?
Lists the top use cases for Paperless-ngx Document Manager, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/paperless-docs/ 目录(个人级,所有项目可用),或 .claude/skills/paperless-docs/(项目级)。重启 AI 客户端后,用 /paperless-docs 主动调用,或让 AI 根据上下文自动发现并使用。
Paperless-ngx Document Manager 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Paperless-ngx Document Manager 可免费安装使用。请查阅仓库了解许可证信息。
Manage documents in Paperless-ngx - search, upload, tag, and retrieve.
Paperless-ngx Document Manager 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Paperless-ngx Document Manager
Identifies repetitive steps in your workflow and sets up Paperless-ngx Document Manager to handle them automatically