Creator · hassancs91
Last updated · Sep 3, 2026
Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when t
Creator · hassancs91
Last updated · Sep 3, 2026
Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when t
Creator · hassancs91
Last updated · Sep 3, 2026
Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when t
Creator · hassancs91
Last updated · Sep 3, 2026
Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when t
Sandbox only
Install targets
Codex install prompt
Install the "vidtsx-2d-generator" agent skill from https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/vidtsx-2d-generator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"hassancs91-vidtsx-2d-generator","task":"Install vidtsx-2d-generator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Design and creative
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Maintenance
fresh
18d since push
Risk
Risky
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required
GitHub quality
290
71/100 Quality · 79/100 Trust
Coverage tags
Review notes
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required · This skill may touch real-money trading, broker, wallet, or exchange operations; use only in a sandbox with explicit approval.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
290 GitHub stars
Repo activity
290 stars, 110 forks
Maintenance
18d since push
License
MIT
Install
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
Agent should check
Copy prompt
Task: Use vidtsx-2d-generator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install
Install command: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
LLM text format
/api/skills/hassancs91-vidtsx-2d-generator/install?format=text
Find alternatives
/api/skills/search?q=vidtsx-2d-generator&limit=3
Agent prompt
Use vidtsx-2d-generator for this task. Review https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install, then install with: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/hassancs91-vidtsx-2d-generator
LLM text
/api/registry/manifest/hassancs91-vidtsx-2d-generator?format=text
Install alias
/api/registry/install/hassancs91-vidtsx-2d-generator
Recommend
/api/registry/recommend?task=Use%20vidtsx-2d-generator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO290 GitHub stars
Stars/forks activity
INFO290 stars, 110 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Publish consistently
I need my agent to turn research and product updates into useful content drafts.
Create assets
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Brief to publish-ready creative
A practical workflow for agents that shape a video brief, create strong multimodal prompts, generate supporting B-roll, and prepare a reviewable short-form or explainer video.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: vidtsx-2d-generator description: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. ---
# VidTSX 2D Video Generator
Generate production-ready 2D TSX video files for VidTSX from a description of a shot or video. The files are Remotion compositions that VidTSX renders frame-by-frame, so correctness matters more than cleverness: a single non-monotonic `interpolate` range or a stray `useState` will crash the render.
This skill covers **2D motion graphics**. 3D work (`@remotion/three` / React Three Fiber) is out of scope.
## How to use this skill
1. **Clear single shot** → generate the `.tsx` file directly. 2. **Complex, multi-shot, or visually ambiguous request** → confirm the shot breakdown or visual direction in one short message first, then generate. Don't over-ask; a one-line confirmation is enough. 3. **Deliver as an actual `.tsx` file**, not inline code. These TSX components always exceed 20 lines, and the user edits these files directly. Default to **one shot per file** (atomic, easy to edit) unless the user asks for a single combined deliverable. 4. The file contains **only the component code** — the structural section comments below are welcome, but no markdown fences, no prose explanations inside the file. 5. **Render it and look before calling it done** — see [Verify the render](#verify-the-render-do-not-skip). A shot you have only reasoned about is not finished; a still (and, for reveals/scrolls, frames at each cue) is the bar.
---
## Output spec
### Dimension presets
| Format | Width | Height | Use case | |------------|-------|--------|----------------------------| | horizontal | 1920 | 1080 | YouTube, presentations | | vertical | 1080 | 1920 | TikTok, Reels, Shorts | | square | 1080 | 1080 | Instagram feed |
### Defaults
- **Format:** horizontal (1920×1080) - **Duration:** 5 seconds - **FPS:** 30 - **Style:** minimalist (see `references/style-presets.md`)
---
## Mandatory file structure
Every generated file follows this skeleton. The labeled section comments are intentional — they keep large files navigable.
```tsx import React from 'react'; import { useCurrentFrame, useVideoConfig, interpolate, Easing, AbsoluteFill, Sequence, } from 'remotion';
// ============================================================================= // COMPOSITION CONFIG // ============================================================================= export const compositionConfig = { id: 'ComponentName', // PascalCase only — NO hyphens or underscores durationInSeconds: 5, fps: 30, width: 1920, height: 1080, };
// ============================================================================= // STYLE CONSTANTS // ============================================================================= const COLORS = { primary: '#6366f1', secondary: '#8b5cf6', accent: '#06b6d4', background: '#0f0f23', text: '#ffffff', } as const;
const TYPOGRAPHY = { fontFamily: 'Inter, system-ui, sans-serif', } as const;
const EASINGS = { easeOut: Easing.bezier(0.33, 1, 0.68, 1), easeIn: Easing.bezier(0.32, 0, 0.67, 0), easeInOut: Easing.bezier(0.37, 0, 0.63, 1), overshoot: Easing.bezier(0.34, 1.56, 0.64, 1), } as const;
// ============================================================================= // PRE-GENERATED DATA (computed once at module level, NOT during render) // ============================================================================= const seededRandom = (seed: number): number => { const x = Math.sin(seed * 9999) * 10000; return x - Math.floor(x); };
// ============================================================================= // MAIN COMPONENT // ============================================================================= const ComponentName: React.FC = () => { const frame = useCurrentFrame(); const { fps, durationInFrames, width, height } = useVideoConfig();
return ( <AbsoluteFill style={{ backgroundColor: COLORS.background }}> {/* Content */} </AbsoluteFill> ); };
export default ComponentName; ```
Swap `ComponentName` for a PascalCase name describing the shot, set the `COLORS` block from the chosen style preset, and set `width`/`height`/`durationInSeconds`/`fps` from the request.
---
## Correctness rules
These are not stylistic preferences — they are what makes a render succeed. VidTSX (via Remotion) renders each frame by calling the component at a fixed frame number. There is no event loop, no persistence between frames, and no wall-clock time. Anything that assumes those things will break.
### Animation is frame-based, always
- Drive **all** motion from `useCurrentFrame()` + `interpolate()`. - **Never** use `useState`, `useEffect`, `setTimeout`, `setInterval`, or CSS animations/transitions. They don't fit the frame-by-frame model and produce broken or non-deterministic output. - For anything random or procedural, use `seededRandom` (or an equivalent seeded function) so every render of a given frame is identical. Pre-generate particle/random arrays **at module level**, never inside the render function — recomputing per frame causes flicker. - Stagger animations so elements enter in sequence rather than all at once. It reads better and is the expected look.
### interpolate — input ranges must be strictly increasing
`interpolate`'s input range has to be strictly monotonically increasing. Duplicate or descending values throw at runtime.
```tsx // ✅ Correct interpolate(frame, [0, 30, 60], [0, 1, 0]);
// ❌ Throws — input range descends interpolate(frame, [60, 30, 0], [0, 1, 0]); ```
To **reverse** a mapping, flip the *output* range, never the input range:
```tsx // ✅ Correct — maps 0→100, 1→0 interpolate(value, [0, 1], [100, 0]);
// ❌ Wrong interpolate(value, [1, 0], [100, 0]); ```
For index-based timing, make sure `startFrame < endFrame` and always clamp:
```tsx const startFrame = index * 30; const endFrame = startFrame + 30; interpolate(frame, [startFrame, endFrame], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp', }); ```
**Always** pass `extrapolateLeft: 'clamp'` and `extrapolateRight: 'clamp'` unless an unbounded value is genuinely wanted — without them, values shoot past their range before/after the keyframes.
### Easing — use Easing.bezier(), never wrapper syntax
Wrapper forms like `Easing.out(Easing.cubic)` crash. Define named beziers once (see the `EASINGS` block in the skeleton) and reference them:
```tsx // ❌ Crashes Easing.out(Easing.cubic); Easing.in(Easing.quad);
// ✅ Correct interpolate(frame, [0, 30], [0, 1], { easing: EASINGS.easeOut, extrapolateRight: 'clamp', }); ```
### chroma-js — namespace import only
```tsx // ✅ Correct import * as chroma from 'chroma-js'; const color = chroma('#00bfff').brighten(0.5).hex();
// ❌ Wrong — "chroma is not a function" import chroma from 'chroma-js'; ```
### @remotion/paths — only the real functions exist
These helpers **do not exist** and must never be used: `makeCircle()`, `makeRect()`, `makeTriangle()`, `makeLine()`, `makePie()`, `makePolygon()`, `makeEllipse()`, `makeStar()`.
Only these imports are valid:
```tsx import { evolvePath, getLength, getPointAtLength, getTangentAtLength } from '@remotion/paths'; ```
Write SVG path strings by hand and animate them with `evolvePath`:
```tsx const circlePath = 'M 50 10 A 40 40 0 1 1 49.99 10 Z'; const rectPath = 'M 0 0 L 100 0 L 100 50 L 0 50 Z'; const linePath = 'M 0 0 L 100 100';
const { strokeDasharray, strokeDashoffset } = evolvePath(progress, rectPath); ```
### Composition ID
`compositionConfig.id` is **PascalCase only** — no hyphens, no underscores (e.g. `ProductReveal`, not `product-reveal` or `product_reveal`).
---
## Layout
### Safe zones
- **Top 10%:** reserve for platform UI. - **Bottom 15%:** reserve for captions/buttons. - Keep primary content between **25%–75%** vertically.
### Centering helper
```tsx const centered: React.CSSProperties = { position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', }; ```
---
## Typography
| Element | Size | Weight | |---------------|------------|---------| | Headlines | 72–120px | 700–900 | | Subheadlines | 36–48px | 500–700 | | Body | 28–36px | 400–500 |
Always set `margin: 0` on text elements — browser defaults push layouts off-center.
---
## Style presets
When the user names a style, load its palette and characteristics from **`references/style-presets.md`** and drop the `COLORS` object into the skeleton. The six presets are: **minimalist** (default), **memphis**, **neo-brutalism**, **glassmorphism**, **neon/cyberpunk**, and **corporate**. If no style is named, use minimalist.
---
## Verify the render (do not skip)
A shot is not done until you have **looked at it**. After writing the `.tsx`, render at least one still and open it — never hand over a shot you have only reasoned about. Rendering succeeds and the numbers look right, yet text overflows its card, an image is cropped at the wrong crop, an element is off-screen, or two things overlap. Only a screenshot catches these.
- Render a still (e.g. `node scripts/render-all.mjs --still --scale=1 <ShotId>`) and Read the PNG. - For time-based reveals (elements entering on a cue, scrolls, staged phases), a single 60%-of-duration still is not enough — render the full clip and pull frames at each key moment (`ffmpeg -ss <t> -i out/<id>.mp4 -frames:v 1 f.jpg`), or render stills at several offsets. Verify the state at each cue, not just one frame. - Check specifically: images fit their slot (no important content cropped; prefer `objectFit: contain` on a matching background for heterogeneous real images), text is not clipped or overflowing, nothing is off the safe area, and each animated element is actually visible when it should be. - If it is composited over other footage, also spot-check a frame from the final baked output, not just the isolated shot.
Fix what the screenshot reveals, then re-render and look again. Treat "I rendered it and it looks correct" — with the frame shown — as the bar for done.
---
## Final output
Generate the complete `.tsx` file and nothing else inside it — no surrounding markdown, no commentary before or after the code in the file itself. A short one-line note in chat when handing over the file is fine.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for vidtsx-2d-generator, ready for a manual X post.
vidtsx-2d-generator: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene,... 290 stars https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x
Listing + install path for vidtsx-2d-generator: https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x Install: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to hassancs91 but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator/audit)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)hassancs91
@hassancs91
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "vidtsx-2d-generator" agent skill from https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/vidtsx-2d-generator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"hassancs91-vidtsx-2d-generator","task":"Install vidtsx-2d-generator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Design and creative
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Maintenance
fresh
18d since push
Risk
Risky
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required
GitHub quality
290
71/100 Quality · 79/100 Trust
Coverage tags
Review notes
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required · This skill may touch real-money trading, broker, wallet, or exchange operations; use only in a sandbox with explicit approval.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
290 GitHub stars
Repo activity
290 stars, 110 forks
Maintenance
18d since push
License
MIT
Install
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
Agent should check
Copy prompt
Task: Use vidtsx-2d-generator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install
Install command: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
LLM text format
/api/skills/hassancs91-vidtsx-2d-generator/install?format=text
Find alternatives
/api/skills/search?q=vidtsx-2d-generator&limit=3
Agent prompt
Use vidtsx-2d-generator for this task. Review https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install, then install with: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/hassancs91-vidtsx-2d-generator
LLM text
/api/registry/manifest/hassancs91-vidtsx-2d-generator?format=text
Install alias
/api/registry/install/hassancs91-vidtsx-2d-generator
Recommend
/api/registry/recommend?task=Use%20vidtsx-2d-generator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO290 GitHub stars
Stars/forks activity
INFO290 stars, 110 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Publish consistently
I need my agent to turn research and product updates into useful content drafts.
Create assets
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Brief to publish-ready creative
A practical workflow for agents that shape a video brief, create strong multimodal prompts, generate supporting B-roll, and prepare a reviewable short-form or explainer video.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: vidtsx-2d-generator description: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. ---
# VidTSX 2D Video Generator
Generate production-ready 2D TSX video files for VidTSX from a description of a shot or video. The files are Remotion compositions that VidTSX renders frame-by-frame, so correctness matters more than cleverness: a single non-monotonic `interpolate` range or a stray `useState` will crash the render.
This skill covers **2D motion graphics**. 3D work (`@remotion/three` / React Three Fiber) is out of scope.
## How to use this skill
1. **Clear single shot** → generate the `.tsx` file directly. 2. **Complex, multi-shot, or visually ambiguous request** → confirm the shot breakdown or visual direction in one short message first, then generate. Don't over-ask; a one-line confirmation is enough. 3. **Deliver as an actual `.tsx` file**, not inline code. These TSX components always exceed 20 lines, and the user edits these files directly. Default to **one shot per file** (atomic, easy to edit) unless the user asks for a single combined deliverable. 4. The file contains **only the component code** — the structural section comments below are welcome, but no markdown fences, no prose explanations inside the file. 5. **Render it and look before calling it done** — see [Verify the render](#verify-the-render-do-not-skip). A shot you have only reasoned about is not finished; a still (and, for reveals/scrolls, frames at each cue) is the bar.
---
## Output spec
### Dimension presets
| Format | Width | Height | Use case | |------------|-------|--------|----------------------------| | horizontal | 1920 | 1080 | YouTube, presentations | | vertical | 1080 | 1920 | TikTok, Reels, Shorts | | square | 1080 | 1080 | Instagram feed |
### Defaults
- **Format:** horizontal (1920×1080) - **Duration:** 5 seconds - **FPS:** 30 - **Style:** minimalist (see `references/style-presets.md`)
---
## Mandatory file structure
Every generated file follows this skeleton. The labeled section comments are intentional — they keep large files navigable.
```tsx import React from 'react'; import { useCurrentFrame, useVideoConfig, interpolate, Easing, AbsoluteFill, Sequence, } from 'remotion';
// ============================================================================= // COMPOSITION CONFIG // ============================================================================= export const compositionConfig = { id: 'ComponentName', // PascalCase only — NO hyphens or underscores durationInSeconds: 5, fps: 30, width: 1920, height: 1080, };
// ============================================================================= // STYLE CONSTANTS // ============================================================================= const COLORS = { primary: '#6366f1', secondary: '#8b5cf6', accent: '#06b6d4', background: '#0f0f23', text: '#ffffff', } as const;
const TYPOGRAPHY = { fontFamily: 'Inter, system-ui, sans-serif', } as const;
const EASINGS = { easeOut: Easing.bezier(0.33, 1, 0.68, 1), easeIn: Easing.bezier(0.32, 0, 0.67, 0), easeInOut: Easing.bezier(0.37, 0, 0.63, 1), overshoot: Easing.bezier(0.34, 1.56, 0.64, 1), } as const;
// ============================================================================= // PRE-GENERATED DATA (computed once at module level, NOT during render) // ============================================================================= const seededRandom = (seed: number): number => { const x = Math.sin(seed * 9999) * 10000; return x - Math.floor(x); };
// ============================================================================= // MAIN COMPONENT // ============================================================================= const ComponentName: React.FC = () => { const frame = useCurrentFrame(); const { fps, durationInFrames, width, height } = useVideoConfig();
return ( <AbsoluteFill style={{ backgroundColor: COLORS.background }}> {/* Content */} </AbsoluteFill> ); };
export default ComponentName; ```
Swap `ComponentName` for a PascalCase name describing the shot, set the `COLORS` block from the chosen style preset, and set `width`/`height`/`durationInSeconds`/`fps` from the request.
---
## Correctness rules
These are not stylistic preferences — they are what makes a render succeed. VidTSX (via Remotion) renders each frame by calling the component at a fixed frame number. There is no event loop, no persistence between frames, and no wall-clock time. Anything that assumes those things will break.
### Animation is frame-based, always
- Drive **all** motion from `useCurrentFrame()` + `interpolate()`. - **Never** use `useState`, `useEffect`, `setTimeout`, `setInterval`, or CSS animations/transitions. They don't fit the frame-by-frame model and produce broken or non-deterministic output. - For anything random or procedural, use `seededRandom` (or an equivalent seeded function) so every render of a given frame is identical. Pre-generate particle/random arrays **at module level**, never inside the render function — recomputing per frame causes flicker. - Stagger animations so elements enter in sequence rather than all at once. It reads better and is the expected look.
### interpolate — input ranges must be strictly increasing
`interpolate`'s input range has to be strictly monotonically increasing. Duplicate or descending values throw at runtime.
```tsx // ✅ Correct interpolate(frame, [0, 30, 60], [0, 1, 0]);
// ❌ Throws — input range descends interpolate(frame, [60, 30, 0], [0, 1, 0]); ```
To **reverse** a mapping, flip the *output* range, never the input range:
```tsx // ✅ Correct — maps 0→100, 1→0 interpolate(value, [0, 1], [100, 0]);
// ❌ Wrong interpolate(value, [1, 0], [100, 0]); ```
For index-based timing, make sure `startFrame < endFrame` and always clamp:
```tsx const startFrame = index * 30; const endFrame = startFrame + 30; interpolate(frame, [startFrame, endFrame], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp', }); ```
**Always** pass `extrapolateLeft: 'clamp'` and `extrapolateRight: 'clamp'` unless an unbounded value is genuinely wanted — without them, values shoot past their range before/after the keyframes.
### Easing — use Easing.bezier(), never wrapper syntax
Wrapper forms like `Easing.out(Easing.cubic)` crash. Define named beziers once (see the `EASINGS` block in the skeleton) and reference them:
```tsx // ❌ Crashes Easing.out(Easing.cubic); Easing.in(Easing.quad);
// ✅ Correct interpolate(frame, [0, 30], [0, 1], { easing: EASINGS.easeOut, extrapolateRight: 'clamp', }); ```
### chroma-js — namespace import only
```tsx // ✅ Correct import * as chroma from 'chroma-js'; const color = chroma('#00bfff').brighten(0.5).hex();
// ❌ Wrong — "chroma is not a function" import chroma from 'chroma-js'; ```
### @remotion/paths — only the real functions exist
These helpers **do not exist** and must never be used: `makeCircle()`, `makeRect()`, `makeTriangle()`, `makeLine()`, `makePie()`, `makePolygon()`, `makeEllipse()`, `makeStar()`.
Only these imports are valid:
```tsx import { evolvePath, getLength, getPointAtLength, getTangentAtLength } from '@remotion/paths'; ```
Write SVG path strings by hand and animate them with `evolvePath`:
```tsx const circlePath = 'M 50 10 A 40 40 0 1 1 49.99 10 Z'; const rectPath = 'M 0 0 L 100 0 L 100 50 L 0 50 Z'; const linePath = 'M 0 0 L 100 100';
const { strokeDasharray, strokeDashoffset } = evolvePath(progress, rectPath); ```
### Composition ID
`compositionConfig.id` is **PascalCase only** — no hyphens, no underscores (e.g. `ProductReveal`, not `product-reveal` or `product_reveal`).
---
## Layout
### Safe zones
- **Top 10%:** reserve for platform UI. - **Bottom 15%:** reserve for captions/buttons. - Keep primary content between **25%–75%** vertically.
### Centering helper
```tsx const centered: React.CSSProperties = { position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', }; ```
---
## Typography
| Element | Size | Weight | |---------------|------------|---------| | Headlines | 72–120px | 700–900 | | Subheadlines | 36–48px | 500–700 | | Body | 28–36px | 400–500 |
Always set `margin: 0` on text elements — browser defaults push layouts off-center.
---
## Style presets
When the user names a style, load its palette and characteristics from **`references/style-presets.md`** and drop the `COLORS` object into the skeleton. The six presets are: **minimalist** (default), **memphis**, **neo-brutalism**, **glassmorphism**, **neon/cyberpunk**, and **corporate**. If no style is named, use minimalist.
---
## Verify the render (do not skip)
A shot is not done until you have **looked at it**. After writing the `.tsx`, render at least one still and open it — never hand over a shot you have only reasoned about. Rendering succeeds and the numbers look right, yet text overflows its card, an image is cropped at the wrong crop, an element is off-screen, or two things overlap. Only a screenshot catches these.
- Render a still (e.g. `node scripts/render-all.mjs --still --scale=1 <ShotId>`) and Read the PNG. - For time-based reveals (elements entering on a cue, scrolls, staged phases), a single 60%-of-duration still is not enough — render the full clip and pull frames at each key moment (`ffmpeg -ss <t> -i out/<id>.mp4 -frames:v 1 f.jpg`), or render stills at several offsets. Verify the state at each cue, not just one frame. - Check specifically: images fit their slot (no important content cropped; prefer `objectFit: contain` on a matching background for heterogeneous real images), text is not clipped or overflowing, nothing is off the safe area, and each animated element is actually visible when it should be. - If it is composited over other footage, also spot-check a frame from the final baked output, not just the isolated shot.
Fix what the screenshot reveals, then re-render and look again. Treat "I rendered it and it looks correct" — with the frame shown — as the bar for done.
---
## Final output
Generate the complete `.tsx` file and nothing else inside it — no surrounding markdown, no commentary before or after the code in the file itself. A short one-line note in chat when handing over the file is fine.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for vidtsx-2d-generator, ready for a manual X post.
vidtsx-2d-generator: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene,... 290 stars https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x
Listing + install path for vidtsx-2d-generator: https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x Install: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to hassancs91 but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator/audit)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)hassancs91
@hassancs91
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "vidtsx-2d-generator" agent skill from https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/vidtsx-2d-generator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"hassancs91-vidtsx-2d-generator","task":"Install vidtsx-2d-generator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Design and creative
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Maintenance
fresh
18d since push
Risk
Risky
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required
GitHub quality
290
71/100 Quality · 79/100 Trust
Coverage tags
Review notes
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required · This skill may touch real-money trading, broker, wallet, or exchange operations; use only in a sandbox with explicit approval.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
290 GitHub stars
Repo activity
290 stars, 110 forks
Maintenance
18d since push
License
MIT
Install
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
Agent should check
Copy prompt
Task: Use vidtsx-2d-generator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install
Install command: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
LLM text format
/api/skills/hassancs91-vidtsx-2d-generator/install?format=text
Find alternatives
/api/skills/search?q=vidtsx-2d-generator&limit=3
Agent prompt
Use vidtsx-2d-generator for this task. Review https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install, then install with: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/hassancs91-vidtsx-2d-generator
LLM text
/api/registry/manifest/hassancs91-vidtsx-2d-generator?format=text
Install alias
/api/registry/install/hassancs91-vidtsx-2d-generator
Recommend
/api/registry/recommend?task=Use%20vidtsx-2d-generator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO290 GitHub stars
Stars/forks activity
INFO290 stars, 110 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Publish consistently
I need my agent to turn research and product updates into useful content drafts.
Create assets
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Brief to publish-ready creative
A practical workflow for agents that shape a video brief, create strong multimodal prompts, generate supporting B-roll, and prepare a reviewable short-form or explainer video.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: vidtsx-2d-generator description: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. ---
# VidTSX 2D Video Generator
Generate production-ready 2D TSX video files for VidTSX from a description of a shot or video. The files are Remotion compositions that VidTSX renders frame-by-frame, so correctness matters more than cleverness: a single non-monotonic `interpolate` range or a stray `useState` will crash the render.
This skill covers **2D motion graphics**. 3D work (`@remotion/three` / React Three Fiber) is out of scope.
## How to use this skill
1. **Clear single shot** → generate the `.tsx` file directly. 2. **Complex, multi-shot, or visually ambiguous request** → confirm the shot breakdown or visual direction in one short message first, then generate. Don't over-ask; a one-line confirmation is enough. 3. **Deliver as an actual `.tsx` file**, not inline code. These TSX components always exceed 20 lines, and the user edits these files directly. Default to **one shot per file** (atomic, easy to edit) unless the user asks for a single combined deliverable. 4. The file contains **only the component code** — the structural section comments below are welcome, but no markdown fences, no prose explanations inside the file. 5. **Render it and look before calling it done** — see [Verify the render](#verify-the-render-do-not-skip). A shot you have only reasoned about is not finished; a still (and, for reveals/scrolls, frames at each cue) is the bar.
---
## Output spec
### Dimension presets
| Format | Width | Height | Use case | |------------|-------|--------|----------------------------| | horizontal | 1920 | 1080 | YouTube, presentations | | vertical | 1080 | 1920 | TikTok, Reels, Shorts | | square | 1080 | 1080 | Instagram feed |
### Defaults
- **Format:** horizontal (1920×1080) - **Duration:** 5 seconds - **FPS:** 30 - **Style:** minimalist (see `references/style-presets.md`)
---
## Mandatory file structure
Every generated file follows this skeleton. The labeled section comments are intentional — they keep large files navigable.
```tsx import React from 'react'; import { useCurrentFrame, useVideoConfig, interpolate, Easing, AbsoluteFill, Sequence, } from 'remotion';
// ============================================================================= // COMPOSITION CONFIG // ============================================================================= export const compositionConfig = { id: 'ComponentName', // PascalCase only — NO hyphens or underscores durationInSeconds: 5, fps: 30, width: 1920, height: 1080, };
// ============================================================================= // STYLE CONSTANTS // ============================================================================= const COLORS = { primary: '#6366f1', secondary: '#8b5cf6', accent: '#06b6d4', background: '#0f0f23', text: '#ffffff', } as const;
const TYPOGRAPHY = { fontFamily: 'Inter, system-ui, sans-serif', } as const;
const EASINGS = { easeOut: Easing.bezier(0.33, 1, 0.68, 1), easeIn: Easing.bezier(0.32, 0, 0.67, 0), easeInOut: Easing.bezier(0.37, 0, 0.63, 1), overshoot: Easing.bezier(0.34, 1.56, 0.64, 1), } as const;
// ============================================================================= // PRE-GENERATED DATA (computed once at module level, NOT during render) // ============================================================================= const seededRandom = (seed: number): number => { const x = Math.sin(seed * 9999) * 10000; return x - Math.floor(x); };
// ============================================================================= // MAIN COMPONENT // ============================================================================= const ComponentName: React.FC = () => { const frame = useCurrentFrame(); const { fps, durationInFrames, width, height } = useVideoConfig();
return ( <AbsoluteFill style={{ backgroundColor: COLORS.background }}> {/* Content */} </AbsoluteFill> ); };
export default ComponentName; ```
Swap `ComponentName` for a PascalCase name describing the shot, set the `COLORS` block from the chosen style preset, and set `width`/`height`/`durationInSeconds`/`fps` from the request.
---
## Correctness rules
These are not stylistic preferences — they are what makes a render succeed. VidTSX (via Remotion) renders each frame by calling the component at a fixed frame number. There is no event loop, no persistence between frames, and no wall-clock time. Anything that assumes those things will break.
### Animation is frame-based, always
- Drive **all** motion from `useCurrentFrame()` + `interpolate()`. - **Never** use `useState`, `useEffect`, `setTimeout`, `setInterval`, or CSS animations/transitions. They don't fit the frame-by-frame model and produce broken or non-deterministic output. - For anything random or procedural, use `seededRandom` (or an equivalent seeded function) so every render of a given frame is identical. Pre-generate particle/random arrays **at module level**, never inside the render function — recomputing per frame causes flicker. - Stagger animations so elements enter in sequence rather than all at once. It reads better and is the expected look.
### interpolate — input ranges must be strictly increasing
`interpolate`'s input range has to be strictly monotonically increasing. Duplicate or descending values throw at runtime.
```tsx // ✅ Correct interpolate(frame, [0, 30, 60], [0, 1, 0]);
// ❌ Throws — input range descends interpolate(frame, [60, 30, 0], [0, 1, 0]); ```
To **reverse** a mapping, flip the *output* range, never the input range:
```tsx // ✅ Correct — maps 0→100, 1→0 interpolate(value, [0, 1], [100, 0]);
// ❌ Wrong interpolate(value, [1, 0], [100, 0]); ```
For index-based timing, make sure `startFrame < endFrame` and always clamp:
```tsx const startFrame = index * 30; const endFrame = startFrame + 30; interpolate(frame, [startFrame, endFrame], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp', }); ```
**Always** pass `extrapolateLeft: 'clamp'` and `extrapolateRight: 'clamp'` unless an unbounded value is genuinely wanted — without them, values shoot past their range before/after the keyframes.
### Easing — use Easing.bezier(), never wrapper syntax
Wrapper forms like `Easing.out(Easing.cubic)` crash. Define named beziers once (see the `EASINGS` block in the skeleton) and reference them:
```tsx // ❌ Crashes Easing.out(Easing.cubic); Easing.in(Easing.quad);
// ✅ Correct interpolate(frame, [0, 30], [0, 1], { easing: EASINGS.easeOut, extrapolateRight: 'clamp', }); ```
### chroma-js — namespace import only
```tsx // ✅ Correct import * as chroma from 'chroma-js'; const color = chroma('#00bfff').brighten(0.5).hex();
// ❌ Wrong — "chroma is not a function" import chroma from 'chroma-js'; ```
### @remotion/paths — only the real functions exist
These helpers **do not exist** and must never be used: `makeCircle()`, `makeRect()`, `makeTriangle()`, `makeLine()`, `makePie()`, `makePolygon()`, `makeEllipse()`, `makeStar()`.
Only these imports are valid:
```tsx import { evolvePath, getLength, getPointAtLength, getTangentAtLength } from '@remotion/paths'; ```
Write SVG path strings by hand and animate them with `evolvePath`:
```tsx const circlePath = 'M 50 10 A 40 40 0 1 1 49.99 10 Z'; const rectPath = 'M 0 0 L 100 0 L 100 50 L 0 50 Z'; const linePath = 'M 0 0 L 100 100';
const { strokeDasharray, strokeDashoffset } = evolvePath(progress, rectPath); ```
### Composition ID
`compositionConfig.id` is **PascalCase only** — no hyphens, no underscores (e.g. `ProductReveal`, not `product-reveal` or `product_reveal`).
---
## Layout
### Safe zones
- **Top 10%:** reserve for platform UI. - **Bottom 15%:** reserve for captions/buttons. - Keep primary content between **25%–75%** vertically.
### Centering helper
```tsx const centered: React.CSSProperties = { position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', }; ```
---
## Typography
| Element | Size | Weight | |---------------|------------|---------| | Headlines | 72–120px | 700–900 | | Subheadlines | 36–48px | 500–700 | | Body | 28–36px | 400–500 |
Always set `margin: 0` on text elements — browser defaults push layouts off-center.
---
## Style presets
When the user names a style, load its palette and characteristics from **`references/style-presets.md`** and drop the `COLORS` object into the skeleton. The six presets are: **minimalist** (default), **memphis**, **neo-brutalism**, **glassmorphism**, **neon/cyberpunk**, and **corporate**. If no style is named, use minimalist.
---
## Verify the render (do not skip)
A shot is not done until you have **looked at it**. After writing the `.tsx`, render at least one still and open it — never hand over a shot you have only reasoned about. Rendering succeeds and the numbers look right, yet text overflows its card, an image is cropped at the wrong crop, an element is off-screen, or two things overlap. Only a screenshot catches these.
- Render a still (e.g. `node scripts/render-all.mjs --still --scale=1 <ShotId>`) and Read the PNG. - For time-based reveals (elements entering on a cue, scrolls, staged phases), a single 60%-of-duration still is not enough — render the full clip and pull frames at each key moment (`ffmpeg -ss <t> -i out/<id>.mp4 -frames:v 1 f.jpg`), or render stills at several offsets. Verify the state at each cue, not just one frame. - Check specifically: images fit their slot (no important content cropped; prefer `objectFit: contain` on a matching background for heterogeneous real images), text is not clipped or overflowing, nothing is off the safe area, and each animated element is actually visible when it should be. - If it is composited over other footage, also spot-check a frame from the final baked output, not just the isolated shot.
Fix what the screenshot reveals, then re-render and look again. Treat "I rendered it and it looks correct" — with the frame shown — as the bar for done.
---
## Final output
Generate the complete `.tsx` file and nothing else inside it — no surrounding markdown, no commentary before or after the code in the file itself. A short one-line note in chat when handing over the file is fine.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for vidtsx-2d-generator, ready for a manual X post.
vidtsx-2d-generator: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene,... 290 stars https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x
Listing + install path for vidtsx-2d-generator: https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x Install: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to hassancs91 but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator/audit)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)hassancs91
@hassancs91
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "vidtsx-2d-generator" agent skill from https://github.com/hassancs91/claude-youtube-editor/tree/main/.claude/skills/vidtsx-2d-generator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"hassancs91-vidtsx-2d-generator","task":"Install vidtsx-2d-generator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Design assets, images, video, audio, multimodal media, presentation, and creative production skills.
Scenario
Design and creative
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Maintenance
fresh
18d since push
Risk
Risky
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required
GitHub quality
290
71/100 Quality · 79/100 Trust
Coverage tags
Review notes
Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required · This skill may touch real-money trading, broker, wallet, or exchange operations; use only in a sandbox with explicit approval.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
290 GitHub stars
Repo activity
290 stars, 110 forks
Maintenance
18d since push
License
MIT
Install
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
Agent should check
Copy prompt
Task: Use vidtsx-2d-generator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20vidtsx-2d-generator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install
Install command: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/hassancs91-vidtsx-2d-generator/install
LLM text format
/api/skills/hassancs91-vidtsx-2d-generator/install?format=text
Find alternatives
/api/skills/search?q=vidtsx-2d-generator&limit=3
Agent prompt
Use vidtsx-2d-generator for this task. Review https://www.openagentskill.com/api/skills/hassancs91-vidtsx-2d-generator/install, then install with: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/hassancs91-vidtsx-2d-generator
LLM text
/api/registry/manifest/hassancs91-vidtsx-2d-generator?format=text
Install alias
/api/registry/install/hassancs91-vidtsx-2d-generator
Recommend
/api/registry/recommend?task=Use%20vidtsx-2d-generator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO290 GitHub stars
Stars/forks activity
INFO290 stars, 110 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Publish consistently
I need my agent to turn research and product updates into useful content drafts.
Create assets
I need my agent to produce design assets, UI directions, presentations, or creative media workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Brief to publish-ready creative
A practical workflow for agents that shape a video brief, create strong multimodal prompts, generate supporting B-roll, and prepare a reviewable short-form or explainer video.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: vidtsx-2d-generator description: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files. ---
# VidTSX 2D Video Generator
Generate production-ready 2D TSX video files for VidTSX from a description of a shot or video. The files are Remotion compositions that VidTSX renders frame-by-frame, so correctness matters more than cleverness: a single non-monotonic `interpolate` range or a stray `useState` will crash the render.
This skill covers **2D motion graphics**. 3D work (`@remotion/three` / React Three Fiber) is out of scope.
## How to use this skill
1. **Clear single shot** → generate the `.tsx` file directly. 2. **Complex, multi-shot, or visually ambiguous request** → confirm the shot breakdown or visual direction in one short message first, then generate. Don't over-ask; a one-line confirmation is enough. 3. **Deliver as an actual `.tsx` file**, not inline code. These TSX components always exceed 20 lines, and the user edits these files directly. Default to **one shot per file** (atomic, easy to edit) unless the user asks for a single combined deliverable. 4. The file contains **only the component code** — the structural section comments below are welcome, but no markdown fences, no prose explanations inside the file. 5. **Render it and look before calling it done** — see [Verify the render](#verify-the-render-do-not-skip). A shot you have only reasoned about is not finished; a still (and, for reveals/scrolls, frames at each cue) is the bar.
---
## Output spec
### Dimension presets
| Format | Width | Height | Use case | |------------|-------|--------|----------------------------| | horizontal | 1920 | 1080 | YouTube, presentations | | vertical | 1080 | 1920 | TikTok, Reels, Shorts | | square | 1080 | 1080 | Instagram feed |
### Defaults
- **Format:** horizontal (1920×1080) - **Duration:** 5 seconds - **FPS:** 30 - **Style:** minimalist (see `references/style-presets.md`)
---
## Mandatory file structure
Every generated file follows this skeleton. The labeled section comments are intentional — they keep large files navigable.
```tsx import React from 'react'; import { useCurrentFrame, useVideoConfig, interpolate, Easing, AbsoluteFill, Sequence, } from 'remotion';
// ============================================================================= // COMPOSITION CONFIG // ============================================================================= export const compositionConfig = { id: 'ComponentName', // PascalCase only — NO hyphens or underscores durationInSeconds: 5, fps: 30, width: 1920, height: 1080, };
// ============================================================================= // STYLE CONSTANTS // ============================================================================= const COLORS = { primary: '#6366f1', secondary: '#8b5cf6', accent: '#06b6d4', background: '#0f0f23', text: '#ffffff', } as const;
const TYPOGRAPHY = { fontFamily: 'Inter, system-ui, sans-serif', } as const;
const EASINGS = { easeOut: Easing.bezier(0.33, 1, 0.68, 1), easeIn: Easing.bezier(0.32, 0, 0.67, 0), easeInOut: Easing.bezier(0.37, 0, 0.63, 1), overshoot: Easing.bezier(0.34, 1.56, 0.64, 1), } as const;
// ============================================================================= // PRE-GENERATED DATA (computed once at module level, NOT during render) // ============================================================================= const seededRandom = (seed: number): number => { const x = Math.sin(seed * 9999) * 10000; return x - Math.floor(x); };
// ============================================================================= // MAIN COMPONENT // ============================================================================= const ComponentName: React.FC = () => { const frame = useCurrentFrame(); const { fps, durationInFrames, width, height } = useVideoConfig();
return ( <AbsoluteFill style={{ backgroundColor: COLORS.background }}> {/* Content */} </AbsoluteFill> ); };
export default ComponentName; ```
Swap `ComponentName` for a PascalCase name describing the shot, set the `COLORS` block from the chosen style preset, and set `width`/`height`/`durationInSeconds`/`fps` from the request.
---
## Correctness rules
These are not stylistic preferences — they are what makes a render succeed. VidTSX (via Remotion) renders each frame by calling the component at a fixed frame number. There is no event loop, no persistence between frames, and no wall-clock time. Anything that assumes those things will break.
### Animation is frame-based, always
- Drive **all** motion from `useCurrentFrame()` + `interpolate()`. - **Never** use `useState`, `useEffect`, `setTimeout`, `setInterval`, or CSS animations/transitions. They don't fit the frame-by-frame model and produce broken or non-deterministic output. - For anything random or procedural, use `seededRandom` (or an equivalent seeded function) so every render of a given frame is identical. Pre-generate particle/random arrays **at module level**, never inside the render function — recomputing per frame causes flicker. - Stagger animations so elements enter in sequence rather than all at once. It reads better and is the expected look.
### interpolate — input ranges must be strictly increasing
`interpolate`'s input range has to be strictly monotonically increasing. Duplicate or descending values throw at runtime.
```tsx // ✅ Correct interpolate(frame, [0, 30, 60], [0, 1, 0]);
// ❌ Throws — input range descends interpolate(frame, [60, 30, 0], [0, 1, 0]); ```
To **reverse** a mapping, flip the *output* range, never the input range:
```tsx // ✅ Correct — maps 0→100, 1→0 interpolate(value, [0, 1], [100, 0]);
// ❌ Wrong interpolate(value, [1, 0], [100, 0]); ```
For index-based timing, make sure `startFrame < endFrame` and always clamp:
```tsx const startFrame = index * 30; const endFrame = startFrame + 30; interpolate(frame, [startFrame, endFrame], [0, 1], { extrapolateLeft: 'clamp', extrapolateRight: 'clamp', }); ```
**Always** pass `extrapolateLeft: 'clamp'` and `extrapolateRight: 'clamp'` unless an unbounded value is genuinely wanted — without them, values shoot past their range before/after the keyframes.
### Easing — use Easing.bezier(), never wrapper syntax
Wrapper forms like `Easing.out(Easing.cubic)` crash. Define named beziers once (see the `EASINGS` block in the skeleton) and reference them:
```tsx // ❌ Crashes Easing.out(Easing.cubic); Easing.in(Easing.quad);
// ✅ Correct interpolate(frame, [0, 30], [0, 1], { easing: EASINGS.easeOut, extrapolateRight: 'clamp', }); ```
### chroma-js — namespace import only
```tsx // ✅ Correct import * as chroma from 'chroma-js'; const color = chroma('#00bfff').brighten(0.5).hex();
// ❌ Wrong — "chroma is not a function" import chroma from 'chroma-js'; ```
### @remotion/paths — only the real functions exist
These helpers **do not exist** and must never be used: `makeCircle()`, `makeRect()`, `makeTriangle()`, `makeLine()`, `makePie()`, `makePolygon()`, `makeEllipse()`, `makeStar()`.
Only these imports are valid:
```tsx import { evolvePath, getLength, getPointAtLength, getTangentAtLength } from '@remotion/paths'; ```
Write SVG path strings by hand and animate them with `evolvePath`:
```tsx const circlePath = 'M 50 10 A 40 40 0 1 1 49.99 10 Z'; const rectPath = 'M 0 0 L 100 0 L 100 50 L 0 50 Z'; const linePath = 'M 0 0 L 100 100';
const { strokeDasharray, strokeDashoffset } = evolvePath(progress, rectPath); ```
### Composition ID
`compositionConfig.id` is **PascalCase only** — no hyphens, no underscores (e.g. `ProductReveal`, not `product-reveal` or `product_reveal`).
---
## Layout
### Safe zones
- **Top 10%:** reserve for platform UI. - **Bottom 15%:** reserve for captions/buttons. - Keep primary content between **25%–75%** vertically.
### Centering helper
```tsx const centered: React.CSSProperties = { position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', }; ```
---
## Typography
| Element | Size | Weight | |---------------|------------|---------| | Headlines | 72–120px | 700–900 | | Subheadlines | 36–48px | 500–700 | | Body | 28–36px | 400–500 |
Always set `margin: 0` on text elements — browser defaults push layouts off-center.
---
## Style presets
When the user names a style, load its palette and characteristics from **`references/style-presets.md`** and drop the `COLORS` object into the skeleton. The six presets are: **minimalist** (default), **memphis**, **neo-brutalism**, **glassmorphism**, **neon/cyberpunk**, and **corporate**. If no style is named, use minimalist.
---
## Verify the render (do not skip)
A shot is not done until you have **looked at it**. After writing the `.tsx`, render at least one still and open it — never hand over a shot you have only reasoned about. Rendering succeeds and the numbers look right, yet text overflows its card, an image is cropped at the wrong crop, an element is off-screen, or two things overlap. Only a screenshot catches these.
- Render a still (e.g. `node scripts/render-all.mjs --still --scale=1 <ShotId>`) and Read the PNG. - For time-based reveals (elements entering on a cue, scrolls, staged phases), a single 60%-of-duration still is not enough — render the full clip and pull frames at each key moment (`ffmpeg -ss <t> -i out/<id>.mp4 -frames:v 1 f.jpg`), or render stills at several offsets. Verify the state at each cue, not just one frame. - Check specifically: images fit their slot (no important content cropped; prefer `objectFit: contain` on a matching background for heterogeneous real images), text is not clipped or overflowing, nothing is off the safe area, and each animated element is actually visible when it should be. - If it is composited over other footage, also spot-check a frame from the final baked output, not just the isolated shot.
Fix what the screenshot reveals, then re-render and look again. Treat "I rendered it and it looks correct" — with the frame shown — as the bar for done.
---
## Final output
Generate the complete `.tsx` file and nothing else inside it — no surrounding markdown, no commentary before or after the code in the file itself. A short one-line note in chat when handing over the file is fine.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for vidtsx-2d-generator, ready for a manual X post.
vidtsx-2d-generator: Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene,... 290 stars https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x
Listing + install path for vidtsx-2d-generator: https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=x Install: npx skills add hassancs91/claude-youtube-editor --skill vidtsx-2d-generator
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to hassancs91 but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator/audit)
[](https://www.openagentskill.com/skills/hassancs91-vidtsx-2d-generator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)hassancs91
@hassancs91
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsPermission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
filesystem or document access, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness