/legal-scholarship:download-gated-pdfsfrom legal-scholarship
Downloads PDF binaries from bot-gated sites (think-tanks, SSRN) via Wayback Machine id_ endpoint when direct curl returns HTML.
Ships in legal-scholarship. 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.
Many think-tank and publisher sites (taxpolicycenter.org, urban.org, SSRN delivery) serve an HTML bot-challenge page instead of the PDF to non-browser clients. A browser User-Agent header does not help. The downloaded "PDF" is actually HTML.
curl -o file.pdf <url> succeeds but the file starts with <!DOCinvalid pdf header: b'<!DOC' or PdfStreamError: Stream has ended unexpectedlyscrape returns clean markdown for the same URL (its proxies get through),
but Firecrawl does not return the binary — only parsed contentid_) endpoint, which
serves the original archived binary without rewriting:
curl -sL -A "Mozilla/5.0 ... Chrome/126.0 Safari/537.36" \
"https://web.archive.org/web/<YYYY>id_/<original-pdf-url>" -o out.pdf
<YYYY> is any year likely to have a snapshot (e.g. publication year); Wayback
redirects to the nearest capture. The id_ suffix after the timestamp is what
requests the untouched original.from pypdf import PdfReader
r = PdfReader("out.pdf"); print(len(r.pages), "pages")
PdfReader opens the file and reports a plausible page count; first-page text matches
the expected title.
Verified 2026-07-15: taxpolicycenter.org/sites/default/files/publication/165884/ssrn-id4797771.pdf
and urban.org/sites/default/files/publication/80621/2000790-...pdf both bot-gated to
direct curl (with UA), both downloaded intact via
https://web.archive.org/web/2024id_/<url> and .../web/2023id_/<url> (18 and 12 pages).
ticdata.treasury.gov) are usually NOT gated — try direct
curl first; Wayback is the fallback, not the default.pdf skill (parsing/extraction after download) and
firecrawl:firecrawl-scrape (parsed markdown when the binary is unnecessary).What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/cite-placementPlace pre-screened literature citations into a LaTeX or Word manuscript, or restyle the citations already in one. Three modes: (1) inline placement — inline \cite{}/\citet{}/\citep{} with a compiled references.bib, for author-date journals (APA, MLA, Harvard, Chicago author-date, IEEE, Vancouver); (2) footnote placement — full formatted \footnote{} or OOXML footnotes for legal and notes styles (Bluebook, OSCOLA, Chicago, APA, McGill) with Id./supra short forms; (3) restyle — convert existing footnote citations from one style to another. This skill is manual-invoke ONLY — trigger ONLY when the user explicitly runs /cite-placement or explicitly names the "cite-placement" skill. Do NOT auto-trigger on general citation, footnote, or reference requests./latex-to-wordConvert between LaTeX and Microsoft Word for academic manuscripts in either direction, and assemble .tex from mixed sources. Fires on: converting .tex/LaTeX to Word/.docx ("tex to docx", "latex to word", "tex2docx", "convert to word", "pandoc convert"); converting .docx manuscripts to LaTeX for editing and back ("convert to latex", "manuscript", "footnotes", "reference doc", the docx-to-tex-to-docx round-trip / academic paper editing pipeline); high-fidelity delivery where plain pandoc loses tables, mangles cross-references, or fails on custom macros — booktabs/regression tables, OMML equations, cleveref, \estauto, \@@input, \thanks, TikZ, native Word tables, longtable, siunitx; and building .tex from mixed PDF/docx/LLM-generated sources. Replaces and reroutes the retired skills manuscript-editing-template-latex, latex-to-docx-fidelity, tex2docx, and latex-from-mixed-sources.npx claudepluginhub kennethkhoocy/legal-scholarship-skills --plugin legal-scholarship2 plugins ship this exact skill · first indexed Jul 23, 2026
Other plugins' skills for the same job