autorename-pdf: Skill for Claude Code

.claude/skills/rename-pdfs-exe/SKILL.md

rename-pdfs-exe is a skill for Claude Code from ptmrio/autorename-pdf. It costs 25 tokens per session (564 once invoked), scanned A, original, MIT.

A workflow for renaming PDF files with an installed Windows command-line program. It can use extracted text, optical character recognition (OCR), or page images to identify document details.

In plain words
What is it for?
Use it to rename PDFs in a folder or its subfolders, choose an AI provider or model, force OCR or vision processing, and review results as JSON.
Why use it?
It lets you preview proposed filenames before changing files and provides an undo command if a rename needs to be reversed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is ptmrio/autorename-pdf's own configuration. It tells Claude Code how to work on autorename-pdf itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything autorename-pdf configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ptmrio/autorename-pdf. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ptmrio/autorename-pdf/main/.claude/skills/rename-pdfs-exe/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ptmrio/autorename-pdf

Made for: Claude Code.

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 rename-pdfs-exe

README.md
[![agentmods](https://agentmods.dev/badge/skills/ptmrio/autorename-pdf/rename-pdfs-exe/github.svg)](https://agentmods.dev/skills/ptmrio/autorename-pdf/rename-pdfs-exe)
Your own site
<a href="https://agentmods.dev/skills/ptmrio/autorename-pdf/rename-pdfs-exe"><img src="https://agentmods.dev/badge/skills/ptmrio/autorename-pdf/rename-pdfs-exe/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 rename-pdfs-exe

Your own site · 80×15
<a href="https://agentmods.dev/skills/ptmrio/autorename-pdf/rename-pdfs-exe"><img src="https://agentmods.dev/badge/skills/ptmrio/autorename-pdf/rename-pdfs-exe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 564 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.00564
Opus 5 $0.00013 $0.00282
Sonnet 5 $0.00005 $0.00113
Haiku 4.5 $0.00003 $0.00056

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

Security

Grade A, and why

rename-pdfs-exe 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.

.claude/skills/rename-pdfs-exe/SKILL.md · 70 lines

What it actually says

Rename PDFs (Production EXE)

Rename PDF files using the installed autorename-pdf-cli.exe. Assumes the EXE is on PATH or in the current directory (installed via setup.ps1 from the release ZIP).

Workflow

  1. Always dry-run first to preview changes:

    autorename-pdf-cli.exe rename $ARGUMENTS --dry-run --output json
    
  2. Review the output — check that company names, dates, and document types look correct.

  3. If the user confirms, run without dry-run:

    autorename-pdf-cli.exe rename $ARGUMENTS --output json
    
  4. Report results — show renamed count, any failures, and new filenames.

Options

Pass these after the path:

  • --recursive or -r — process subfolders
  • --provider <name> — override AI provider (openai/anthropic/gemini/xai/ollama)
  • --model <name> — override AI model
  • --vision — force vision mode (send page images to LLM)
  • --text-only — text extraction only, no OCR/vision
  • --ocr — force PaddleOCR

Undo

autorename-pdf-cli.exe undo --output json

Config

autorename-pdf-cli.exe config show --output json

Company Name Harmonization

harmonized-company-names.yaml (next to the EXE) maps company name variations to standardized names (e.g., "MSFT", "Microsoft Corp." → "Microsoft"). Uses fuzzy matching (Jaro-Winkler) so OCR typos are handled automatically.

If the dry-run output shows inconsistent or wrong company names, suggest the user add mappings:

StandardName:
  - "Variation 1"
  - "Variation 2"

Notes

  • Config file: config.yaml next to the EXE (set up by setup.ps1)
  • Company names file: harmonized-company-names.yaml next to the EXE (copy from .example)
  • The GUI app (autorename-pdf-gui.exe) is the primary way to use this tool — this skill is for CLI/automation use cases
  • Output format: YYYYMMDD COMPANY DOCTYPE.pdf
  • Windows only
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 · 70 lines · 25 tokens per session scan A 866f82d24dea

Subscribe to this mod's changes

rename-pdfs-exe is a skill published in the GitHub repository ptmrio/autorename-pdf (117 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 564 once invoked, about $0.0001 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

wowerpoint

Turn one document into a kawaii NotebookLM slide-deck PDF. Use for "wowerpoint this", "make a deck about ", "turn this report into slides", or any request to render a single document as shareable narrative slides.

thedotmack/claude-mem · 55 tokens

geo-proposal

Auto-generate a professional, client-ready GEO service proposal from audit data. Creates a full proposal in markdown and PDF including executive summary, findings, recommended service packages (Basic/Standard/Premium), pricing, timeline, and terms. Use when user says "proposal", "proposta", "offerta", "preventivo"…

zubair-trabzada/geo-seo-claude · 83 tokens

critic-loop

Run the mandatory 3-round CV review loop with the Critico — autonomously, without going through the Capitano. For each round you spawn a FRESH CRITICO-S session (same N as your Scrittore session: SCRITTORE-2 → CRITICO-S2), send PDF + JD, wait for the structured verdict, kill the Critic, correct the CV, regenerate the…

leopu00/job-hunter-team · 146 tokens

parse-cv

Pre-process a CV/profile file (PDF, DOCX, ODT, RTF) into plain text BEFORE feeding it to the LLM context. Reduces token cost by 5-10x on long CVs and yields more reliable extraction than reading binary PDFs directly via multimodal vision. The Assistente calls this skill on every uploaded document in…

leopu00/job-hunter-team · 136 tokens

ase-sync-export

Export the SpecBook-based specification (SPEC) into ready-to-consume renderings like HTML, PDF, normalized Markdown, or JSON. Use when the user wants to "export", "render", or "materialize" the specification.

rse/ase · 51 tokens

file-download

Download files from websites, save PDFs, and read downloaded content. Trigger when the user asks to: download a file, save a PDF, export a document, fetch a file from a URL, grab a report, download and read a PDF, or save page content as a file.

billy-enrizky/openbrowser-ai · 60 tokens