Code Animation Prompts
XiaoyeCodes / code-animation-prompts
Basic information
About Code Animation Prompts
A local Claude Code and Codex skill for choosing visual styles and producing editable code animations with an offline reference library.
Install Code Animation Prompts
git clone https://github.com/XiaoyeCodes/code-animation-prompts.git
cd code-animation-prompts
python scripts/install_skill.py --target codexHow to use Code Animation Prompts
- 1
Download the complete repository with Git. The installer requires Python 3.10 or newer; choose one assistant target. For Claude Code use this command from the repository root.
python scripts/install_skill.py --target claude - 2
Check that the installed skill can find a style. For a user-level Codex install, run the following. Claude Code users should replace .agents with .claude.
python "$HOME/.agents/skills/code-animation-prompts/scripts/styles.py" search 水墨 python "$HOME/.agents/skills/code-animation-prompts/scripts/styles.py" show B3 - 3
Start a new assistant session and invoke $code-animation-prompts in Codex or /code-animation-prompts in Claude Code. Give it your topic, duration, aspect ratio and sound requirements; select a style before asking it to produce the animation.
- 4
Save the generated animation in your project and inspect its beginning, midpoint, ending and transitions. If you need MP4, follow the repository rendering guide to install the additional browser/FFmpeg dependencies; verify the exported file rather than treating HTML as a finished video.
What it does
Search animation styles by code, keyword or series
Choose references in an offline HTML picker
Build editable HTML animations and optionally export deterministic video frames
Requirements and notes
- Overview: code-animation-prompts is a local skill and reference library for building editable code animations. It suits people using terminal-capable Claude Code or Codex who want a concrete visual direction before generating HTML, Canvas, SVG or CSS motion.
- How it differs: it organizes reusable visual prompts and reference assets rather than hosting a video-generation API. The agent can use an existing animation stack; installing this library alone does not render, voice or publish a video.
- Capability — find a style by keyword, series or exact code through scripts/styles.py, then read only the selected references.
- Capability — browse the offline HTML picker and use its exported selection to retain the chosen style identifiers.
- Capability — combine a primary visual style with motion and layout choices, keeping the resulting source editable; optional deterministic frame rendering supports repeatable video export.
- Do all styles have previews? No. The verified catalog has 341 prompts and 196 reference stills; 145 entries are text-only. B6 is an original example outside the 341-entry index.
- Can I copy only SKILL.md? No. Copy or install the entire skill directory, preserving the relative paths of assets, scripts and catalog files. The installer does not automatically install video-rendering dependencies.
- How do I update safely? The installer refuses to overwrite an existing directory. Back up local modifications outside the assistant’s skill-scanning directory, pull the repository, and reinstall; avoid duplicate user- and project-level copies.
- What does the license allow? The main material has a free-use/share attribution arrangement that prohibits repackaging it for sale as a paid skill or course. Some included third-party collections retain separate MIT terms. Read LICENSE.md and the referenced attribution before redistributing; the repository as a whole is not simply MIT.
- Cost and verification: the library is not a paid hosted API. Your assistant account and any optional external assets or services have their own requirements. These steps were checked against official documentation on 2026-11-18; this page does not claim a local animation render was tested.
Sources
Checked against the source repository on 2026-11-18.
More skills in Design & UI
frontend-design
anthropics / skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
grill-me
mattpocock / skills
A relentless interview to sharpen a plan or design.
web-design-guidelines
vercel-labs / agent-skills
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
grill-with-docs
mattpocock / skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-event
larksuite / cli
Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM messages/reactions/chat changes, Task updates, VC meeting started/joined/ended, Minutes generated, Whiteboard updated, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.
prototype
mattpocock / skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Comments