Premium AI-native web design patterns, cinematic scroll templates, and agent skills from The AIgent.
This repo is a free design stack for builders who want AI-generated pages to feel less generic. It packages static HTML templates, shared CSS tokens, reusable agent skills, video-scrub landing page patterns, and QA rules that help Codex, Claude Code, and similar agents produce more polished frontend work.
The flagship demo is the free design stack page:
templates/free-design-stack/index.html
It uses pinned scroll, scrubbed video backgrounds, mixed scene transitions, GSAP text reveals, liquid/fog glass surfaces, and mobile-safe layout rules.
Requirements:
- Node.js 20 or newer
- npm
- A modern browser
Install dependencies:
npm installRun the local static server:
npm run serveOpen:
http://127.0.0.1:4177/http://127.0.0.1:4177/templates/free-design-stack/http://127.0.0.1:4177/templates/spline-scroll-landing/http://127.0.0.1:4177/templates/asset-scroll-gallery/http://127.0.0.1:4177/docs/awwwards-animation-menu.html
Use a different port if needed:
PORT=8788 npm run servePowerShell:
$env:PORT = "8788"; npm run serveRun the static checks:
npm run checkRun the browser smoke tests:
npm run smokeThe smoke test opens the key pages on desktop and mobile viewports and verifies that they render.
tokens/aigent-tokens.css- shared type, color, spacing, motion, and surface tokens.templates/free-design-stack/- the public cinematic product page for this stack.templates/spline-scroll-landing/- a Spline + GSAP scroll landing page starter.templates/asset-scroll-gallery/- a scroll-driven resource/gallery template.skills/- Codex/Claude-compatible skills for directing agents.docs/- product framing, design principles, 3D scroll and cinematic deck playbooks, mobile QA, publishing, source intake rules, local animation-pack intake, and the visual Awwwards animation menu.assets/video/- local demo video scrub assets for the cinematic template.screenshots/- reference captures from desktop and mobile iterations.
The free-design-stack template is built around five layers:
- A fixed media stage.
- Four scrubbed scene videos.
- One global dust/light overlay video.
- A 2D content layer with GSAP text and card animation.
- Glass buttons/cards that stay readable over motion.
The page uses the "pin then release" pattern:
- The media stage pins while the user scrolls through the page.
- Scroll progress drives
video.currentTime. - Text and cards reveal as their sections enter.
- The pinned media releases naturally when the scroll sequence is over.
Current video slots:
assets/video/design-stack-01-cave.mp4assets/video/design-stack-02-ink.mp4assets/video/design-stack-03-drone.mp4assets/video/design-stack-03-fracture.mp4assets/video/design-stack-dust.mp4
Current transition order:
- Horizontal blinds reveal.
- Crossfade.
- Two-panel vertical reveal.
The dust video is fixed over the whole page with mix-blend-mode: screen, so particles and light rays can tie the scenes together without blocking the interface.
For sponsorship decks and hero-loop-to-scrub experiences, read:
docs/cinematic-scroll-deck-playbook.md
That playbook captures the hard-earned rules for click-to-deck entry, button-guided deck navigation, opening-copy reveal, sticky metric migration, 1080p scrub encoding, lazy video warming, MP4 range serving, transition windows, mobile hero fitting, and avoiding duplicate copy/scroll cue regressions.
For choosing transition, text, scroll, WebGL, slider, grid, and 3D motion references from the local animation pack, open:
docs/awwwards-animation-menu.html
The companion note is docs/awwwards-animation-menu.md. The menu indexes preview-backed effects, but third-party preview media and the original large zip stay out of the public repo.
For smooth scroll scrubbing, use short, high-quality MP4 files with all-keyframe or frequent-keyframe encoding. Long GOP video can feel choppy when the browser jumps around with currentTime.
The live deck pattern now uses dedicated 1080p scrub exports. Do not downgrade the media to hide a seeking problem; re-encode the 1080p file for scrub-readiness instead.
Good source clips:
- Slow camera movement.
- Clear depth or texture.
- Minimal hard cuts.
- Enough negative space for text.
- Dark or medium contrast backgrounds if the copy is light.
Loading rules:
- Load the hero poster and hero loop first.
- Do not preload every 1080p scrub clip on initial paint.
- Warm the first scrub clip on CTA intent or delayed idle time.
- Warm the next clip near the transition window, not on every timeline update.
- Schedule metrics/API fetches during idle time when they are not needed for first paint.
After replacing a clip, run:
npm run serve
npm run smokeThen manually check:
- Top hero loads cleanly.
- Scrubbing feels smooth.
- Transition timing works in both scroll directions.
- Text does not overlap the browser chrome on mobile.
- Mobile hero video fits the brand mark to screen width when the mark must be readable.
- Glass cards remain readable over the brightest frame.
- In guided decks,
NextandPreviousland on approved pause points with copy fully rendered. - Later 1080p videos keep visible motion instead of becoming static after the first clip.
Copy any folder under skills/ into your agent's skills directory.
Claude Code style:
New-Item -ItemType Directory -Force -Path "$HOME\.claude\skills"
Copy-Item -Recurse .\skills\aigent-3d-scroll-system "$HOME\.claude\skills\"
Copy-Item -Recurse .\skills\aigent-asset-gallery-system "$HOME\.claude\skills\"
Copy-Item -Recurse .\skills\aigent-landing-page-polish "$HOME\.claude\skills\"Codex style:
New-Item -ItemType Directory -Force -Path "$HOME\.codex\skills"
Copy-Item -Recurse .\skills\aigent-3d-scroll-system "$HOME\.codex\skills\"
Copy-Item -Recurse .\skills\aigent-asset-gallery-system "$HOME\.codex\skills\"
Copy-Item -Recurse .\skills\aigent-landing-page-polish "$HOME\.codex\skills\"Use the skills as operating instructions for an agent. They are not runtime dependencies.
Give the agent this repo and ask it to:
- Read
docs/design-principles.md. - Read the skill that matches the task.
- Start from the closest template.
- Keep the page static unless a framework is truly needed.
- Verify desktop and mobile.
- Update docs when a new pattern becomes reusable.
Good prompt:
Use the AIgent design system. Start from templates/free-design-stack.
Replace the copy and scene assets for my product, keep the pinned video scrub pattern,
and verify desktop/mobile before you call it done.
- Build the usable page first, not a marketing shell.
- Use immersive media for websites and tools, not decorative filler.
- Keep copy brief and plain.
- Animate with purpose: reveal, orient, compare, or reward.
- Avoid generic AI gradients and random floating objects.
- Keep mobile as a first-class screen, not an afterthought.
- Use glass/fog surfaces only when the background is worth seeing through.
- Verify real browser screenshots before shipping.
- For cinematic decks, keep opening copy tied to one source of truth, verify scrub
currentTimein Chrome, and prefer button-guided pause points when the deck should feel presented rather than freely scrolled.
Do not paste random third-party skill files or templates directly into this repo.
Use this intake path:
- Add the source link to
docs/source-stack-intake.md, or usedocs/animation-asset-intake.mdfor large local effect packs. - Write what it teaches in plain English.
- Convert the lesson into an AIgent-authored rule, template section, prompt, or QA check.
- Review the license before vendoring any file.
- Update
THIRD_PARTY.mdif anything external is included directly.
The templates are static. To publish one:
- Copy the template folder or compiled page into the target static site.
- Copy any required video assets.
- Rewrite relative asset paths if the destination is different.
- Verify every MP4 and CSS file returns
200. - Check desktop and mobile.
- Push the static site repo.
For The AIgent tools site, this design can be published as:
tools.theaigent.xyz/pro-design
Early public kit. The goal is not to become a bloated component library. The goal is to package taste, scroll craft, agent instructions, and reusable patterns that help AI builders ship better-looking work.
Near-term roadmap:
- Add a React/Next version of the free design stack page.
- Add Blender/frame-sequence examples.
- Add more screenshot-based visual QA.
- Add a small gallery of approved video scrub asset styles.
- Add an install script for the skills.
MIT for AIgent-authored code and docs.
See THIRD_PARTY.md before publishing or redistributing imported third-party material, generated media, Spline scenes, fonts, or outside skill files.