---
name: visualize-onepager
description: Use when the user asks for a One-Pager, Two-Pager, HTML-Visualisierung, Übersicht, Status-Seite, Landkarte, Gesprächsbild, Executive Summary als Seite, "visualisier mir …", "mach mir eine Seite dazu", or wants to send a compact HTML page that summarises research, a decision, a concept, a plan, modules, an architecture or meeting notes. Also use when a Research Brief, decision doc or plan is finished and Ronny wants to see or share it at a glance. Not for slides, dashboards, blog or LinkedIn assets, or code-plan reviews.
argument-hint: "<source file or topic> [--intent ueberblick|entscheidung|kommunikation] [--pages 1|2] [--brand project|marosch|personal|strive|b1|bwv] [--lang de|en]"
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
metadata:
  author: ronny
  version: "0.2.1"
  category: design
---

# onepager

## Combine with infographics

When the page needs a chart, comparison, process or relationship figure, read `../visualize-infographics/SKILL.md` and only the relevant pattern references. Embed that figure inline in this one-pager; the one-pager keeps its structure, word/page budget, evidence requirements and `check.py` gate. Use the current project's theme for the figure as well as the page. No separate infographic deliverable is needed unless requested.

## Overview

A one-pager is one or more statements, one figure of the right kind and the open points on at most two pages, in the project's design or, when the project has none, the marosch design. The page is the summary; the source document keeps the detail. Baseline without this skill (five deliverables, September 2026): 940–2,664 words of prose, no brand tokens, no figure, topic labels as titles. `scripts/check.py` turns each of those into a failing check. Revision 0.2.0 folds in Ronny's corrections of 2026-09-10: intent decides the structure, two or three statements may replace the single claim, a matrix or column set counts as the figure, the project design beats marosch. One-pager author credits now read **Ronny** (2026-11-05), independently of the brand. Files in this directory: SKILL.md, `references/`, `templates/onepager.html`, `scripts/`; `agents/openai.yaml` is Codex display metadata and needs no reading.

## Intent decides the structure

Read the request for what the page is for, then shape it (`references/content-shaping.md`, section "Intent first"):

| `--intent` | The reader wants | Head | Typical figure (the content decides) | Must have |
|---|---|---|---|---|
| `ueberblick` | to see the situation (Übersicht, Status, Landkarte, Module, Ausbaustufen, Architektur) | two or three part statements, or one framing h1 | matrix, columns, layers, dependency map | legend when state encoding needs explanation |
| `entscheidung` | the recommendation and what it rests on (A oder B, go/no-go) | one h1 = the recommendation | mechanism figure or options matrix | decisions with recommendation and flip condition |
| `kommunikation` | to understand and act (an jemanden schicken, Termin, Gesprächsbild, Kunde) | one h1, or one part per Gesprächsbild | cards, before/after, layers | questions or ask block; caveat when material |

No cue in the request → infer `ueberblick` unless the audience or action is materially ambiguous; then ask once. The intent goes to `check.py --intent`, which gates the slots.

## The page

Only **head** (`data-slot="head"`) and **figure** (`data-slot="figure"`) are required on every page, identical to `check.py`. A concise overview can end there when its message and relationships are understandable without extra explanation. Use the catalogue in `references/blocks.md`; keep useful rich blocks, delete empty or redundant ones.

