PDF Processing Guide
shareAI-lab/learn-claude-code
Gives the agent command-line and Python recipes for reading, creating, merging and splitting PDF files, plus tips for large and scanned documents.
Turns course slides, homework files, class code and earlier solutions into concise student-style Markdown answers, with optional subagents for solving and review.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add vect-G/lecture-to-hw --skill lecture-to-hw -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vect-G/lecture-to-hw lecture-to-hw --agent claude-codeProject 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/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .claude/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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.
$ npx skills add vect-G/lecture-to-hw --skill lecture-to-hw -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vect-G/lecture-to-hw lecture-to-hw --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .agents/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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 vect-G/lecture-to-hw --skill lecture-to-hw -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vect-G/lecture-to-hw lecture-to-hw --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .cursor/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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.
$ npx skills add vect-G/lecture-to-hw --skill lecture-to-hw -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vect-G/lecture-to-hw lecture-to-hw --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .gemini/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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 vect-G/lecture-to-hw lecture-to-hwInstalls 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 vect-G/lecture-to-hw --skill lecture-to-hw -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .github/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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 vect-G/lecture-to-hw --skill lecture-to-hw -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vect-G/lecture-to-hw lecture-to-hw --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lecture-to-hw" agent skill from https://github.com/vect-G/lecture-to-hw/tree/main into .opencode/skills/lecture-to-hw/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lecture-to-hw", 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.
lecture-to-hwTurns course slides, homework files, class code and earlier solutions into concise student-style Markdown answers, with optional subagents for solving and review.
The agent scans the course folder for assignments, slides, class code, notebooks, data and earlier solutions, and reads each homework file in a way that suits its format: `pdftotext` for PDFs, rendered pages to check formulas and tables in Word files, and OCR for images. It stops to ask you when a question or file is unclear. It then matches each problem to the course's own slides, terminology and code, avoids methods beyond the course, and copies only the format habits of earlier solutions, not their content.
The main agent acts as controller and may use up to four subagents on independent sub-questions, but only the controller edits the final Markdown. Symbolic problems are derived by hand, numerical ones get minimal reproducible code in a new solution folder, and the answer file uses Markdown with LaTeX, short headings and no filler. A review pass checks every sub-question, formulas, numbers and file names, and a critic subagent can look at larger jobs. The final reply gives a high, medium or low confidence level and points to what you should verify. The instructions are in Chinese.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 75654b2. 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.
Shell commands in SKILL.md call:
rgpdftotextcondaFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Lecture to Homework loads about 729 tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 159 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); files beside SKILL.md are not scanned.
The full file from vect-G/lecture-to-hw at commit 75654b2, republished under its MIT licence (© vect-G). 159 words, ~729 tokens.
.claude/skills/lecture-to-hw/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.扫描当前课程目录。
rg --files,必要时配合 find、ls 和定向 rg。读取作业要求。
pdftotext -layout 提取。pdftoppm 渲染页面或做视觉检查。匹配课件和代码。
学习历史答案风格。
作业/hw*_solution/*.md。决定单 agent 还是并行模式。
解题并验证。
conda run -n PR python ...;未指定时使用当前可用 Python。生成输出。
作业/hw5_solution/。hw5 姓名.md,文件名尽量匹配历史习惯。提交前 review。
做组装后 review。
简短说明:
© vect-G, 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 5 other files in the repository root of vect-G/lecture-to-hw.
Open the folder on GitHubat commit 75654b2
Lecture to Homework 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 |
|---|---|---|---|---|---|---|
| Lecture to Homework this skillvect-G/lecture-to-hw | 127 | — | ~729 | Automated safety check: Pass | MIT | |
| PDF Processing GuideshareAI-lab/learn-claude-code | 78k | 4 repos | ~646 | Automated safety check: Pass | MIT | |
| DOCX ToolkitXiaomiMiMo/MiMo-Code | 14k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Aigc Detectorfree-revalution/AIGC-Detector-Pro | 142 | — | ~2.8k | Automated safety check: Pass | MIT | |
| DOCX Processing Toolkittelagod/code-abyss | 244 | — | ~668 | Automated safety check: Notes | MIT | |
| PowerPoint PPTX ToolkitXiaomiMiMo/MiMo-Code | 14k | — | ~6.8k | Automated safety check: Notes | Apache-2.0 |
shareAI-lab/learn-claude-code
Gives the agent command-line and Python recipes for reading, creating, merging and splitting PDF files, plus tips for large and scanned documents.
XiaomiMiMo/MiMo-Code
Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.
free-revalution/AIGC-Detector-Pro
Academic paper AI content detection, rewriting, and thesis writing assistant.
telagod/code-abyss
Routes Word document tasks to the right tool: pandoc for text, raw OOXML for structure and comments, docx-js for new files, and a mandatory redlining flow for edits to others' documents.
XiaomiMiMo/MiMo-Code
Creates, edits and reads PowerPoint .pptx files with python-pptx or PptxGenJS, with scripts for XML edits, text dumps, PDF and image rendering, and thumbnails.
yushui2022/MathModel-Skill
Builds a scoring-aligned outline for a mathematical modeling paper and a model selection plan with baseline, improvement and validation experiments.
Works with
Categories
Turns course slides, homework files, class code and earlier solutions into concise student-style Markdown answers, with optional subagents for solving and review. The agent scans the course folder for assignments, slides, class code, notebooks, data and earlier solutions, and reads each homework file in a way that suits its format: `pdftotext` for PDFs, rendered pages to check formulas and tables in Word files, and OCR for images. It stops to ask you when a question or file is unclear.
Lecture to Homework fits situations like: writing up a course assignment from lecture slides and class code; splitting a multi-part assignment across subagents with a final review; matching a new homework's formatting to earlier solution files.
Run `npx skills add vect-G/lecture-to-hw --skill lecture-to-hw -a claude-code`. Or copy the skill folder (the vect-G/lecture-to-hw repository) into .claude/skills/lecture-to-hw in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vect-G/lecture-to-hw --skill lecture-to-hw -a codex`. Or copy the skill folder (the vect-G/lecture-to-hw repository) into .agents/skills/lecture-to-hw 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 vect-G/lecture-to-hw --skill lecture-to-hw -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lecture-to-hw, .gemini/skills/lecture-to-hw, .github/skills/lecture-to-hw and .opencode/skills/lecture-to-hw in your project.
Going by SKILL.md and its folder, Lecture to Homework needs the command-line tools its instructions call (rg, pdftotext and conda). Our summary lists: Poppler tools such as `pdftotext` and `pdftoppm`; ripgrep (`rg`); Python, for code-based solutions.
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.
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. Review the folder before installing.
Lecture to Homework is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 729 tokens (SKILL.md is roughly 2.9k 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 Lecture to Homework: PDF Processing Guide (shareAI-lab/learn-claude-code, 78k stars), DOCX Toolkit (XiaomiMiMo/MiMo-Code, 14k stars), Aigc Detector (free-revalution/AIGC-Detector-Pro, 142 stars) and DOCX Processing Toolkit (telagod/code-abyss, 244 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vect-G (a GitHub user) maintains it in vect-G/lecture-to-hw, which has 127 GitHub stars. The repository was last updated on May 8, 2026.
Source: vect-G/lecture-to-hw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.