Posterskill Academic Posters

作者 reason-machines2384a003145a無授權條款83 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 個月前更新

AI-assisted academic conference poster generation from Overleaf source using Claude Code

AI 產生的概覽

根據 Overleaf 論文原始檔產生可列印的學術會議海報,輸出為單一自包含 HTML 檔案。

功能
此技能會讀取複製的 Overleaf 論文專案,產生一份自包含的 HTML 海報,並內建以 React 為基礎的拖放式視覺編輯器。輸出包含卡片登錄表、預設版面與標誌設定,以及瀏覽器主控台 API,可用來交換卡片、調整欄位與卡片尺寸、縮放字型並量測空白浪費。版面可匯出為 JSON 並貼回以更新海報,最後可從 Chrome 列印為 PDF。
適用情境
當你需要根據既有 LaTeX 論文製作會議海報時使用,特別適合論文託管於 Overleaf 的情況。它適合需要反覆調整欄位、卡片與字型的版面迭代,並最終匯出可列印 PDF 的情境。
執行需求
需要 Claude Code、複製的 Overleaf 專案目錄與專案網站 URL;參考海報與作者網站為選用項目。產生的 HTML 會從 CDN 載入 React,因此需要網路存取,標誌下載與版面驗證使用 Playwright。此技能不附帶指令碼,僅包含說明。

posterskill — Academic Poster Generator

Skill by ara.so — Daily 2026 Skills collection.

posterskill is a Claude Code skill that generates print-ready, interactive conference posters from your Overleaf paper source. It produces a single self-contained HTML file with a built-in drag-and-drop visual editor — no build step, no server required.

Installation & Setup

bash
git clone [email protected]:ethanweber/posterskill.git postercd poster
# Clone your Overleaf paper sourcegit clone https://git.overleaf.com/YOUR_PROJECT_ID overleaf
# Optional: add reference posters for style matchingcp ~/Downloads/some_reference_poster.pdf references/

Start Claude Code and trigger the skill:

bash
claude
/make-poster

Claude will ask for your project website URL and any formatting specs, then generate a poster/ directory with index.html.

Directory Structure

poster/                  # this repo├── .claude/│   └── commands/│       └── make-poster.md   # the skill command├── overleaf/            # your cloned Overleaf project├── references/          # optional reference PDFs for style matching└── poster/              # generated output    ├── index.html       # the poster (self-contained)    └── logos/           # downloaded institutional logos

What Gets Generated

The output poster/index.html is a React app (loaded via CDN) containing:

  • CARD_REGISTRY — each card's title, color, and JSX body content
  • DEFAULT_LAYOUT — column structure and card ordering
  • DEFAULT_LOGOS — institutional logos for the header
  • window.posterAPI — programmatic API for layout automation

Visual Editor Features

Open poster/index.html in Chrome to access the built-in editor:

FeatureHow to Use
Resize columnsDrag column dividers left/right
Resize cardsDrag row dividers up/down within a column
Swap cardsClick one diamond handle, then another
Move/insert cardsClick a handle, then click a drop zone
Adjust font sizeClick A- / A+ buttons in toolbar
Preview print layoutClick Preview button
Export layoutClick Copy Config to get JSON

Programmatic API (window.posterAPI)

Available in the browser console or via Playwright automation:

js
// Swap two cards by IDposterAPI.swapCards('method', 'results')
// Move a card to a specific column and positionposterAPI.moveCard('quant', 'col1', 2)
// Resize a column (in mm)posterAPI.setColumnWidth('col1', 280)
// Set a specific card's height (in mm)posterAPI.setCardHeight('method', 150)
// Scale all text globallyposterAPI.setFontScale(1.5)
// Measure whitespace waste (lower = better layout)posterAPI.getWaste()
// Get the current layout as an objectposterAPI.getLayout()
// Get the full config as JSON (paste back to Claude)posterAPI.getConfig()
// Reset to default layoutposterAPI.resetLayout()

Iteration Workflow

The core loop for refining your poster:

  1. Claude generates first draft, opens poster/index.html in your browser
  2. You edit in the browser — drag dividers, swap cards, resize columns
  3. Click "Copy Config" in the toolbar to export your layout as JSON
  4. Paste the JSON back to Claude — it updates DEFAULT_LAYOUT in the HTML
  5. Repeat until the layout is perfect
  6. Print to PDF: File → Print → Margins: None, Background Graphics: On

Playwright Automation (used internally by Claude)

Claude uses Playwright to automate layout verification. You can use it too:

