Agent skill

Ky Markdown Rebuilder

by KyrieCheungYep in KyrieCheungYep/ky-markdown-rebuilder

Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment.

No licenceAuto-check passedDocuments & Office

Install Ky Markdown Rebuilder

skills CLI
$ npx skills add KyrieCheungYep/ky-markdown-rebuilder --skill ky-markdown-rebuilder -a claude-code

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

GitHub CLI
$ gh skill install KyrieCheungYep/ky-markdown-rebuilder ky-markdown-rebuilder --agent claude-code

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

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

Facts

Skill name
ky-markdown-rebuilder
GitHub stars
117
Token cost
~5.7k tokens
SKILL.md length
2,848 words
Files
13 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment.

  • Works in 3 steps: Structural labels are ALWAYS the exact… → Body content and page titles follow the… → ## Page NN: Title uses a half-width…
  • Cleaning up PDFs
  • SKILL.md covers Host Compatibility, When To Use, Output Contract (LOCKED) and Output Modes, plus 10 more sections
  • Runs Python scripts from its folder; calls python3, tesseract and brew

What it does

Ky Markdown Rebuilder is an agent skill from KyrieCheungYep/ky-markdown-rebuilder. Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment. Use when converting or cleaning up PDFs, slide decks, PPT/PPTX files, HTML pages, long screenshots, Word-like reports, whitepapers, course materials, business decks, scanned documents, or visually dense documents where plain text extraction may jumble layout, charts, timelines, diagrams, tables, screenshots, or logos.

Its SKILL.md is about 5.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `references/output-formats.md`).

It sits in Documents & Office, covering PDF, Markdown and PowerPoint presentations. It works with Microsoft PowerPoint. The repository describes itself as: A Codex / Claude Code skill for rebuilding visually complex documents into page-aligned Markdown.

When your agent uses it

  • Cleaning up PDFs
  • Long screenshots
  • Word-like reports
  • Course materials

Example prompts

  • “/ky-markdown-rebuilder”

Requirements

  • Python 3

Workflow steps

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

  1. Structural labels are ALWAYS the exact Chinese strings defined below, regardless of the document language.
  2. Body content and page titles follow the source document language (Chinese, English, Thai, or anything else). Never translate content…
  3. ## Page NN: Title uses a half-width colon and zero-padded page numbers (minimum 2 digits). Never use a full-width colon in the heading.

What it can do on your machine

Read from SKILL.md and the folder at commit 7356f1d. 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), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • tesseract
    • brew

    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

Ky Markdown Rebuilder loads about 5.7k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 113 tokens; SKILL.md has 2,848 words of instructions outside code blocks.

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

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 2,848 words (~5,729 tokens).

“Use this skill when a document should become Markdown but the visual layout matters. The goal is not just conversion; it is content reconstruction with a reliable visual source of truth.”

— opening of SKILL.md by KyrieCheungYep
name
ky-markdown-rebuilder
metadata.short-description
Rebuild visual documents into page-aligned Markdown

Read the full SKILL.md on GitHub

Files

SKILL.md and 12 other files (scripts, references) in the repository root of KyrieCheungYep/ky-markdown-rebuilder.

  • SKILL.md
  • .gitignore
  • README.md
  • agents/openai.yaml
  • references/output-formats.md
  • references/token-control.md
  • references/visual-transcription-rules.md
  • scripts/check_output.py
  • scripts/fix_tables.py
  • scripts/make_manifest.py
  • scripts/preflight.py
  • scripts/render_pages.py
  • scripts/split_markdown_pages.py

Open the folder on GitHubat commit 7356f1d

Compare with similar skills

Ky Markdown Rebuilder 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.

Ky Markdown Rebuilder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ky Markdown Rebuilder this skillKyrieCheungYep/ky-markdown-rebuilder117—~5.7kAutomated safety check: PassNone
Sci HTMLShZhao27208/Aut_Sci_Write209—~1.4kAutomated safety check: NotesMIT
PPTX To Mdsammcj/agentic-coding162—~1.8kAutomated safety check: PassApache-2.0
Slidev CLI Skilldskilld-dev/vue-ecosystem-skills181—~1.1kAutomated safety check: PassMIT
Data Viz Deckthatrebeccarae/claude-marketing161—~1.8kAutomated safety check: PassMIT
Document ConverterBlackBeltTechnology/pi-agent-dashboard315—~999Automated safety check: PassMIT

