Agent skill

Kimi PDF

by thvroyal in thvroyal/kimi-skills

Professional PDF solution. An agent skill from thvroyal/kimi-skills.

No licenceAuto-check passedDocuments & Office

Install Kimi PDF

skills CLI
$ npx skills add thvroyal/kimi-skills --skill kimi-pdf -a claude-code

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

GitHub CLI
$ gh skill install thvroyal/kimi-skills kimi-pdf --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/thvroyal/kimi-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kimi-pdf .claude/skills/kimi-pdf && 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
kimi-pdf
GitHub stars
238
Token cost
~1.9k tokens
SKILL.md length
788 words
Files
18 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Professional PDF solution. An agent skill from thvroyal/kimi-skills.

  • Works in 5 steps: Output Language → Word Count and Page Constraints → Citation and Search Standards → …
  • User explicitly requests LaTeX (.tex)
  • SKILL.md covers Route Selection, Quick Start, Core Constraints (Must Follow) and Content Quality Constraints, plus 1 more section
  • Runs Python, JavaScript and Shell scripts from its folder

What it does

Kimi PDF is an agent skill from thvroyal/kimi-skills. Professional PDF solution. Create PDFs using HTML+Paged.js (academic papers, reports, documents). Process existing PDFs using Python (read, extract, merge, split, fill forms). Supports KaTeX math formulas, Mermaid diagrams, three-line tables, citations, and other academic elements. Also use this skill when user explicitly requests LaTeX (.tex) or native LaTeX compilation.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including scripts (for example `routes/html.md`, `routes/latex.md` and `routes/process.md`).

It sits in Documents & Office, covering LaTeX, PDF and Citation management. It works with LaTeX, Kimi and Python. The repository describes itself as: AI agent skills for professional document generation (DOCX, PDF, XLSX) extracted from Kimi. Designer-quality outputs with native charts, validation pipelines, and full OpenXML….

When your agent uses it

  • User explicitly requests LaTeX (.tex)
  • Native LaTeX compilation

Example prompts

  • “/kimi-pdf”

Requirements

  • Python 3
  • Node.js
  • A Bash shell

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Output Language
  2. Word Count and Page Constraints
  3. Citation and Search Standards
  4. Word/Page Count Constraints
  5. Outline Adherence (Mandatory)

What it can do on your machine

Read from SKILL.md and the folder at commit 0ca48f7. 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 14 files in scripts/ (Python, JavaScript and Shell), which the agent can run.

    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

Kimi PDF loads about 1.9k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 788 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 788 words (~1,942 tokens).

“Default to HTML. Only use LaTeX route when user explicitly requests it.”

— opening of SKILL.md by thvroyal
name
kimi-pdf

Read the full SKILL.md on GitHub

Files

SKILL.md and 17 other files (scripts) in skills/kimi-pdf of thvroyal/kimi-skills.

  • SKILL.md
  • routes/html.md
  • routes/latex.md
  • routes/process.md
  • scripts/browser_helper.js
  • scripts/cmd_convert.py
  • scripts/cmd_extract.py
  • scripts/cmd_form.py
  • scripts/cmd_meta.py
  • scripts/cmd_pages.py
  • scripts/compile_latex.py
  • scripts/html_to_pdf.js
  • scripts/package-lock.json
  • scripts/package.json
  • scripts/paged.polyfill.js
  • scripts/pdf.py
  • scripts/pdf.sh
  • scripts/setup.sh

Open the folder on GitHubat commit 0ca48f7

Compare with similar skills

Kimi PDF 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.

Kimi PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kimi PDF this skillthvroyal/kimi-skills238—~1.9kAutomated safety check: PassNone
MineruNebutra/MinerU-Skill122—~1.4kAutomated safety check: PassMIT
Lexoid CLIoidlabs-com/Lexoid109—~2kAutomated safety check: NotesApache-2.0
React PDFtrailofbits/skills-curated513—~3.1kAutomated safety check: NotesCC-BY-SA-4.0
Thu ThesisLeoYeAI/openclaw-master-skills2.2k—~4kAutomated safety check: PassMIT
Literature Surveyai4s-research/ai4s-skills2372 repos~2kAutomated safety check: PassMIT

