Animation
Generate CSS and SVG animation code snippets using bash and Python. Use when building UI animations, keyframes, or transition effects.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/animationWhat This Skill Does
The Animation skill for OpenClaw is a powerful command-line interface utility designed to streamline the creation, management, and export of CSS and SVG animations. It bridges the gap between conceptual design and production-ready code, allowing developers to generate complex @keyframes, custom transition shorthand, and multi-step animation sequences using simple bash commands. By maintaining a local repository in a JSONL format, the skill ensures that all your animation definitions remain accessible, reusable, and chainable across different projects.
Installation
To integrate this tool into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/ckchzh/animation
Ensure that you have Python 3.6+ and Bash 4+ installed on your system, as these are strict prerequisites for the script execution engine.
Use Cases
- Rapid Prototyping: Quickly generate keyframe blocks for UI components like modals, buttons, or loading spinners without manually writing out CSS syntax.
- Animation Libraries: Build and store a personal library of reusable transition effects that can be exported directly into your project's stylesheets.
- Workflow Automation: Chain multiple animation states together to create sophisticated sequences or complex motion paths for SVG elements.
- Previewing: Instantly generate self-contained HTML previews to inspect animations in a browser before committing them to your codebase.
Example Prompts
- "Create a new CSS animation named 'slideInUp' with opacity from 0 to 1 and translateY from 20px to 0 with a duration of 0.4 seconds."
- "Chain the 'fadeIn' and 'bounce' animations together with a 0.5s delay and export the result to a file named 'effects.css'."
- "List all my currently saved animations and then provide a preview for the 'bounce' effect in an HTML file."
Tips & Limitations
- Naming Conventions: Since sequences and chains reference animations by their names, maintain unique and descriptive names to avoid lookup errors.
- Data Integrity: The animations are stored in
~/.animation/data.jsonl. Avoid manual edits to this file unless necessary, as the command-line interface handles all state management and UUID generation. - SVG Complexity: While the tool is excellent for CSS, SVG animations involving highly complex paths may require manual tuning of the generated XML code after export.
- Portability: Use the
exportcommand to move your animation definitions from the local data store to your actual project files to ensure they are version-controlled alongside your source code.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-animation": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
header
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
docker-helper
Dockerfile生成、docker-compose编排、命令速查、调试排错、镜像优化、仓库配置. Use when you need docker helper capabilities. Triggers on: docker helper.
rsyslog
RSyslog advanced system logging reference. RainerScript configuration, input/output modules (imtcp/imfile/omfwd/omelasticsearch), templates with property replacer, content-based filtering, TLS-encrypted remote logging, queue performance tuning, and debug troubleshooting.
Fitness Plan — Science-Based Training & Workout Auditor
Track workouts, calculate BMI/1RM, and access exercise science guides. 支持科学健身计划制定、BMI/最大力量计算及运动解剖学参考。Use when planning gym sessions, calculating macro needs, or auditing training splits.
pesticide
Pesticide management reference — chemical classes, application methods, IPM strategies, residue limits, safety protocols. Use when selecting pest control products, calculating spray rates, or managing pesticide compliance.