Markitdown
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
把上課教材(PPT、PDF、筆記)重製成 iPad 上好讀、可手寫的深色 PDF 講義:從零講起、圖解、例題、練習與書寫區。使用者丟課程講義並要求做講義、教材、好讀版,或說「幫我整理這章」時使用,適用各種工程學科。
$ npx skills add xamjiang/handout-remake --skill handout-remake -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install xamjiang/handout-remake handout-remake --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/handout-remake .claude/skills/handout-remake && rm -rf skills-srcUse ~/.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/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .claude/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remakeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add xamjiang/handout-remake --skill handout-remake -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install xamjiang/handout-remake handout-remake --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/handout-remake .agents/skills/handout-remake && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .agents/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xamjiang/handout-remake --skill handout-remake -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install xamjiang/handout-remake handout-remake --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/handout-remake .cursor/skills/handout-remake && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .cursor/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/xamjiang/handout-remake.git --path skills/handout-remake--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add xamjiang/handout-remake --skill handout-remake -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install xamjiang/handout-remake handout-remake --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/handout-remake .gemini/skills/handout-remake && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .gemini/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install xamjiang/handout-remake handout-remakeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add xamjiang/handout-remake --skill handout-remake -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/handout-remake .github/skills/handout-remake && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .github/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xamjiang/handout-remake --skill handout-remake -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install xamjiang/handout-remake handout-remake --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xamjiang/handout-remake.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/handout-remake .opencode/skills/handout-remake && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "handout-remake" agent skill from https://github.com/xamjiang/handout-remake/tree/main/skills/handout-remake into .opencode/skills/handout-remake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "handout-remake", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
handout-remake把上課教材(PPT、PDF、筆記)重製成 iPad 上好讀、可手寫的深色 PDF 講義:從零講起、圖解、例題、練習與書寫區。使用者丟課程講義並要求做講義、教材、好讀版,或說「幫我整理這章」時使用,適用各種工程學科。
Handout Remake is an agent skill from xamjiang/handout-remake. 把上課教材(PPT、PDF、筆記)重製成 iPad 上好讀、可手寫的深色 PDF 講義:從零講起、圖解、例題、練習與書寫區。使用者丟課程講義並要求做講義、教材、好讀版,或說「幫我整理這章」時使用,適用各種工程學科。
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and assets (for example `assets/package.json`).
It sits in Documents & Office, covering PDF. The repository describes itself as: 把上課教材變成 iPad 上好讀、可手寫的深色講義|Agent Skill for Claude & Codex. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b5b319f. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
npmnodepdftoppmsofficepdftotextFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Handout Remake loads about 1.3k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 317 words of instructions outside code blocks.
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.
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.
The full file from xamjiang/handout-remake at commit b5b319f, republished under its MIT licence (© xamjiang). 317 words, ~1,341 tokens.
.claude/skills/handout-remake/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.把老師的上課教材重新教一次,做成一份在 11 吋 iPad 直向閱讀、可以用 Apple Pencil 作答的深色 PDF。 這份文件是規則(怎麼教、怎麼排、怎麼畫);排版與建置用的檔案放在本 skill 資料夾(這份 SKILL.md 所在的資料夾),見〈檔案〉。
讀者設定:對這門課幾乎零基礎;用台灣正體中文;最在意資訊排版清楚,討厭花俏和雜亂的層級;喜歡生活例子和動手練習。
soffice --headless --convert-to pdf 轉成 PDF,再用 pdftotext -layout 取文字、pdftoppm -r 40 -png 轉縮圖並實際看過每一頁(公式和圖常常只存在圖片裡)。來源檔放在獨立資料夾,不要在裡面執行程式。template.html 改寫內容。一個 <section class="page"> 就是一頁,手動分頁。node build.mjs 講義.html 講義.pdf,有任何「溢出」就調整內容或分頁直到為零。再用 pdftoppm -r 80 -png 轉圖,逐頁用 Read 看過,照〈交付前檢查〉走一遍。課名_節次_標題.pdf 交給使用者,回覆只需一兩句說明涵蓋範圍,以及任何你不確定或自行補充的地方。每個段落的順序:生活情境或動機 → 白話定義(術語中英對照)→ 圖解 → 公式 → 例題。每 2–3 個段落之後放一頁練習,解答固定放在練習的下一頁。整份最後依序是:本節重點、公式一覽、自我檢查、術語對照、下一節預告。
<b>中文</b> <span class="en">english term</span>,之後用中文。公式卡下方附英文原式,題目中的關鍵量保留英文名,方便對照考卷與課本。中英混排:漢字與英數之間加半形空格;全形標點旁不加空格;引號用「」和『』;數字與單位之間加空格(10 秒、4 GHz),百分比和度數不加(25%);專有名詞大小寫正確。
頁面是 834 × 1194 pt,等於 11 吋 iPad 直向的螢幕點數,所以 CSS 的 pt 就是螢幕上的 pt,不需要縮放。所有尺寸都寫在 handout.css 的變數裡,不要在 HTML 內另外寫死字級、顏色或間距。
#1c1c1e、內文 #e8e8ed,不用純黑純白。<mark> 螢光,留給最關鍵的一句。.eyebrow 標「段落 N」與投影片頁碼。.terms、圖解 figure > .panel、公式卡 .formula、例題 .example、練習 .practice 加書寫區 .write、提示框 .note、表格、程式碼 pre.code、解答 .answer、重點 .keypoints、公式一覽 .fsheet、自我檢查 .check。.note.life(生活中)、.note.warn(留意:容易搞錯的地方)、.note.lab(動手做的補充)。沒有側邊色條,靠淡色底與彩色小標區分。.terms 並排比較。==、!=、>=、<= 要照原樣顯示,不能被合成 ≠、≥ 這類符號);程式碼裡的中文註解由字型堆疊中的 Noto Sans TC 顯示。這兩點已寫在 handout.css,不要在 HTML 另外處理。class="hang",讓引號懸掛、文字對齊版心。版面預算(每頁可用高度 1062pt):內文一行 32pt;頁標題區約 80pt;三行的提示框約 130pt;圖解約為 SVG 高度加 90pt;書寫區高度依題目選 164/200/260pt,一頁三題的書寫區總和不要超過 590pt。
適合畫圖的時機:有先後順序、有結構或層次、要比較大小、數量之間有關係、隨時間變化。只是把文字放進框框裡不算圖解,不要畫。
viewBox 寬度固定 626,放在 .panel 裡,這樣 SVG 的單位就等於 pt。文字 13–15,標題類用 600。fill="var(--blue)"),不寫色碼。每個色相有三階:--x 是圖形本體的鮮色,--x-tint 是深色的淡底,--x-ink 是放在深底上的亮色文字與線條。可用色相:blue、orange、green、pink、purple、teal、yellow;中性用 --text、--text-2、--axis、--line-strong、--gray-fill、--gray-soft。--axis 線寬 1.2,曲線用鮮色線寬 2.5–3。真正的資料圖表另外參考 dataviz 技能。.eq,每個量包在 <span class="v blue"> 這類色塊裡,分數用 .frac。<span class="tex">…</span>,獨立一行 <div class="tex">…</div>,內容是 LaTeX 原始碼(<、& 要寫成 HTML 實體)。上色用巨集 \cB{}、\cO{}、\cG{}、\cP{}、\cV{}、\cT{}、\cY{},分別是藍、橘、綠、粉紅、紫、青、黃,和色塊同色。.formula 公式卡:第一行文字公式,第二行同色的符號公式,最下面 .eq-en 放英文原式。<p class="work">。| 檔案 | 用途 |
|---|---|
assets/handout.css | 全部樣式與色盤變數 |
assets/template.html | 每種頁面各一頁的骨架。裡面的歐姆定律只是示範元件怎麼用,製作時整段換成該課內容,頁數與段落數依教材調整 |
assets/package.json | 字型與 KaTeX 的固定版本 |
scripts/build.mjs | 渲染 KaTeX、鋪書寫區點陣、檢查每頁溢出、輸出向量 PDF |
這些檔案直接複製使用,不要改寫或重打;需要調整樣式時改 handout.css 的變數。有些平台只接受特定副檔名,封包裡的檔案可能多了 .txt(例如 handout.css.txt),複製到工作資料夾時去掉 .txt 即可。
SKILL_DIR=<這份 SKILL.md 所在的資料夾>
mkdir -p handout && cd handout
cp "$SKILL_DIR"/assets/{handout.css,template.html,package.json} "$SKILL_DIR"/scripts/build.mjs .
npm install
node build.mjs template.html test.pdf # 先確認環境能跑build.mjs 會自動尋找 Playwright(先找本地,再找 /opt/npm-tools/node_modules);都沒有時執行 npm i playwright。字型一定要用 @fontsource 的靜態字重版本,改用 variable 版本會讓 PDF 內嵌成 Type 3 字型。
build.mjs 沒有回報任何溢出pdffonts 沒有 Type 3;pdfimages -list 是空的(全向量)grep -n '#[0-9a-fA-F]\{6\}' 講義.html 應該沒有結果)內容較多時,複習的各區塊可以拆成兩頁(重點與公式一頁、自我檢查與術語對照一頁)。若使用者改用其他尺寸的 iPad,只需調整 handout.css 的 --page-w、--page-h、@page 與 build.mjs 的 viewport,並維持每行 35–40 個漢字。
© xamjiang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, assets) in skills/handout-remake of xamjiang/handout-remake.
Open the folder on GitHubat commit b5b319f
Handout Remake 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Handout Remake this skillxamjiang/handout-remake | 146 | — | ~1.3k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 782 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Gzh Designisjiamu/gzh-design-skill | 3.9k | 1 repos | ~2.2k | Automated safety check: Pass | AGPL-3.0 | |
| GenOffice Document CLIgenspark-ai/genoffice | 9k | — | ~19k | Automated safety check: Pass | Apache-2.0 | |
| Harness Book Best Practicewquguru/harness-books | 3.2k | — | ~4.1k | Automated safety check: Pass | None | |
| Bookforge Korean Ebook PDF Makergongnyang/bookforge | 315 | 1 repos | ~1.7k | Automated safety check: Pass | MIT |
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
isjiamu/gzh-design-skill
微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…
genspark-ai/genoffice
Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.
wquguru/harness-books
Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.
gongnyang/bookforge
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.
aws-samples/amazon-bedrock-agents-healthcare-lifesciences
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.
Categories
把上課教材(PPT、PDF、筆記)重製成 iPad 上好讀、可手寫的深色 PDF 講義:從零講起、圖解、例題、練習與書寫區。使用者丟課程講義並要求做講義、教材、好讀版,或說「幫我整理這章」時使用,適用各種工程學科。. Handout Remake is an agent skill from xamjiang/handout-remake.
Handout Remake fits situations like: tasks that involve PDF.
Run `npx skills add xamjiang/handout-remake --skill handout-remake -a claude-code`. Or copy the skill folder (skills/handout-remake in xamjiang/handout-remake) into .claude/skills/handout-remake in your project. Claude Code loads it when a task matches its description.
Run `npx skills add xamjiang/handout-remake --skill handout-remake -a codex`. Or copy the skill folder (skills/handout-remake in xamjiang/handout-remake) into .agents/skills/handout-remake in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xamjiang/handout-remake --skill handout-remake -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/handout-remake, .gemini/skills/handout-remake, .github/skills/handout-remake and .opencode/skills/handout-remake in your project.
Going by SKILL.md and its folder, Handout Remake needs JavaScript for the scripts in its folder and the command-line tools its instructions call (npm, node, pdftoppm, soffice and pdftotext). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Handout Remake is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Handout Remake: Markitdown (ImCa0/just-laws, 782 stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 9k 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.
xamjiang (a GitHub user) maintains it in xamjiang/handout-remake, which has 146 GitHub stars. The repository was last updated on October 7, 2026.
Source: xamjiang/handout-remake on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.