- **Head.** One `<h1>` states the conclusion or frames the overview, sentence case, 90 characters at most. Alternatively use a short lead and two or three `<section class="part">` blocks with `<h2 class="part-title">` statements. One part is a title in disguise; four parts are a document.
- **Figure.** Inline SVG (`references/diagrams.md`) or `data-figure="matrix|columns|layers|cards|panels"` (`references/blocks.md`). Pick the kind the content already has. A second figure takes `figure-2`; on a parts page each part carries its own. Keep accessible SVG descriptions; add a visible caption only when it adds an interpretation the title and figure do not already convey.
- **Intent-specific action.** `entscheidung` requires `decisions` with recommendation and flip condition; `kommunikation` requires `questions` or `ask`. An overview needs neither by default.
- **Optional context.** `stamp`, `summary`, `evidence`, `decided`, `next`, `risks` and `leaves-out` serve a specific reader need. Add a summary only for context or reasoning missing from the head and figure; next steps only for real actions; a leaves-out note only for a useful limit or source pointer. Preserve sources, units and caveats where they affect interpretation.
- **Attribution.** Whenever an author is shown, use exactly **Ronny**, independently of the page brand; mark the credit `data-slot="author"`. Retain useful source credits (`references/brands.md`); a separate `footer` slot is optional. Do not repeat the author in a stamp and footer.

Every visible text needs a reader benefit: understanding the subject or relationships, judging the evidence, acting, or finding the source. Omit format labels ("One-Pager"), decorative status/confidence metadata, redundant eyebrows, captions and labels by default. Evidence chips and legends are optional: use them when distinguishing fact, option, hypothesis or gap changes the reading; never tag every statement mechanically. Keep explicit labels for illustrative or synthetic data when it could be mistaken for observed evidence. Accessibility text and necessary warnings stay.

## Budget

`--pages` is a word tier, not a physical page count: 350 visible words for one page, 700 for two. Visible means everything the reader sees, including the stamp, table headers, figure labels, chips and the footer; tokens without a letter or digit (`·`, `—`, `●`) do not count. Reserve no fixed allowance for page chrome: omit it when it adds no information. Further caps: 40 words per paragraph or list item, five items per list, six sections, three parts. The budget is a cap, not a target; a page at 60 % of it is finished, never padded. Paper is a separate question: a full one-pager prints on two A4 sheets at readable size (measured: about 1,750 px of layout at A4 width). When one sheet is required, run the check with `--print`, drop the evidence block and keep the figure at or below 160 viewBox units tall; otherwise a two-sheet PDF is the expected result, not a defect. Two pages is the hard ceiling in every case.

## Workflow

1. **Scope.** Intent, pages, audience, language (default German), sources. The words One-Pager or Two-Pager in the request fix the tier; otherwise default to 1 and take 2 when the outline needs two figures or a parts head has three parts. Infer these from the request; ask once only when ambiguity changes the result. State material assumptions beside the affected content.
2. **Find the design.** In this order, stop at the first hit: the request names one; the project's CLAUDE.md or AGENTS.md points at one; a DESIGN.md, tokens or brand folder in the project; an HTML page in the project Ronny already accepted. A hit is `--brand project` with `<html data-design="<path>">` and a hand-mapped token block (`references/brands.md`); a hit that points at the MAROSCH system itself is plain marosch. No hit is marosch via `scripts/tokens.py`. Say which in the report.
3. **Extract the content model** before writing HTML and post it as a short outline (fields in `references/content-shaping.md`): intent, heads, figure kind and claim, supports, entities with dependency edges, decisions made and open, evidence with state, next steps, caveat, what the page leaves out, sources.
4. **Pick blocks** by intent from `references/blocks.md`; draw an SVG per `references/diagrams.md` only when the figure kind is a path or dependency.
5. **Render.** Copy `templates/onepager.html` to the target path; for marosch run `python3 scripts/tokens.py --into <target>`, for a project design replace the marker block by hand. Fill the required slots and only the optional blocks that help the reader. The template is a catalogue showing every figure kind: duplicate rows you need, delete unused or redundant blocks, keep at most one evidence variant and one figure block per claim. No `{{` survives; every kept block keeps its `data-slot`.
6. **Check.** `python3 scripts/check.py <target> --pages N --intent <intent> --brand <project|marosch>` (add `--print` when the page must fit the paper). On FAIL cut content or move it into the source document; the budget is never widened. WARN lines may ship and are listed in the report.
7. **Look once.** One screenshot (Playwright MCP, or Chrome headless, tall enough for the whole page), one fix pass, no second look.
8. **Deliver.** The project's CLAUDE.md, else its AGENTS.md, decides the folder; without either, save next to the source; without a source file, use the runtime output folder (`<runtime-output>/onepager/` or `<runtime-output>/<date>/`). The file name is always `YYYY-MM-DD_<slug>_onepager.html`, slug = two to four lowercase ASCII words of the topic, hyphenated. Report intent, design used, words, pages, check output including WARNs, and the path. PDF only on request. Never publish outside this machine without an explicit ask.

