/jobhunt:jobhunt-pdffrom jobhunt
Renders a tailored CV or cover letter to PDF and markdown using LaTeX (when available) or browser. Supports themes, page fitting, and custom templates.
Ships in jobhunt. 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.
Read when SKILL.md points to them.
python3 pdf.py <run>/cv.yaml
python3 pdf.py <run>/letter.yaml --theme "#7b2ff7" # the company's colour
python3 pdf.py <run>/cv.yaml --template plain # a named LaTeX template
python3 pdf.py <run>/cv.yaml --template mine.tex # your own
python3 pdf.py <run>/cv.yaml --browser # force the browser
--theme takes neutral, classic (serif), or a hex colour. A posting's own
colour is read off its page and stored in job.yaml as brand_color.
A CV is fitted to a page budget: one page, or two once the profile dates to ten years of work. When it runs over, the page is set tighter first - smaller type, narrower margins - and the content is never touched unless you ask:
python3 pdf.py <run>/cv.yaml --fit # may cut bullets, course lists, project text
python3 pdf.py <run>/cv.yaml --pages 2 # allow two pages; 0 for no budget
python3 pdf.py <run>/cv.yaml --order student # Education first; or experienced; or a list
The result says "pages", "density", what was "trimmed" and whether it is
still "over_budget". Every cut is named, and the markdown beside the PDF
always carries the whole document. If it is over budget without --fit, tell
the person, and offer the two honest fixes: let it cut, or tailor with fewer
bullets. Do not rewrite the CV yourself to make it fit.
Sections print in the order a reader of that CV expects - a student's degree
first, an experienced hire's roles first - unless --order says otherwise.
LaTeX, if a TeX engine is installed. That is the default and needs no flag. It is what most people expect a CV to be set in, and a warm compile is about a quarter of a second - several times faster than the browser.
The browser, if there is no engine. Not a failure and not silent: the
result says "rendered": "browser", and you should pass that on. A machine
with Python and a browser remains enough to use this, which is the point of
the project - nothing here installs a toolchain for anybody.
Engines are looked for in this order: tectonic, xelatex, lualatex,
pdflatex, then MacTeX's and TeX Live's usual folders. JOBHUNT_TEX points
at one somewhere unusual. JOBHUNT_BROWSER does the same for the browser.
--template is an instruction, not a preference. Naming one that is not
installed fails rather than quietly falling back to the browser, because a
browser PDF is not what was asked for. A path must end in .tex; a built-in
name is one of plain, plain-letter.
The first tectonic run is slow - it downloads its package bundle, which took 104 seconds on the machine this was written on. Every run after is under a second. If someone reports the first CV hanging, that is what it is; say so rather than letting them kill it.
The templates are deliberately plain. geometry, enumitem, xcolor,
hyperref, textcomp - packages that ship with every TeX installation, so
the same template compiles under tectonic, xelatex, lualatex and pdflatex. A
template needing fontawesome or a bespoke class is a template that fails on
somebody else's machine. If you write one, keep to that.
The markdown is written first, always. If the PDF step fails - no browser,
or a browser that will not start - the markdown is still there and still
sendable. Say that rather than treating it as a failure, and do not write the
markdown yourself as a workaround: it is rendered from cv.yaml, and writing
it by hand hands the employers, titles and dates back to you.
A document with no name does not become a file. It exits 2 and says so.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cv-generation, latex-pdf, resume-builder, cover-letter, pdf-export
12 skills in this plugin
/jobhuntPrepare one job application end to end from a job URL - read the posting, score how well the CV answers it before and after tailoring, write a tailored CV and a cover letter as PDF and markdown, critique them, and draft LinkedIn outreach. Applies to nothing and submits nothing. Use when someone gives you a job link or asks for help applying to a role.
/jobhunt-answerDraft and check an answer to an application form question so it stays inside what the profile can back, including an honest no. Use for "Do you have experience with X?", "Why do you want to work here?" and similar form fields.
/jobhunt-critiqueRead a finished CV and cover letter against the posting and the fit score and say what is still weak, before anything is sent. Use as the last check on an application.
npx claudepluginhub mohamedaminehamdi/job-hunter --plugin jobhuntOther plugins' skills for the same job