Similar skills

  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into clean Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~1.4k tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed
  • Lexoid CLI

    oidlabs-com/Lexoid

    Parse and convert documents (PDFs, images, web pages, DOCX/XLSX/PPTX, audio) from the terminal using the lexoid CLI.

    109 GitHub stars~2k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • React PDF

    trailofbits/skills-curated

    Official

    Generates PDF documents using the React-PDF library (@react-pdf/renderer) with TypeScript and JSX.

    513 GitHub stars~3.1k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Thu Thesis

    LeoYeAI/openclaw-master-skills

    清华大学毕业论文 Word → PDF 一键格式规范化工具。输入任意 Word (.docx) 格式的清华毕业论文,自动转换为符合清华 thuthesis 官方 LaTeX 模板规范的高质量 PDF。适用于所有清华学位论文(MBA/学硕/专硕),一条命令搞定。功能:自动提取章节结构、中英文摘要、参考文献(自动生成 BibTeX)、图片(含…

    2.2k GitHub stars~4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Literature Survey

    ai4s-research/ai4s-skills

    A skill your agent uses when the user wants a comprehensive literature survey on a specific research topic.

    237 GitHub starsUsed in 2 repos~2k tokens
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~504 tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed

More from thvroyal/kimi-skills

  • Kimi DOCX

    thvroyal/kimi-skills

    Generate and edit Word documents (.docx). An agent skill from thvroyal/kimi-skills.

    238 GitHub stars~8k tokensUpdated 6 mo ago
    Auto-check passed
  • Kimi XLSX

    thvroyal/kimi-skills

    Specialized utility for advanced manipulation, analysis, and creation of spreadsheet files, including (but not limited to) XLSX, XLSM, CSV formats.

    238 GitHub stars~9.5k tokensUpdated 6 mo ago
    Auto-check passed

Works with

Questions about Kimi PDF

What does Kimi PDF do?

Professional PDF solution. An agent skill from thvroyal/kimi-skills. Kimi PDF is an agent skill from thvroyal/kimi-skills. Professional PDF solution.

When should I use Kimi PDF?

Kimi PDF fits situations like: user explicitly requests LaTeX (.tex); native LaTeX compilation.

How do I install Kimi PDF in Claude Code?

Run `npx skills add thvroyal/kimi-skills --skill kimi-pdf -a claude-code`. Or copy the skill folder (skills/kimi-pdf in thvroyal/kimi-skills) into .claude/skills/kimi-pdf in your project. Claude Code loads it when a task matches its description.

How do I install Kimi PDF in Codex?

Run `npx skills add thvroyal/kimi-skills --skill kimi-pdf -a codex`. Or copy the skill folder (skills/kimi-pdf in thvroyal/kimi-skills) into .agents/skills/kimi-pdf in your project. Codex loads it when a task matches its description.

Can I use Kimi PDF 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 thvroyal/kimi-skills --skill kimi-pdf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kimi-pdf, .gemini/skills/kimi-pdf, .github/skills/kimi-pdf and .opencode/skills/kimi-pdf in your project.

What does Kimi PDF need to run?

Going by SKILL.md and its folder, Kimi PDF needs Python, JavaScript and a shell for the scripts in its folder. Our summary lists: Python 3; Node.js; A Bash shell.

Does Kimi PDF 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 Kimi PDF 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 Kimi PDF use?

No licence was found for Kimi PDF or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Kimi PDF use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kimi PDF?

Skills that share tags, products or a category with Kimi PDF: Mineru (Nebutra/MinerU-Skill, 122 stars), Lexoid CLI (oidlabs-com/Lexoid, 109 stars), React PDF (trailofbits/skills-curated, 513 stars) and Thu Thesis (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kimi PDF?

thvroyal (a GitHub user) maintains it in thvroyal/kimi-skills, which has 238 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on March 28, 2026.

Source: thvroyal/kimi-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.