소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 25일 06:11
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill pdf-template-match명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Cross-server agent health monitoring using binary status vectors — deploy health endpoints on each agent, poll from orchestrator, alert on state transitions.
Wire a self-hosted Langfuse instance to Hermes Agent — generate API keys, configure env vars, enable the bundled plugin, install SDK, and verify traces flow.
Use before enforcement code changes or shared-repo commits.
SKILL.md 표시 중
| name | pdf-template-match |
| description | Use when matching a PDF to a reference PDF's layout. |
| version | 1.0.0 |
| author | Esther + Gagan Sharma (catalog) |
| license | MIT |
| platforms | ["linux","macos"] |
| metadata | {"hermes":{"tags":["pdf","template","matching","reportlab","design","catalog"],"category":"productivity","related_skills":["pdf","ocr-and-documents","vision"]}} |
Turn an input/reference PDF into a new PDF that looks like it belongs to the
same document family — same page size, margins, grid, typography hierarchy,
color usage, header/footer treatment, and table styling — using the
169-pattern pdf-design catalog (vendored: references/pdf-design.csv, MIT,
by Gagan Sharma) to shortlist a concrete ReportLab recipe, then build and
verify visually.
Load the pdf skill alongside this one — its scripts/pdf_*.py helpers are
the inspection and build tooling this workflow calls. This skill adds the
"match the reference" procedure and the design catalog on top.
ocr-and-documents first to get a
text layer, or work purely from rendered pagespypdf, reportlab, pdfplumber, pypdfium2 (or
poppler pdftoppm) — same stack as the pdf skill:
python -m pip install pypdf reportlab pdfplumber pypdfium2scripts/catalog_search.py,
references/pdf-design.csv)python <pdf-skill>/scripts/pdf_read.py input.pdf --meta
python <pdf-skill>/scripts/pdf_read.py input.pdf --text # page 1 content
python <pdf-skill>/scripts/pdf_page_image.py input.pdf --pages 1-3 --dpi 150 --out-dir ref_imgs/
Record: page size (points), page count, rotation, encryption, fonts used
(--meta reports sizes/encrypted/scanned flags; fonts come from the render +
vision pass). If likely_scanned_pages is true, work from rendered pages only.
vision_analyze each rendered page (ref_imgs/page-1.png …) asking for:
Write the tokens down as a compact "design brief" — you'll use it for the catalog query AND the final build spec.
python <this-skill>/scripts/catalog_search.py "annual report editorial cover" -n 3
python <this-skill>/scripts/catalog_search.py "invoice minimal" -n 3
Search 2–3 keyword angles from your design brief (document type + mood +
distinctive feature). Each result row gives: Layout Spec (grid/margins/
bands), Typography (hierarchy), Color Palette (hex + roles),
ReportLab Notes (exact primitives: BaseDocTemplate + PageTemplates,
onPage callbacks for bands/footers, Table with colWidths, chart modules).
Shortlist 1–2 rows whose layout spec matches your reference's grid — adopt the
recipe and adapt palette hexes to the reference's actual colors.
Use the pdf skill's pdf_create.py for spec-driven builds, or write a
custom reportlab script when the reference needs onPage bands/frames/rotated
text the JSON spec can't express. Ground rules (from the catalog):
colWidths on every Table; repeatRows=1 for running headers--meta)python <pdf-skill>/scripts/pdf_page_image.py out.pdf --pages 1-3 --dpi 150 --out-dir out_imgs/
Render the reference and the output at the same DPI, then vision_analyze
both (or a composited comparison) asking: margins aligned? heading/body scale
proportional? palette consistent? header/footer position matches? Iterate the
spec until the pages read as the same family.
pdffonts-style inspection or pypdf; substitute a metric-
compatible family (e.g. Helvetica Neue → Helvetica) and note the change.canvas.rotate() inside an
onPage or a custom flowable — plain Paragraph won't reproduce them.pdf_read.py out.pdf --meta: page count + size match the referencevision_analyze:
margins/grid/type-scale/palette/furniture all match the referencepdf_read.py out.pdf --text confirms content presentpdf_read.py ref.pdf --fields and match field
positions in the outputpdf — the underlying create/read/merge/form toolingocr-and-documents — scanned/image-only referencespdf-design-skill by Gagan Sharma (MIT) — 169
print/PDF patterns, BM25 search, ReportLab recipes