一键导入
rename-pdfs-exe
[Production] Rename PDF files using the compiled autorename-pdf-cli.exe. Windows only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
[Production] Rename PDF files using the compiled autorename-pdf-cli.exe. Windows only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build the EXE and distribution package. Use when the user wants to create a release build.
[Dev] Rename PDF files using AI (Python, requires venv). For development and cross-platform (macOS/Linux) use.
Run the test suite with coverage report. Use when tests need to be executed or verified.
| name | rename-pdfs-exe |
| description | [Production] Rename PDF files using the compiled autorename-pdf-cli.exe. Windows only. |
| user-invocable | true |
| argument-hint | [path_to_pdfs] |
| allowed-tools | ["Bash(autorename-pdf*)"] |
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).
Always dry-run first to preview changes:
autorename-pdf-cli.exe rename $ARGUMENTS --dry-run --output json
Review the output — check that company names, dates, and document types look correct.
If the user confirms, run without dry-run:
autorename-pdf-cli.exe rename $ARGUMENTS --output json
Report results — show renamed count, any failures, and new filenames.
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 PaddleOCRautorename-pdf-cli.exe undo --output json
autorename-pdf-cli.exe config show --output json
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"
config.yaml next to the EXE (set up by setup.ps1)harmonized-company-names.yaml next to the EXE (copy from .example)autorename-pdf-gui.exe) is the primary way to use this tool — this skill is for CLI/automation use casesYYYYMMDD COMPANY DOCTYPE.pdf