npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pythoughts/cinematic-ui

v1.1.0

Published

A reasoning-first web design skill that makes AI agents think like a film director — research a real director and film, extract cinematic grammar, translate it into page narrative, composition, and motion. Not a style picker. A director's workflow.

Readme

Cinematic UI


A reasoning-first web design skill for AI coding agents. Teaches the agent to think like a film director — research a real director and film, extract cinematic grammar, translate it into page narrative, composition, and motion. Not a style picker. A director's workflow.


What this is

cinematic-ui is a reusable skill package for Claude Code, Codex, Cursor, Windsurf, Gemini, and GitHub Copilot. It guides an agent through a fixed workflow to design a website:

  1. Pick a director + a specific film.
  2. Research the film's language (cinematography, light, pacing, texture).
  3. Translate the research into web artifacts: decisions.md, storyboard.md, compiled-spec.md.
  4. Implement HTML / CSS / JS against the spec.

The film is research material, not a design spec sheet. The agent's job is to extract structural patterns from the film and translate them into layout, composition, motion, and typography.


Workflow

| Phase | Work | Output | |-------|------|--------| | Phase 1 | Start questionnaire, pick director + film, uniqueness audit, research | decisions.md | | Phase 2 | Site-wide cinematic grammar, per-page scene thesis, signature compositions | storyboard.md | | Phase 3 | Shots, interactions, composition, texture, typography (per storyboard) | compiled-spec.md | | Phase 4 | Implement, fill in reduced-motion + responsive, run anti-garbage checks | HTML / CSS / JS |

Phase 2 internal order is fixed: site-wide grammar → per-page thesis → per-page composition → shared system last.


Supported agents

| Agent | Entry file | Install path | |-------|------------|--------------| | Claude Code | CLAUDE.md | ~/.claude/skills/cinematic-ui | | Codex / ChatGPT | CODEX.md | $CODEX_HOME/skills/cinematic-ui | | Cursor | .cursor/rules/cinematic-ui.mdc | auto-loaded on clone | | Windsurf | .windsurf/rules/cinematic-ui.md | auto-loaded on clone | | GitHub Copilot | .github/copilot-instructions.md | auto-loaded on clone | | Gemini / Antigravity | GEMINI.md | read at project start | | Cross-tool | AGENTS.md | shared reference |


Installation

npm (all platforms)

npm install -g @pythoughts/cinematic-ui

The package contents are then at $(npm root -g)/@pythoughts/cinematic-ui/. Copy or symlink the files into the target agent's skills/rules folder. Example for Claude Code:

PKG=$(npm root -g)/@pythoughts/cinematic-ui
ln -s "$PKG" ~/.claude/skills/cinematic-ui

Invoke with /cinematic-ui inside Claude Code.

Git (Claude Code)

Windows:

git clone https://github.com/Pythoughts-labs/cinematic-ui "$env:USERPROFILE\.claude\skills\cinematic-ui"

macOS / Linux:

git clone https://github.com/Pythoughts-labs/cinematic-ui ~/.claude/skills/cinematic-ui

Git (Codex / ChatGPT)

git clone https://github.com/Pythoughts-labs/cinematic-ui $CODEX_HOME/skills/cinematic-ui

Git (Cursor / Windsurf / GitHub Copilot)

git clone https://github.com/Pythoughts-labs/cinematic-ui

Rule files are picked up automatically.


Suggested prompt

Use cinematic-ui to build a homepage.
Pick the director and film yourself.
Research the director and film first if web access is available.
Run the Demo Uniqueness Protocol.
Do not reuse shells from previous demos.

Reference library

All reference data lives in references/, organized by phase. Load only what the current phase needs.

Core rule files

| File | Purpose | |------|---------| | references/library-index.md | Which files to read at each phase | | references/autonomous-direction.md | Autonomous posture, color direction, surprise + self-critique | | references/premium-calibration.md | Post-brief self-check | | references/anti-garbage.md | Common AI design degradation patterns | | references/anti-convergence.md | Hash-based selection to prevent repeated shells | | references/implementation-guardrails.md | Phase 3–4 build rules | | references/reference-protocol.md | Decompose references without copying | | references/output-templates.md | Standard artifact formats per phase |

Data libraries

| File | Contents | |------|----------| | references/data/directors-200.md | 200+ directors with representative films and visual style | | references/data/hero-archetypes.md | 30 hero skeletons | | references/data/narrative-beats.md | 25 narrative beats + 18 director arc templates | | references/data/section-functions.md | 50 functional section types | | references/data/section-archetypes.md | 91+ section skeletons | | references/data/dna-index.tsv | 1,486-site design DNA index | | references/data/design-dna-db.txt | Site-level DNA data | | references/data/camera-shots-50.md | 55 entrance and reveal motion patterns | | references/data/interaction-effects-50.md | 55+ hover / click / scroll interactions | | references/data/compositions.md | 80 layout compositions | | references/data/visual-elements.md | 40 decorative visual elements | | references/data/background-techniques.md | 50+ hero background techniques | | references/data/typography-cinema.md | 40+ typography treatments | | references/data/color-grades.md | 40+ film color grade → UI token translations | | references/data/font-moods.md | 30+ font pairings by mood | | references/data/textures.md | 30+ surface texture techniques |


Repository layout

cinematic-ui/
├── SKILL.md                        ← main skill logic
├── skill.json                      ← cross-agent skill manifest
├── package.json                    ← npm package metadata
├── CLAUDE.md                       ← Claude Code
├── AGENTS.md                       ← cross-tool shared reference
├── CODEX.md                        ← Codex / ChatGPT
├── GEMINI.md                       ← Gemini / Antigravity
├── .cursor/rules/                  ← Cursor (auto-loaded)
├── .windsurf/rules/                ← Windsurf (auto-loaded)
├── .github/copilot-instructions.md ← GitHub Copilot (auto-loaded)
├── agents/openai.yaml              ← OpenAI skill metadata
└── references/
    ├── library-index.md
    ├── premium-calibration.md
    ├── anti-garbage.md
    ├── anti-convergence.md
    ├── implementation-guardrails.md
    ├── reference-protocol.md
    ├── output-templates.md
    └── data/                       ← 16 design data libraries

Publishing

This skill is published as a scoped npm package under the pythoughts npm org (same maintainer as @pythoughts/react-frontend-skills). The owner publishes with:

npm login
npm publish --access public

--access public is required because @pythoughts/cinematic-ui is a scoped package.


Contributing

See CONTRIBUTING.md.

License

MIT. See LICENSE.