script2animation

Convert local Python, shell, R, or Do-file scripts into offline macOS Terminal-style HTML animations.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/canyangliunian/Agent-skills --skill script2animation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: script2animation
Source: https://github.com/canyangliunian/Agent-skills/tree/main/script2animation
Command: npx skills add https://github.com/canyangliunian/Agent-skills --skill script2animation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts local scripts into an offline macOS Terminal-style HTML animation, enabling reproducible, shareable tutorials without online dependencies.

Core Features & Use Cases

  • Create a self-contained, two-column terminal animation with typing effects, scene transitions, pause/replay controls, and relative-path support.
  • Use for documenting script usage, parameter explanations, and outputs by turning a script into an interactive walkthrough that runs offline.
  • Examples include converting Python, shell, R, or Do-file scripts into an instructional HTML animation.

Quick Start

Run the script2animation workflow to generate an offline macOS Terminal-style HTML animation from a local script file.

Frequently Asked Questions about script2animation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Python or shell script into an offline HTML animation?

You can convert a script into an offline HTML animation by transforming local Python, shell, R, or Do-file scripts into a self-contained macOS Terminal-style HTML file featuring typing effects, scene transitions, and playback controls.

What is the best way to document script usage and parameter explanations for offline viewing?

The best way to document script usage offline is generating an interactive HTML walkthrough that provides accurate parameter demonstrations and outputs within a self-contained file requiring no online dependencies.

Does this terminal animation generator support R and Do-file scripts?

Yes, the terminal animation generator supports R and Do-file scripts, alongside Python and shell scripts, transforming them into multi-scene HTML animations with terminal styling and playback controls.

Can I create a self-contained HTML tutorial without online dependencies?

Yes, you can create a self-contained HTML tutorial without online dependencies, because the generated animation enforces relative paths and a fixed 800x600 terminal window to ensure consistent offline playback.

Are there limitations to the terminal animation playback window size?

Yes, a limitation is the fixed 800x600 terminal window size, which is strictly enforced to ensure consistent playback and terminal styling across the generated offline HTML animation.