Loading...
Loading...
AI-assisted academic conference poster generation from Overleaf source using Claude Code
npx skill4agent add aradotso/trending-skills posterskill-academic-postersSkill by ara.so — Daily 2026 Skills collection.
git clone git@github.com:ethanweber/posterskill.git poster
cd poster
# Clone your Overleaf paper source
git clone https://git.overleaf.com/YOUR_PROJECT_ID overleaf
# Optional: add reference posters for style matching
cp ~/Downloads/some_reference_poster.pdf references/claude/make-posterposter/index.htmlposter/ # 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 logosposter/index.htmlCARD_REGISTRYDEFAULT_LAYOUTDEFAULT_LOGOSwindow.posterAPIposter/index.html| Feature | How to Use |
|---|---|
| Resize columns | Drag column dividers left/right |
| Resize cards | Drag row dividers up/down within a column |
| Swap cards | Click one diamond handle, then another |
| Move/insert cards | Click a handle, then click a drop zone |
| Adjust font size | Click A- / A+ buttons in toolbar |
| Preview print layout | Click Preview button |
| Export layout | Click Copy Config to get JSON |
window.posterAPI// Swap two cards by ID
posterAPI.swapCards('method', 'results')
// Move a card to a specific column and position
posterAPI.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 globally
posterAPI.setFontScale(1.5)
// Measure whitespace waste (lower = better layout)
posterAPI.getWaste()
// Get the current layout as an object
posterAPI.getLayout()
// Get the full config as JSON (paste back to Claude)
posterAPI.getConfig()
// Reset to default layout
posterAPI.resetLayout()poster/index.htmlDEFAULT_LAYOUTconst { 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_REGISTRYconst 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>
`
}
};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']
}
]
};| Input | Where It Comes From | Required |
|---|---|---|
| Paper content | | Yes |
| Project website | URL (asked at runtime) | Yes |
| Reference posters | | No |
| Author website | URL for brand matching | No |
| Formatting specs | Conference URL or text | Asked if missing |
| Logos | Auto-downloaded to | Auto |
// In CARD_REGISTRY, add a new card
custom_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>
`
}DEFAULT_LAYOUT{ id: 'col2', widthMm: 320, cards: ['results', 'custom_fig'] }const DEFAULT_LOGOS = [
{ src: 'logos/university.png', height: 60 },
{ src: 'logos/lab.png', height: 50 },
{ src: 'logos/sponsor.png', height: 45 },
];poster/index.htmlCtrl+PCmd+Pposter/index.htmlposter/figures/poster/logos/DEFAULT_LOGOSDEFAULT_LAYOUTDEFAULT_LOGOSposterAPI.setFontScale(1.2)posterAPI.getWaste()posterAPI.setCardHeight('cardId', heightMm)