While creating content, I frequently use AI to put together slides for presentations and videos. Over time, I noticed that asking AI to write slide code directly rarely turns out well—only a handful of top-tier models produce decent results. Most models struggle to make clean slides on their own unless you rely on pre-made templates.
On top of that, the illustrations inside AI-generated decks are usually underwhelming. Earlier, when building Oil Art Landing, I worked out a pattern for landing pages: let an image model design the visual layout first, then restore that design into real web code. I wondered whether the same approach could work for presentations. That question led to Oil Slide.
Today it comes in three forms: an open-source Skill you install in your own AI Agent (oil-slide), a DeepSeek Harness plugin, and a hosted web Agent (slide.oiloil.org). If you do not want to set up anything locally, you can open the web version and run it with the hosted Agent directly.
In this post, I want to walk through how Oil Slide works under the hood, along with a few practices that carry over to designing other Skills and Agents.
Design First, Restore Second
The core difference between Oil Slide and typical presentation tools is that it generates full-page visual design mockups first, then restores those images into editable slides. That solves three practical problems:
- Less dependence on a text model's visual taste. Coding slides from scratch leans heavily on a text model's layout and design instincts, which most models struggle with. Handing the visual composition to an image model lets the text model focus on faithful restoration instead.
- No overflow or awkward whitespace. When AI writes slide code directly, content often overflows vertically or leaves large empty gaps. Generated slide images naturally respect canvas boundaries—hierarchy, density, and breathing room are already settled before restoration begins.
- Broad generality without maintaining template libraries. Because layouts are generated visually, any topic or style can be created on demand without relying on a large catalog of static templates.
To make the difference concrete, I ran the same topic—Journey to the West: Team Roles Across the Four Pilgrims—through a lightweight model (Hydrogen) writing HTML and CSS directly, alongside a visual mockup generated using the Oil Slide approach:

The contrast is immediate. Direct code generation tends to fall back on dark backgrounds with four identical rounded cards, dense body text, and unused space above and below. Starting with a visual mockup locks in proportion, breathing room, and a clear visual focal point before a single line of slide code is written.
Four Ideas That Carry Over to Other Skills
Breaking down Oil Slide's workflow reveals four design habits that apply well beyond presentation decks.
1. Ask Clarifying Questions Up Front
When a user starts with a broad topic, Oil Slide pauses to ask a few short questions before generating anything. The most important one is where the deck will be used.
Different settings call for completely different information density. A live talk or video companion deck needs sparse text and bold visuals that viewers can grasp in a glance. A class report, courseware, or work review needs to stand on its own when read asynchronously.
This applies to almost any Skill: do not assume the user gave complete context in the first prompt. Adding a brief clarifying step up front collects the constraints that actually shape the output.
2. Real Brand Context Before Generation
Whenever a deck covers a real product, brand, open-source project, or person, Oil Slide gathers external references first: capturing homepage screenshots, collecting official logos, mascots, and exact brand colors, and assembling a brand reference card. When refreshing an existing deck, it extracts the original text and images for reuse.
Every subsequent slide follows those real brand colors, and official logos or photos are reused rather than redrawn from scratch. Beyond stronger brand consistency, grounding the workflow in fresh first-hand assets replaces stale model memory and reduces hallucinations from the start. Putting real data retrieval ahead of generation is usually far more reliable than patching prompts afterward.
3. Cover-Driven Consistency and Layered Restoration
A full presentation often spans a dozen slides that need to feel cohesive without looking repetitive. Oil Slide borrows a pattern from Oil Art Landing:
- If no style is specified, it generates 3 distinct cover directions first. Much like Oil UI, this lets users pick a visual direction by comparing concrete options rather than guessing in the abstract.
- Once chosen, the cover becomes the master reference for the deck.
- Every following slide takes that cover as a visual reference—locking palette, character style, and rendering treatment—while deliberately changing composition and camera angle to match each slide's content.
Here is an 8-slide DeepSeek reasoning model walkthrough built this way, anchored by its real logo and brand blue:

Once the visual mockups are approved, the pipeline branches by deliverable. For 3:4 vertical social carousels that only need images, it exports the full set at target resolution and stops there:

When editable slides are needed, the restoration stage first builds an editable web presentation and then converts it to native .pptx for PowerPoint or Keynote. Elements are separated into four tracks:
- Textured or lit full-bleed backgrounds: regenerated via image-to-image with all text removed to form a clean backdrop plate.
- Illustrated characters, props, and 3D objects: instead of cropping directly from the mockup, each page's objects are redrawn onto a transparent-background grid sheet and sliced into clean standalone assets.
- Photos, screenshots, and maps that must stay intact: cropped locally by exact coordinates.
- Headlines, body copy, numbers, tables, and clean charts: rebuilt as real HTML text and vector shapes, then compiled into native
.pptxobjects on demand.
The comparison below shows a single slide moving from generated mockup to editable web slide to native PPTX in Keynote—every word and figure remains directly editable:

4. Hand Deterministic Steps to Scripts
Alongside its Markdown instructions, Oil Slide ships a set of local scripts. In practice, relying purely on AI vision versus pairing the model with scripts makes a noticeable difference:
- Exact measurement and color sampling. Vision models grasp layout and intent well, but estimating exact hex values, font sizes, margins, and element coordinates by eye leaves wide error margins. Running a script first gives the model concrete coordinates and palette values to follow.
- Objective verification. Asking a model to visually judge its own restored output often misses subtle background shifts, undersized headlines, canvas overflow, or extra text not present in the mockup. Rule-based scripts catch those defects reliably.
- Deterministic format conversion. Assembling multi-page web decks and translating DOM boxes into accurately scaled
.pptxtext frames and shapes are fixed, precision-sensitive tasks. Keeping them in scripts frees the model from low-level formatting details and stabilizes results even on weaker models.
Open-Source Skill and Hosted Web Agent
Beyond the open-source Skill and the DeepSeek Harness plugin, I also built a hosted web version—partly as a commercialization experiment.
The open-source Skill ships with a built-in image generation tool backed by credits I provide. Image generation support varies widely across Agents, and many have none at all. Bundling image generation lets the Skill cover the visual step cleanly while the user's own Agent handles planning, file operations, and execution.
The hosted web Agent (slide.oiloil.org) goes one step further by bundling both image generation and the full Agent runtime. Users do not have to install a Skill or configure local tools—they can just open a browser and chat to produce a finished deck.
Realistically, a hosted Agent carries higher operating costs than offering image generation alone, and there is limited room to mark up model inference costs, so commercially it remains an experiment. Still, I wanted to build it as a hands-on way to explore Agent Harness design and weave in newer ideas. Since I regularly share Agent practices and Harness notes, running a real Agent product of my own is the best way to test whether those ideas hold up—profit or not, it is something I wanted to build and try for myself.
Summary
Looking back, the main lesson from Oil Slide is dividing work according to what each tool does best: let image models lock down composition and visual polish, use clarifying questions and external lookup to ground context and facts, let scripts enforce measurement, verification, and format conversion, and let the text model orchestrate the whole flow.
The Oil Slide Skill is open source at github.com/oil-oil/oil-slide, and if you prefer trying it without local setup, the hosted web version is live at slide.oiloil.org.


