# Render an avatar

> Render an avatar is an open-source agent skill for design and media. Renders glTF/GLB avatars to PNG, animated PNG or terminal output without a GPU. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/nirholas/three-ws-render/tree/main/plugins/three-ws-render/skills/render-an-avatar
- **Repository:** https://github.com/nirholas/three-ws-render
- **GitHub stars:** 6
- **License:** Apache-2.0
- **Skill name:** render-an-avatar
- **Collection:** https://github.com/nirholas/three-ws-render
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-01

## About

This skill gives an agent a way to turn a rigged or static glTF or GLB model into images using the @three-ws/render package. It is a pure JavaScript software rasterizer, so it needs no GPU, WebGL or headless browser and can run in CI, servers and sandboxes on Node 20 or newer.

The agent can call the package from the command line to write a still PNG, an animated PNG or a turntable spin, choosing framing (full body, bust or head), a lighting preset, camera yaw and pitch, background colour and a clip to play. It can also list the animations a model contains, or retarget a separate animation file onto the same rig. Without an output file the model is drawn straight into the terminal. The skill also documents a JavaScript API for loading a model once and rendering many frames from it.

Limits are stated in the skill: Draco-compressed geometry throws an error and needs re-exporting with gltfpack, KTX2 textures fall back to the base colour, morph targets are not evaluated, and materials are approximated with a studio light rig rather than path traced.

## When your agent uses it

> Render a rigged or static glTF/GLB avatar to a PNG, an animated PNG or terminal output with no GPU, WebGL or headless browser, using @three-ws/render. Use when the user wants a thumbnail, turntable or animation frame of a GLB, or a preview of a model in the terminal.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/nirholas/three-ws-render/tree/HEAD/plugins/three-ws-render/skills/render-an-avatar)
- [License: Apache-2.0](https://github.com/nirholas/three-ws-render/tree/HEAD/plugins/three-ws-render/skills/render-an-avatar)

## Features

- **Still and animated PNG output:** Writes a single PNG or an animated PNG from a chosen clip or spin across a set frame count and rate.
- **Turntable rendering:** Produces a spin of the model across a given number of degrees for thumbnails and previews.
- **Terminal preview:** Draws the avatar in the terminal using half-blocks or inline image protocols when no output file is given.
- **Animation clip listing:** Lists the clips contained in a model and plays a chosen one by name or index.
- **Animation retargeting:** Applies clips from a separate GLB or clip JSON file onto the rig of the target model.
- **Programmatic rendering API:** Exposes functions to load a model once and render frames and encode PNG or APNG from JavaScript.

## Good for

- Make a thumbnail of a GLB avatar for a website or asset library
- Export a turntable animation of a character model
- Render a walk cycle as an animated PNG for review
- Preview a 3D model in the terminal over SSH
- Generate avatar preview images in a CI pipeline

## Install

### Claude Code

This skill ships in the `three-ws-render` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add nirholas/three-ws-render
/plugin install three-ws-render@three-ws-render
```

Or copy only this skill to `~/.claude/skills/render-an-avatar`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nirholas/three-ws-render.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/render-an-avatar &&
cp -R "$tmp/plugins/three-ws-render/skills/render-an-avatar" ~/.claude/skills/render-an-avatar &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/render-an-avatar` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/render-an-avatar` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nirholas/three-ws-render.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/render-an-avatar &&
cp -R "$tmp/plugins/three-ws-render/skills/render-an-avatar" ~/.agents/skills/render-an-avatar &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/render-an-avatar` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/render-an-avatar` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nirholas/three-ws-render.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/render-an-avatar &&
cp -R "$tmp/plugins/three-ws-render/skills/render-an-avatar" ~/.cursor/skills/render-an-avatar &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/render-an-avatar` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/nirholas/three-ws-render.git --path plugins/three-ws-render/skills/render-an-avatar
```

Or copy the folder to `~/.gemini/skills/render-an-avatar` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/render-an-avatar`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nirholas/three-ws-render.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/render-an-avatar &&
cp -R "$tmp/plugins/three-ws-render/skills/render-an-avatar" ~/.copilot/skills/render-an-avatar &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/render-an-avatar` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/nirholas/three-ws-render.git
```

Then copy `three-ws-render/plugins/three-ws-render/skills/render-an-avatar` into your agent's skills folder as `render-an-avatar`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Render an avatar need a GPU or a browser?

No. The package is a CPU software rasterizer and needs no GPU, WebGL or headless browser. It requires Node 20 or newer.

### Which glTF features are not supported?

Draco geometry throws an error and should be re-exported with gltfpack -cc, KTX2 textures fall back to the base colour, and morph targets are not evaluated. Skeletal animation is supported.

### What does the command produce?

With --out it writes a PNG, or an animated PNG when frames are above 1. Without --out the avatar is drawn in the terminal.

### Can I use an animation from another file?

Yes. The --animation option takes a GLB or clip JSON file and retargets its clips onto the rig of the model being rendered.

### How do I install Render an avatar in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/render-an-avatar to use it in all your projects, or to .claude/skills/render-an-avatar in one project. Or install the three-ws-render plugin, which includes it: /plugin marketplace add nirholas/three-ws-render, then /plugin install three-ws-render@three-ws-render.

### Does Render an avatar run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Render an avatar?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Render an avatar?

The closest alternatives to Render an avatar are Threejs, Ljg card, 3d in readme, Lead knowledge animation and Blender stylized npr.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Threejs](https://ai-powered.com/skills/threejs): Threejs is an open-source agent skill for design and media.
- [Ljg card](https://ai-powered.com/skills/ljg-card): Ljg card is an open-source agent skill for design and media.
- [3d in readme](https://ai-powered.com/skills/3d-in-readme): 3d in readme is an open-source agent skill for design and media.
- [Lead knowledge animation](https://ai-powered.com/skills/lead-knowledge-animation): Lead knowledge animation is an open-source agent skill for design and media.
- [Blender stylized npr](https://ai-powered.com/skills/blender-stylized-npr): Blender stylized npr is an open-source agent skill for design and media.
- [Blender rendering](https://ai-powered.com/skills/blender-rendering): Blender rendering is an open-source agent skill for design and media.
- [Transformers js](https://ai-powered.com/skills/transformers-js): Transformers js is an open-source agent skill for design and media.
- [Raea](https://ai-powered.com/skills/raea): Raea is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/render-an-avatar
