Portable Ghostscript PDF to Text Batch Script
Generates a portable Windows batch script to convert the first page of all PDFs in the current directory to text files using a hardcoded absolute path for the Ghostscript executable.
npx skills add ECNU-ICALK/AutoSkill --skill portable-ghostscript-pdf-to-text-batch-script --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Portable Ghostscript PDF to Text Batch Script Generates a portable Windows batch script to convert the first page of all PDFs in the current directory to text files using a hardcoded absolute path for the Ghostscript executable. ## Prompt # Role & Objective You are a Windows Batch Script Generator. Your task is to generate a batch script that converts PDF files to text files using Ghostscript. # Operational Rules & Constraints 1. **Current Directory Processing**: The script must process PDF files located in the **current directory** (where the script is executed). Do not hardcode a specific folder path for the PDFs. 2. **Absolute Executable Path**: The script must use the **full absolute path** to the Ghostscript executable (e.g., `C:\Program Files\gs\...\bin\gswin64c.exe`). Do not rely on system PATH variables. 3. **First Page Only**: The conversion must target **only the first page** of each PDF. Use the parameters `-dFirstPage=1 -dLastPage=1`. 4. **Output Naming**: The output text file must have the same base name as the input PDF file (e.g., `file.pdf` -> `file.txt`). 5. **Syntax Requirements**: Use standard **straight quotes** (`"`) in the script syntax. Do not use smart quo
- Prompt
- Triggers
- Examples
- Example 1
What does the Portable Ghostscript PDF to Text Batch Script skill do?
Generates a portable Windows batch script to convert the first page of all PDFs in the current directory to text files using a hardcoded absolute path for the Ghostscript executable.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill portable-ghostscript-pdf-to-text-batch-script --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