js
const { chromium } = require('playwright');
async function optimizePoster() {  const browser = await chromium.launch();  const page = await browser.newPage();    await page.goto(`file://${__dirname}/poster/index.html`);    // Use the posterAPI to adjust layout programmatically  const waste = await page.evaluate(() => posterAPI.getWaste());  console.log('Whitespace waste:', waste);    // Resize a column  await page.evaluate(() => posterAPI.setColumnWidth('col1', 300));    // Take a screenshot for visual verification  await page.screenshot({ path: 'poster-preview.png', fullPage: true });    // Generate PDF at print resolution  await page.pdf({    path: 'poster.pdf',    width: '841mm',   // A0 landscape width    height: '1189mm',    printBackground: true,  });    await browser.close();}

Card Registry Structure

Each card in the poster is defined in CARD_REGISTRY:

js
const CARD_REGISTRY = {  abstract: {    title: "Abstract",    color: "#f0f4ff",    body: `      <p>Your abstract text here. Supports full JSX including      <strong>bold</strong>, <em>italic</em>, and inline math.</p>    `  },  method: {    title: "Method",    color: "#fff8f0",    body: `      <img src="figures/pipeline.png" style={{width:'100%'}} />      <p>Caption describing the pipeline above.</p>    `  },  results: {    title: "Results",    color: "#f0fff4",    body: `      <table>...</table>    `  }};

Default Layout Structure

js
const DEFAULT_LAYOUT = {  columns: [    {      id: 'col1',      widthMm: 280,      cards: ['abstract', 'method']    },    {      id: 'col2',       widthMm: 320,      cards: ['results', 'quant']    },    {      id: 'col3',      widthMm: 280,      cards: ['conclusion', 'references']    }  ]};

Inputs Claude Uses

InputWhere It Comes FromRequired
Paper contentoverleaf/ directoryYes
Project websiteURL (asked at runtime)Yes
Reference postersreferences/*.pdfNo
Author websiteURL for brand matchingNo
Formatting specsConference URL or textAsked if missing
LogosAuto-downloaded to poster/logos/Auto

Common Patterns

Adding a custom figure card

js
// In CARD_REGISTRY, add a new cardcustom_fig: {  title: "Qualitative Results",  color: "#fafafa",  body: `    <div style={{display:'grid', gridTemplateColumns:'1fr 1fr', gap:'8px'}}>      <img src="figures/result1.png" style={{width:'100%'}} />      <img src="figures/result2.png" style={{width:'100%'}} />    </div>    <p style={{fontSize:'0.85em', textAlign:'center'}}>      Comparison on held-out test scenes.    </p>  `}

Then add it to DEFAULT_LAYOUT:

js
{ id: 'col2', widthMm: 320, cards: ['results', 'custom_fig'] }

Logos configuration

js
const DEFAULT_LOGOS = [  { src: 'logos/university.png', height: 60 },  { src: 'logos/lab.png', height: 50 },  { src: 'logos/sponsor.png', height: 45 },];

Printing to PDF

In Chrome:

  1. Open poster/index.html
  2. Click Preview to verify layout
  3. Ctrl+P / Cmd+P
  4. Set Margins: None
  5. Enable Background graphics
  6. Set paper size to your conference spec (A0, 36×48in, etc.)
  7. Save as PDF

Troubleshooting

Poster looks different in print vs browser → Use Chrome (not Firefox/Safari). Enable "Background graphics" in print dialog.

Figures not loading → Ensure figure paths in the HTML are relative to poster/index.html. Claude copies figures to poster/figures/ — verify the directory exists.

Logos not fetched → Claude uses Playwright to download logos from your project website. If it fails, manually copy logo files to poster/logos/ and update DEFAULT_LOGOS paths.

Layout config not updating after paste → Make sure you paste the full JSON from Copy Config — Claude looks for the complete DEFAULT_LAYOUT and DEFAULT_LOGOS objects to replace.

Font too small/large for poster size → Use posterAPI.setFontScale(1.2) in the browser console, or click A+ / A- buttons, then Copy Config and paste to Claude.

Whitespace gaps between cards → Run posterAPI.getWaste() in console to quantify. Use posterAPI.setCardHeight('cardId', heightMm) to tune card heights, or drag row dividers manually.

Example Output

See the Fillerbuster poster (repo) as a live example of posterskill output.

來源與署名

來源:reason-machines/trending-skills位於skills/posterskill-academic-posters提交2384a00

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架