portfolio-md

Portfolio · an open-source agent skill

Give your agent your projects and pictures, get a portfolio PDF and a one-page site to send to clients.

You list the work. Your agent writes one small JSON file, picks a layout for every project, and builds three files: a landscape PDF, a site with a lightbox, and a contact sheet. Your pictures stay yours: nothing is fetched or invented.

Cover of an architecture studio portfolio: monochrome, light capitals, a line drawing of stacked cubes Cover of an illustrator portfolio: sky-blue page, a yellow sun and a round blue creature Cover of a photographer portfolio: black page, italic serif name and a dusk landscape Cover of a designer portfolio: red and white Swiss grid with a heavy name Cover of a potter's portfolio: warm paper, italic serif name and a glazed vessel on green

The pictures are generated abstract artwork, not photographs. Every page here is real output from the engine. Click a page for the PDF.

One JSON file, three outputs

The PDF, the site and the contact sheet.

A page of the PDF: a project title, a client table and four pictures of glazed jugs

A landscape PDF

A4, US Letter or 16:9. A cover, an about page, a page or two for each project, and a contact page. The type fits the page, so every page prints as one sheet.

The top of a photographer's one-page site: a black page, an italic name and a dusk landscape

A one-page site

One HTML file with the pictures inside. It reads well on a phone and has a lightbox you can use from the keyboard. Upload it anywhere, or email it.

A contact sheet: fifteen line drawings in a grid, each with a number and a caption

A contact sheet

Every picture as a thumbnail with its number and caption, fifteen to a page. Good for a client who wants to say “number 04.03”.

How it works

Ask your agent.

“Make me a portfolio from the folder work/. Four projects. Use the dark gallery look, and make a PDF for A4.”
  1. It asks for what is missing: names, years, roles, and what each picture shows.
  2. It chooses a layout for every project from the number and the shape of its pictures. You can override any of them.
  3. It shows three themes side by side, then builds the PDF, the site and the contact sheet.

Five layouts, chosen for you

  • hero One wide picture across the page.
  • split One tall or square picture beside the text.
  • two-up Two pictures, widths follow their shapes.
  • grid Three to six pictures, then more pages.
  • quote No pictures: a page of words.

The rule is a small function with tests, so the same pictures always give the same page.

Five themes

Each theme is a different way of hanging the work.

Architect theme: a project page with hairline frames, a drawing register number and three line drawings
architect Monochrome drawing sheet. Light capitals, mono labels, hairlines.
Illustrator theme: sky-blue page, sticker number, four round creatures with hard shadows and handwritten captions
illustrator Chunky type, sticker labels, hard shadows.
Photographer theme: black page, light serif title and three tall dusk landscapes
photographer Dark gallery. Light serif, spaced capitals.
Designer theme: white page, a giant red project number and six Swiss geometric posters
designer Swiss grid. Heavy grotesque, giant red numerals.
Craftsperson theme: warm paper, serif title and four glazed jugs mounted on card
craftsperson Warm paper. Soft serif, pictures mounted on card.
A Portuguese portfolio in the illustrator theme: labels read Cliente, Ano and Função, with four blue and white tile motifs
em português Labels follow the language: pt, es, fr and de are built in.

Install

Three ways in.

Claude Code plugin

/plugin marketplace add isatimur/portfolio-md
/plugin install portfolio-md@portfolio-md

Any agent, via skills.sh

npx skills add isatimur/portfolio-md

Command line

npx github:isatimur/portfolio-md build portfolio.json --out-dir out

Node 20 or newer. Nothing else to install. PDF export uses Playwright when it is there; without it, print the HTML from a browser.

Examples

Six invented portfolios.

Made-up people and studios, with generated artwork. Each one links to its PDF, its site and its contact sheet.

  • Alder & Rowe Architecture studio · architect PDF Site Sheet
  • Odalys Finch Children’s book illustrator · illustrator PDF Site Sheet
  • Ilya Brandt Photographer · photographer, 16:9 PDF Site Sheet
  • Nils Okafor-Lund Brand designer · designer, US Letter PDF Site Sheet
  • Edda Marsh Potter and woodworker · craftsperson PDF Site Sheet
  • Inês Calado Designer de azulejos · em português PDF Site Sheet
The craftsperson site on a phone: the name in italic serif, a line about plates and jugs, and a glazed vessel on green
The same site on a 390 px phone.