Similar skills

  • Sci HTML

    ShZhao27208/Aut_Sci_Write

    Generate academic presentation-style HTML slide decks and browser reports from PDFs, structured text, Markdown, paper summaries, outlines, or research notes.

    209 GitHub stars~1.4k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • PPTX To Md

    sammcj/agentic-coding

    Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.

    162 GitHub stars~1.8k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Slidev CLI Skilld

    skilld-dev/vue-ecosystem-skills

    Build, present, and ship Slidev decks with @slidev/cli. An agent skill from skilld-dev/vue-ecosystem-skills.

    181 GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Data Viz Deck

    thatrebeccarae/claude-marketing

    Transform audit data, performance reports, and structured analyses into polished visual deliverables.

    161 GitHub stars~1.8k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Document Converter

    BlackBeltTechnology/pi-agent-dashboard

    Convert documents bidirectionally via the pi-doc-engine facade: ingest PDF/DOCX/PPTX/XLSX to provenance-stamped Markdown (with OCR), and produce templated DOCX/PDF from Markdown with diagrams, TOC…

    315 GitHub stars~999 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • 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

Questions about Ky Markdown Rebuilder

What does Ky Markdown Rebuilder do?

Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment. Ky Markdown Rebuilder is an agent skill from KyrieCheungYep/ky-markdown-rebuilder. Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment.

When should I use Ky Markdown Rebuilder?

Ky Markdown Rebuilder fits situations like: cleaning up PDFs; long screenshots; word-like reports; course materials.

How do I install Ky Markdown Rebuilder in Claude Code?

Run `npx skills add KyrieCheungYep/ky-markdown-rebuilder --skill ky-markdown-rebuilder -a claude-code`. Or copy the skill folder (the KyrieCheungYep/ky-markdown-rebuilder repository) into .claude/skills/ky-markdown-rebuilder in your project. Claude Code loads it when a task matches its description.

How do I install Ky Markdown Rebuilder in Codex?

Run `npx skills add KyrieCheungYep/ky-markdown-rebuilder --skill ky-markdown-rebuilder -a codex`. Or copy the skill folder (the KyrieCheungYep/ky-markdown-rebuilder repository) into .agents/skills/ky-markdown-rebuilder in your project. Codex loads it when a task matches its description.

Can I use Ky Markdown Rebuilder 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 KyrieCheungYep/ky-markdown-rebuilder --skill ky-markdown-rebuilder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ky-markdown-rebuilder, .gemini/skills/ky-markdown-rebuilder, .github/skills/ky-markdown-rebuilder and .opencode/skills/ky-markdown-rebuilder in your project.

What does Ky Markdown Rebuilder need to run?

Going by SKILL.md and its folder, Ky Markdown Rebuilder needs Python for the scripts in its folder and the command-line tools its instructions call (python3, tesseract and brew). Our summary lists: Python 3.

Does Ky Markdown Rebuilder 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 Ky Markdown Rebuilder 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 Ky Markdown Rebuilder use?

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

How many tokens does Ky Markdown Rebuilder use?

About 5.7k tokens (SKILL.md is roughly 23k 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 4.4k tokens, read only when the agent opens those files.

What are the alternatives to Ky Markdown Rebuilder?

Skills that share tags, products or a category with Ky Markdown Rebuilder: Sci HTML (ShZhao27208/Aut_Sci_Write, 209 stars), PPTX To Md (sammcj/agentic-coding, 162 stars), Slidev CLI Skilld (skilld-dev/vue-ecosystem-skills, 181 stars) and Data Viz Deck (thatrebeccarae/claude-marketing, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ky Markdown Rebuilder?

KyrieCheungYep (a GitHub user) maintains it in KyrieCheungYep/ky-markdown-rebuilder, which has 117 GitHub stars. The repository was last updated on July 11, 2026.

Source: KyrieCheungYep/ky-markdown-rebuilder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.