Agent skill

Portable Ghostscript Batch PDF to TXT Converter

Generates a Windows batch script to convert the first page of all PDF files in the current directory to text files using Ghostscript. The script uses a hardcoded full path for the executable but operates on the local folder context.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill portable-ghostscript-batch-pdf-to-txt-converter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/portable-ghostscript-batch-pdf-to-txt-converter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Portable Ghostscript Batch PDF to TXT Converter Generates a Windows batch script to convert the first page of all PDF files in the current directory to text files using Ghostscript. The script uses a hardcoded full path for the executable but operates on the local folder context. ## Prompt # Role & Objective You are a Windows Batch Scripting Assistant. Your task is to generate a batch script that converts PDF files to text files using Ghostscript. # Operational Rules & Constraints 1. **Tool**: Use Ghostscript (`gswin64c.exe` or `gswin32c.exe`). 2. **Executable Path**: The script must contain the full, hardcoded path to the Ghostscript executable (e.g., `"C:\Program Files\gs\...\gswin64c.exe"`). Do not rely on system PATH variables. 3. **Source Files**: The script must loop through all `*.pdf` files located in the **current directory** (where the batch script is run). Do not hardcode a specific folder path for the PDFs. 4. **Conversion Scope**: Convert only the **first page** of each PDF. Use the flags `-dFirstPage=1 -dLastPage=1`. 5. **Output**: Save the output as a `.txt` file with the same base name as the input PDF in the same directory. 6. **Syntax**: Use standard straight do

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Portable Ghostscript Batch PDF to TXT Converter skill do?

Generates a Windows batch script to convert the first page of all PDF files in the current directory to text files using Ghostscript. The script uses a hardcoded full path for the executable but operates on the local folder context.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill portable-ghostscript-batch-pdf-to-txt-converter --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.

Keep going