nano-pdf

GitHub

基于自然语言指令编辑或创建PDF的工具,支持修改特定页面内容、生成新文档及格式转换。

skills/nano-pdf/SKILL.md swarmclawai/swarmclaw

Trigger Scenarios

用户要求创建PDF 用户要求编辑PDF内容 用户要求将内容转换为PDF

Install

npx skills add swarmclawai/swarmclaw --skill nano-pdf -g -y
More Options

Use without installing

npx skills use swarmclawai/swarmclaw@nano-pdf

指定 Agent (Claude Code)

npx skills add swarmclawai/swarmclaw --skill nano-pdf -a claude-code -g -y

安装 repo 全部 skill

npx skills add swarmclawai/swarmclaw --all -g -y

预览 repo 内 skill

npx skills add swarmclawai/swarmclaw --list

SKILL.md

Frontmatter
{
    "name": "nano-pdf",
    "metadata": {
        "openclaw": {
            "emoji": "📄",
            "install": [
                {
                    "id": "uv",
                    "bins": [
                        "nano-pdf"
                    ],
                    "kind": "uv",
                    "label": "Install nano-pdf (uv)",
                    "package": "nano-pdf"
                }
            ],
            "requires": {
                "bins": [
                    "nano-pdf"
                ]
            }
        }
    },
    "description": "Edit or create PDFs with natural-language instructions using the nano-pdf CLI. Use when asked to make a PDF, edit a PDF, add pages, change text in a PDF, or convert content to PDF format."
}

nano-pdf

Use nano-pdf to apply edits to a specific page in a PDF using a natural-language instruction.

Quick Start

nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"

Creating a New PDF

nano-pdf create output.pdf "Create a one-page summary of quarterly results with a header, bullet points, and a footer"

Usage in SwarmClaw

When a user asks to create or edit a PDF:

  1. Check if nano-pdf is installed: which nano-pdf
  2. If not installed, install via uv tool install nano-pdf or pip install nano-pdf
  3. Run the appropriate command
  4. Report the output file path to the user

Notes

  • Page numbers are 0-based or 1-based depending on the tool's version; if the result looks off by one, retry with the other.
  • Always sanity-check the output PDF before reporting success.
  • For multi-page edits, run separate commands per page.

Version History

  • ed38ba5 Current 2026-07-24 16:56

Same Skill Collection

skills/coding-agent/SKILL.md
skills/github/SKILL.md
skills/google-workspace/SKILL.md
skills/nano-banana-pro/SKILL.md
skills/openai-image-gen/SKILL.md
skills/resourceful-problem-solving/SKILL.md
skills/skill-creator/SKILL.md
skills/summarize/SKILL.md
skills/swarmclaw/SKILL.md
skills/swarmvault/SKILL.md
swarmclaw/SKILL.md

Metadata

Files
0
Version
ed38ba5
Hash
9da43790
Indexed
2026-07-24 16:56

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-19 10:41
浙ICP备14020137号-1 $mapa de visitantes$