## Quick reference

| Need | Command (paths relative to this skill directory) |
|---|---|
| Inline live marosch tokens | `python3 scripts/tokens.py --into page.html` |
| Gate | `python3 scripts/check.py page.html --pages 2 --intent entscheidung --brand marosch [--print]` |
| Gate, project design | `python3 scripts/check.py page.html --pages 1 --intent ueberblick --brand project` (page declares `<html data-design>`) |
| Screenshot | `"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --headless=new --disable-gpu --screenshot=/tmp/page.png --window-size=1280,1800 "file://<abs path>"` (`1280,3000` for a two-pager, so the blocks below the fold get looked at) |
| PDF | same binary with `--no-pdf-header-footer --print-to-pdf=page.pdf "file://<abs path>"` (A4, usually two sheets) |
| Self-test | `PYTHONDONTWRITEBYTECODE=1 python3 -m unittest scripts/test_check.py` |

## Heads

A head is a statement, not a topic. "Bei Vercel bleiben; Hetzner lohnt erst ab 200 € im Monat" passes. "Hosting-Vergleich: 6 Kriterien, 2 Optionen" fails, and so does any head that counts its own content with a digit. On an overview the head may frame instead of conclude ("Vier Pakete mit eigenem Kundennutzen.", "Fachliche Module. Gemeinsame Basis.") as long as it says something about the content. Hooks that carry a head: a contrarian claim, a surprising number, a concrete tension. German heads are written in sentence case; when the project design uppercases headings through CSS, the markup stays sentence case and the design does the rest.

## Design

The project's own design first, marosch as the fallback, never the other way round. Accepted project designs so far: Walde (IBM Plex Sans, Archivo Narrow, paper), Luxcara (serif display, cream paper, five chip states); B1 and Build with Vibe have their own tokens. marosch fallback: `design-tokens.css`, Schibsted Grotesk / Inter / JetBrains Mono, light for documents, dark follows the system, author line **Ronny**, as for every other brand. The design does not determine authorship. Table and procedure in `references/brands.md`. Generic design heuristics that avoid Inter or purple gradients do not apply to the marosch fallback: the brand beats the heuristic.

## Common mistakes

| Mistake | Fix |
|---|---|
| Head names the topic or counts the page | Write the statement; the check rejects labels |
| One h1 forced onto a topic with two or three things to say | Variant B: two or three part statements |
| An SVG drawn because the check wants a figure | Declare the matrix, columns, layers or cards with `data-figure` |
| marosch tokens on a project that has its own design | `--brand project`, `data-design`, hand-mapped tokens |
| A company name in the author line | Ronny, independently of the design |
| Prose paragraphs inside cells | Every block is a catalogue block with a word cap |
| Icons or decoration instead of a mechanism | Draw the dependency, flow or difference the argument turns on |
| A recommendation the source never made, presented as the source's | Label it `Empfehlung (Agent)` with its basis, or leave the decision open |
| External CSS or JS | One self-contained file; Google Fonts is the only allowed link |
| Widening the budget to fit | Cut, or move the detail to the source and link it |
| Numbered markers on non-sequences | Number parts and steps; decisions and findings stay unnumbered |

## Testing this skill

Baseline evidence, Ronny's approved exemplars, dogfood results and the blind re-test rule live in `references/exemplar.md`. After editing this skill, run the deterministic checks. A fresh-agent render or routing canary requires explicit approval under the capability eval gate; without it, report that live skill behavior remains unverified.
