mira-squared

Converts 16:9 HTML slide decks into square 1:1 versions for social media video.

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/mayconspirlandelli/slides-podcast-ia-home-office --skill mira-squared-mayconspirlandelli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mira-squared
Source: https://github.com/mayconspirlandelli/slides-podcast-ia-home-office/tree/main/.agents/skills/mira-squared
Command: npx skills add https://github.com/mayconspirlandelli/slides-podcast-ia-home-office --skill mira-squared-mayconspirlandelli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating square (1:1) versions of presentation decks for Instagram or LinkedIn video normally means rebuilding every slide by hand. This Skill transforms an existing 16:9 Mira HTML deck into a square format automatically, or creates new slides natively in square geometry, without touching the original file. ## Core Features & Use Cases - Deck conversion: Copies the original index.html to a new index-1x1.html, injects a canonical CSS block, and reflows each slide's animation to fill a square canvas (side = 100vh). - Native square creation: Builds brand-new slides directly in 1:1 geometry when no source deck exists, choosing radial or centered metaphors suited to the square. - Composition rules: Each content slide shows only the title (max 2 lines, auto-shrunk via injected script) plus the animation filling the safe area, with subtitle, card header, and pill footer hidden via scoped CSS. - Use Case: You have a finished 16:9 deck and need a 1080x1080 video for the Instagram feed. Run the skill to produce index-1x1.html, open it fullscreen in a modern Chromium browser, and record the centered square column. ## Quick Start Ask the AI to generate a square 1:1 version of your current Mira deck for an Instagram feed video.

Frequently Asked Questions about mira-squared

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

FAQPage Schema
How do I convert a 16:9 HTML slide deck to square 1:1 format?▼

Copy the deck's index.html to index-1x1.html, inject the canonical mira-formato-1x1 style block before the closing head tag, add the title auto-fit script, and reflow each animation's geometry so it fills the square canvas. The original file stays untouched.

How do I create a square slide for Instagram video from scratch?▼

Create the slide directly in square geometry as index-1x1.html with a 960x960 initial viewBox matched to the stage at runtime. Prefer radial or centered metaphors like orbital or hub-and-spoke layouts, which fill a square better than wide rows.

Does the square conversion modify my original presentation deck?▼

No, the original index.html remains byte-for-byte intact. All layout changes, CSS injection, and animation reflow happen only in the new index-1x1.html copy placed in the same folder.

What browser do I need to record the square deck?▼

You need a modern Chromium browser such as current Chrome or Edge, because the composition CSS relies on the :has() selector. Open the file fullscreen and crop the centered square column for recording.

Why does my square slide have empty space around the animation?▼

Empty space means the animation was not reflowed to fill the square. Wrap the drawing in a group and scale it each frame so its bounding box fills the safe area, and increase radii or node spacing per the metaphor playbook.