Free

Genjutsu: design buttons, menus and transitions

Try Genjutsu on one interface element. Agree on styling and motion, apply the changes and check the button, menu or transition.

Tools

Installation instructions · Download source code (ZIP)

Genjutsu helps an AI assistant plan interface styling and animation, then make changes in your project. Use it for responsive buttons, menus and transitions, or a consistent visual direction across a product.

Tool features

This is a set of skills, not a library your website loads on every visit. The assistant reads its guidance, examines your project and writes ordinary code using the project’s existing tools.

Genjutsu has three workflows. cast handles motion for one component, such as a button response or an opening menu. paint helps define a product's visual direction and records the decisions in MASTER.md. bunshin builds a site with several agents; the host must support spawning those agents.

Start with cast and one component. For example, improve a dropdown while preserving keyboard access. Motion should clarify an action rather than delay it. In a work-focused interface, a gentle state transition is often more useful than constant movement.

How to connect it to Codex

The official installation guide includes Codex and Cursor installation through the skills CLI. The maintainer tests and supports Claude Code. Codex has an installation route, but the maintainer does not test or support it. Begin with a small component in your own project.

To install only in your selected project, run this from its root:

npx skills add https://genjutsu.athevon.dev

Select Codex when the installer asks which clients to use. Do not automatically install for every detected application. The documentation also provides a user-wide command with -g; choose that scope only if you want the skill across projects.

Use the website address, not npx skills add AThevon/genjutsu: the repository route omits the seventeen required modules. The source archive linked at the top is not the complete installation bundle either. The documented /plugin commands are for Claude Code, not Codex.

After installation, the assistant checks that genjutsu and its modules are available in the current project. If the client does not discover the skill, it checks that client’s refresh instructions. Then try a small cast request. It should identify the project’s existing tools before proposing changes. If modules are missing, fix the installation before editing the project.

How to try it on one component

  1. Choose a working button, tabs or dropdown. Show the assistant the page and explain which action should feel clearer. Agree on the behaviour before changing code.
  2. Ask it to use cast while preserving your colours, typography and components. Check the local result with a mouse, a keyboard and a phone. The interface must remain usable with reduced motion enabled.
  3. Compare it with the previous version: the action is not slower, text does not jump, menus stay open while moving the pointer, and focus remains visible. Simplify or remove effects that get in the way.

For example, a submenu can have a short opacity transition. Hidden links must not remain accidentally clickable, and motion must not obscure surrounding text.

Where to use it and what to pair it with

Genjutsu fits the motion and helper selection stage of How to design an interface. Agree on the design and purpose of the component before choosing an effect.

For work with the GSAP library, see GSAP Skills. For a narrower interface-transition workflow, see Motion Design Skill. Do not install every set at once: choose the approach needed for the specific change.

paint is useful when colours, spacing and component states have drifted across pages. Choose bunshin only for a separate site-building task with an agreed plan and an available agent-spawning capability. A button update does not require it.

How to update it and undo changes

Update through the route and scope you originally used. Check your local customisations and the available release first; do not blindly replace a customised skill. Avoid conflicting copies in the same client.

Removing the skill does not revert its code changes. paint leaves MASTER.md; bunshin may leave a site and working notes. Revert unwanted project changes through the project's normal version history, preserving other people's work.

The bunshin documentation separately describes agent-spawning requirements, Node.js 22 or newer and a browser for visual checks. Do not install extra skills or packages alongside it without agreement. Genjutsu uses the MIT licence; review dependency licences separately.

Prompt for your first improvement

Paste this into Codex or Work with access to the project files. The assistant finds the component and existing connections; you agree on missing decisions. The result is one working, checked change, not a rebuild of the entire site.

Find the current project and read its design rules. I want to make one component's interaction clearer and more pleasant. Find the available Genjutsu skill and check its modules. If it is not installed, show the official installation route for my client and project only, then wait for approval before installing.
Suggest a component to start with and agree on its behaviour with me. Use cast, do not launch bunshin or redesign other pages. Preserve the existing colours, typography, components and working features. After approval, make a small change using the current stack.
Open the local page and check mouse input, keyboard access, a phone viewport, both themes if present, and reduced motion. Show the result and compare it with the previous behaviour. Fix overlaps, jumping text and lost focus. Do not publish without my request.
In This Article
Saved