Agent skill

PDF Trad To Simp Preserve Layout

by superpilot69 in superpilot69/pdf-trad-to-simp-preserve-layout-kit

Convert traditional Chinese PDFs to simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible.

Custom licenceAuto-check passedDocuments & Office

Install PDF Trad To Simp Preserve Layout

skills CLI
$ npx skills add superpilot69/pdf-trad-to-simp-preserve-layout-kit --skill pdf-trad-to-simp-preserve-layout -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install superpilot69/pdf-trad-to-simp-preserve-layout-kit pdf-trad-to-simp-preserve-layout --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/superpilot69/pdf-trad-to-simp-preserve-layout-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill .claude/skills/pdf-trad-to-simp-preserve-layout && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdf-trad-to-simp-preserve-layout
GitHub stars
117
Token cost
~857 tokens
SKILL.md length
353 words
Files
9 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

Convert traditional Chinese PDFs to simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible.

  • Works in 2 steps: Install the bundled dependencies once. → Convert the text layer without…
  • Codex is asked to directly convert a source PDF from 繁体 to 简体 without rebuilding the book
  • SKILL.md covers Overview, Follow This Workflow and Use These Bundled Tools
  • Runs Python and Shell scripts from its folder; calls python and pdftotext

What it does

PDF Trad To Simp Preserve Layout is an agent skill from superpilot69/pdf-trad-to-simp-preserve-layout-kit. Convert traditional Chinese PDFs to simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible. Use when Codex is asked to directly convert a source PDF from 繁体 to 简体 without rebuilding the book, to keep the original PDF structure and pictures, to replace an image-only cover after conversion, or to make the body font lighter after text-layer replacement.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/workflow.md` and `scripts/convert_pdf_t2s_preserve_layout.py`).

It sits in Documents & Office, covering PDF. The repository describes itself as: PDF traditional-to-simplified Chinese conversion kit with layout-preserving scripts, Codex skill, and example source/output PDFs.

When your agent uses it

  • Codex is asked to directly convert a source PDF from 繁体 to 简体 without rebuilding the book
  • Keep the original PDF structure and pictures
  • Replace an image-only cover after conversion
  • Make the body font lighter after text-layer replacement

Example prompts

  • “/pdf-trad-to-simp-preserve-layout”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Install the bundled dependencies once.
  2. Convert the text layer without rebuilding the book.

What it can do on your machine

Read from SKILL.md and the folder at commit 08d67b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pdftotext

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PDF Trad To Simp Preserve Layout loads about 857 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 353 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~857
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 353 words (~857 tokens).

“Use this skill when layout fidelity matters more than reflowed typography. The bundled scripts keep the original PDF page geometry and images, replace only the text layer on text-based pages, and handle image-only cover pages as a separate replacement step.”

— opening of SKILL.md by superpilot69, Custom licence
name
pdf-trad-to-simp-preserve-layout

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts, references) in skill of superpilot69/pdf-trad-to-simp-preserve-layout-kit.

  • SKILL.md
  • agents/openai.yaml
  • references/workflow.md
  • scripts/convert_pdf_t2s_preserve_layout.py
  • scripts/extract_ttc_font.py
  • scripts/font_utils.py
  • scripts/install_deps.sh
  • scripts/replace_pdf_cover.py
  • scripts/requirements.txt

Open the folder on GitHubat commit 08d67b0

Compare with similar skills

PDF Trad To Simp Preserve Layout next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PDF Trad To Simp Preserve Layout compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF Trad To Simp Preserve Layout this skillsuperpilot69/pdf-trad-to-simp-preserve-layout-kit117—~857Automated safety check: PassCustom licence
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill4k—~2.2kAutomated safety check: PassAGPL-3.0
GenOffice Document CLIgenspark-ai/genoffice9.2k—~19kAutomated safety check: PassApache-2.0
Harness Book Best Practicewquguru/harness-books3.2k—~4.1kAutomated safety check: PassNone
Bookforge Korean Ebook PDF Makergongnyang/bookforge3161 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    4k GitHub stars~2.2k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    9.2k GitHub stars~19k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Harness Book Best Practice

    wquguru/harness-books

    Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.

    3.2k GitHub stars~4.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    316 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed

Questions about PDF Trad To Simp Preserve Layout

What does PDF Trad To Simp Preserve Layout do?

Convert traditional Chinese PDFs to simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible. PDF Trad To Simp Preserve Layout is an agent skill from superpilot69/pdf-trad-to-simp-preserve-layout-kit. Convert traditional Chinese PDFs to simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible.

When should I use PDF Trad To Simp Preserve Layout?

PDF Trad To Simp Preserve Layout fits situations like: Codex is asked to directly convert a source PDF from 繁体 to 简体 without rebuilding the book; keep the original PDF structure and pictures; replace an image-only cover after conversion; make the body font lighter after text-layer replacement.

How do I install PDF Trad To Simp Preserve Layout in Claude Code?

Run `npx skills add superpilot69/pdf-trad-to-simp-preserve-layout-kit --skill pdf-trad-to-simp-preserve-layout -a claude-code`. Or copy the skill folder (skill in superpilot69/pdf-trad-to-simp-preserve-layout-kit) into .claude/skills/pdf-trad-to-simp-preserve-layout in your project. Claude Code loads it when a task matches its description.

How do I install PDF Trad To Simp Preserve Layout in Codex?

Run `npx skills add superpilot69/pdf-trad-to-simp-preserve-layout-kit --skill pdf-trad-to-simp-preserve-layout -a codex`. Or copy the skill folder (skill in superpilot69/pdf-trad-to-simp-preserve-layout-kit) into .agents/skills/pdf-trad-to-simp-preserve-layout in your project. Codex loads it when a task matches its description.

Can I use PDF Trad To Simp Preserve Layout in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add superpilot69/pdf-trad-to-simp-preserve-layout-kit --skill pdf-trad-to-simp-preserve-layout -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-trad-to-simp-preserve-layout, .gemini/skills/pdf-trad-to-simp-preserve-layout, .github/skills/pdf-trad-to-simp-preserve-layout and .opencode/skills/pdf-trad-to-simp-preserve-layout in your project.

What does PDF Trad To Simp Preserve Layout need to run?

Going by SKILL.md and its folder, PDF Trad To Simp Preserve Layout needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python and pdftotext). Our summary lists: Python 3; A Bash shell.

Does PDF Trad To Simp Preserve Layout access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PDF Trad To Simp Preserve Layout safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does PDF Trad To Simp Preserve Layout use?

PDF Trad To Simp Preserve Layout has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does PDF Trad To Simp Preserve Layout use?

About 857 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 582 tokens, read only when the agent opens those files.

What are the alternatives to PDF Trad To Simp Preserve Layout?

Skills that share tags, products or a category with PDF Trad To Simp Preserve Layout: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 4k stars), GenOffice Document CLI (genspark-ai/genoffice, 9.2k stars) and Harness Book Best Practice (wquguru/harness-books, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF Trad To Simp Preserve Layout?

superpilot69 (a GitHub user) maintains it in superpilot69/pdf-trad-to-simp-preserve-layout-kit, which has 117 GitHub stars. The repository was last updated on April 8, 2026.

Source: superpilot69/pdf-trad-to-simp-preserve-layout-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.