nano-pdf

nano-pdf is a skill for Claude Code, Codex from Orkas-AI/Orkas-Awesome-AgentSkills. It costs 3 tokens per session (681 once invoked), scanned A, original, MIT.

A command-line tool for making narrow edits to PDF files, such as changing text, adding a watermark, or removing a small visible element. PDF is a fixed-layout document format.

In plain words
What is it for?
Use it for small page edits, watermarks, limited redaction, or other focused natural-language changes when the nano-pdf command-line tool is available.
Why use it?
It supports targeted PDF changes while encouraging checks that the edit affected the intended page and preserved the original file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for small page edits, watermarks, limited redaction, or other focused natural-language changes when the nano-pdf command-line tool is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orkas-ai/orkas-awesome-agentskills/nano-pdf
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.

Any agent
npx skills add Orkas-AI/Orkas-Awesome-AgentSkills --skill nano-pdf
Clone the repo
git clone --depth 1 https://github.com/Orkas-AI/Orkas-Awesome-AgentSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nano-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf/github.svg)](https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf)
Your own site
<a href="https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nano-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/nano-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 681 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00003 $0.00681
Opus 5 $0.00002 $0.00341
Sonnet 5 $0.00001 $0.00136
Haiku 4.5 $0.00000 $0.00068

Measured 12d ago against content hash 8ebf05e8a165, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

nano-pdf 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 12d 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.

office/skills/nano-pdf/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nano PDF

When to Use

Use when the user asks to edit a PDF and the local nano-pdf CLI is available.

Good fits:

  • change text on a specific page
  • add a watermark
  • remove or redact a small visible element
  • apply a narrow natural-language edit to a page

Do not use when the task requires full document re-layout, legal-grade redaction guarantees, OCR-heavy reconstruction, form extraction, or arbitrary PDF generation.

Preflight

Before editing:

command -v nano-pdf
nano-pdf --help

If the CLI is unavailable, do not claim the edit was completed. Return a fallback plan or ask whether the user wants to install/configure the tool.

Workflow

  1. Confirm the source PDF path and requested output behavior.
  2. Create a backup or work on a copy. Never overwrite the only source PDF.
  3. Confirm the intended page number with the user-facing page label if possible.
  4. Run a small test or inspect output when page indexing may be ambiguous. Some versions/configurations may treat page numbers as 0-based while users expect 1-based.
  5. Run the edit.
  6. Open, render, or visually inspect the affected pages before delivery.
  7. If the edit landed on the wrong page, restore from backup and retry with the corrected index.

Command Pattern

nano-pdf edit <input.pdf> <page> "<natural language instruction>"

Example:

nano-pdf edit deck.pdf 3 "Change the title to Q3 Results and add a Confidential watermark"

Prefer working-copy names such as:

source.pdf
source.working.pdf
source.edited.pdf

Return Format

Return:

  • output PDF path
  • backup path
  • affected pages
  • command summary
  • visual verification status
  • known risks or manual checks

If the CLI is missing or the edit cannot be verified, return:

  • ok: false
  • reason
  • suggested fallback
  • any prepared but unexecuted instruction

Limits and Known Issues

  • Page numbering may be 0-based or 1-based depending on the installed CLI version/configuration. Verify before final delivery.
  • Natural-language edits may not preserve exact typography or layout.
  • PDF redaction is high risk. For sensitive redaction, require visual verification and consider a specialized redaction workflow.
  • Scanned PDFs may require OCR and may not be editable as text.
  • Always inspect output pages; a successful CLI exit is not enough.

Read the full file on GitHub · 89 lines

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. 12d ago First seen · 89 lines · 3 tokens per session scan A 8ebf05e8a165

Subscribe to this mod's changes

nano-pdf is a skill published in the GitHub repository Orkas-AI/Orkas-Awesome-AgentSkills (13 stars, last pushed 2mo ago), licensed MIT. It adds 3 tokens to every session and 681 once invoked, about $0.0000 per session on Opus 5. 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.

Related

Other skills, from other repositories