/useful-user-manuals:trim-manualfrom useful-user-manuals
Make a shorter copy of a product manual PDF by keeping only the pages you need, such as your language or the setup and operation sections, and dropping warranty, regulatory and other-language pages. The original pages stay unaltered, and an attribution cover page goes in front. Use for "strip the other languages out of this manual", "just the English pages", "drop the warranty and safety boilerplate", "only the setup section".
Ships in useful-user-manuals. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This keeps original pages untouched and only chooses which ones to keep. It's the fastest
route, and nothing gets reworded. If the content the user wants shares pages with content
they don't want, use rewrite-manual instead (step 3).
You need <workdir>/original.pdf. If it isn't there, run fetch-manual first.
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/manual.py map <workdir>
This writes map.json and pages/NNN.txt. Each page in it has:
languages: the share of lines in each language, detected line by linehints: warranty, safety, regulatory, contents or troubleshooting, where those keywords appearheadingsocr: whether the page had no text layer and was OCRed. Use --ocr-langs eng+deu etc. to OCR other languages.The hints are keyword matches, not verdicts. Read the pages/*.txt of any page you're not
sure about before deciding.
Look at summary in map.json:
multilingual_pages not empty: languages are interleaved on the same page, which is
common in quick start leaflets. Dropping pages can't remove a language here. Tell the
user, and offer rewrite-manual.oversized_pages not empty: the "pages" are posters or fold-out sheets. Each one usually
mixes setup with legal text, so trimming does little. Offer rewrite-manual.pages_without_text with OCR unavailable: the page is a picture. Check it by rendering it
(pdftoppm -r 60 -f N -l N -png) and looking at it.Show a short table to the user: page ranges, what each range is, and keep or drop. By default:
--note).Get a yes, or let the user adjust the selection, before you build.
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/manual.py extract <workdir> \
--pages "3-18,42" \
--title "<Maker Model> manual (English, setup and use)" \
--note "Left out: German, French and Spanish pages; warranty and regulatory notices." \
--out <dest>/<YYYY-MM-DD>_<maker-model>_trimmed.pdf
The cover page is required. It says the document was generated by the agent (--generator,
default Claude), links the original, and lists the pages kept and the original's
SHA-256. Use --no-cover only if the user explicitly asks for no cover, and then also put the
source in the filename or the reply.
Render page 1 and one kept page at low resolution and look at them. Report the output path, the page count before and after, and what was left out.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/fetch-manualFind and download the official user manual PDF for a product (headset, appliance, router, camera…) and save it with its source URL and checksum, ready for trimming or rewriting. Use for "get the manual for my X", "download the user guide for this model", "find the PDF manual", or when another skill in this plugin needs the original./how-to-guideAnswer one specific "how do I…" question about a device from its user manual, and deliver the answer as a short custom PDF guide with steps, controls and a citation to the original page. Says plainly when the manual doesn't cover it. Use for "how do I pair this with two devices", "make me a guide just for resetting the router", "I only want to know how to do X with my Y"./useful-user-manuals@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin useful-user-manuals