tty-avatar
/tty-avatar
Show a live 3D avatar in the terminal, print one rendered frame of any GLB, and change the avatar's mood or caption from scripts or Claude Code hooks. Use when the user wants to preview a GLB or three.ws avatar in a terminal or give a coding agent a visible face.
- Author
- nirholas ↗
- Repository
- three.ws ↗
- Licence
- Apache-2.0
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Show a live 3D avatar in the terminal, print one rendered frame of any GLB, and change the avatar's mood or caption from scripts or Claude Code hooks. Use when the user wants to preview a GLB or three.ws avatar in a terminal or give a coding agent a visible face.
Original author description
Show a live 3D avatar in the terminal, print one rendered frame of any GLB, and change the avatar's mood or caption from scripts or Claude Code hooks. Use when the user wants to preview a GLB or three.ws avatar in a terminal or give a coding agent a visible face.
How it works
- Sources
- Commands
- Recipes
- Library
SKILL.md preview
---
name: tty-avatar
description: Show a live 3D avatar in the terminal, print one rendered frame of any GLB, and change the avatar's mood or caption from scripts or Claude Code hooks. Use when the user wants to preview a GLB or three.ws avatar in a terminal or give a coding agent a visible face.
---
# tty-avatar
`@three-ws/tty-avatar` renders a GLB with a software rasterizer (no GPU, no browser) to truecolor half-blocks, braille or plain ASCII. Needs Node 18 or newer.
npx @three-ws/tty-avatar <source> [options]
## Sources
A local `./model.glb`, a GLB URL, a three.ws avatar id, `agent:<agent id>` (its 3D body), or a `https://three.ws/avatars/<id>` page URL. Id lookups use `--origin` or `THREE_WS_ORIGIN` (default `https://three.ws`).
## Commands
tty-avatar <source> run the live viewer
tty-avatar snapshot <source> [opts] print one frame and exit
tty-avatar mood <name> [--say text] [--ttl ms] change the running viewer's mood
tty-avatar say <text> change the caption
tty-avatar hook read a hook payload on stdin, hand it to the viewer
tty-avatar install-hooks [--write] [--json] Claude Code hooks to this viewer
tty-avatar moods list moods
Moods: idle, spin, think, work, talk, happy, attention, error, sleep.
Useful flags: `--mode blocks|braille|ascii` (ascii is the default when stdout is not a TTY), `--mood`, `--fps`, `--columns`, `--rows`, `--yaw`, `--pitch`, `--zoom`, `--frames <n>` (exit after n frames), `--no-caption`, `--no-alt`, `--max-triangles`, `--state-dir` (or `TTY_AVATAR_DIR`), `--no-state`, `--plain` (snapshot without colour).
## Recipes
Check a model without opening a viewer (works in a non-interactive shell):
npx @three-ws/tty-avatar snapshot ./hero.glb --mode ascii --columns 80 --rows 40 --yaw 30
Give a coding agent a face:
1. Run `npx @three-ws/tty-avatar install-hooks` to print the settings fragment, or add `--write` to merge it into `~/.claude/settings.json`. Only write to the user's settings file when the user asked for it.
2. The user runs a viewer in a split pane: `npx @three-ws/tty-avatar <avatar id>`.
3. The viewer polls `~/.three-ws/tty-avatar/event.json` and maps Claude Code events to moods (UserPromptSubmit think, PreToolUse work, Stop happy, SessionEnd sleep).
Signal progress from a script:
tty-avatar mood happy --say "deploy landed" --ttl 5000
## Library
import { resolveSource, parseGlb, TtyAvatar, snapshot } from '@three-ws/tty-avatar';
const { bytes } = await resolveSource('./hero.glb');
const mesh = await parseGlb(bytes);
console.log(snapshot(mesh, { mode: 'ascii', columns: 60, rows: 30 }));
Versions
The database has no other skills named tty-avatar.
Database snapshot: 13.11.2026 · package version 499242f2f201 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100avatar-and-glb-tools
Spawn and dress a 3D avatar, make it speak, render stills, and inspect, validate, optimize or thumbnail any GLB with the avatar-agent MCP tools. Use when an agent needs a presentable 3D avatar or has to check or shrink a glTF/GLB file. - 100render-an-avatar
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. - 100awesome-agent-avatars
Add an animated, interactive avatar for an AI agent to a web, React, Next.js, Remix, Vite, Tauri or Electron app with the awesome-agent-avatars library. Use when the user wants an agent/assistant/bot avatar or mascot that reacts to agent activity (typing, thinking, tool calls,… - 100build-avatar-app
Code an app or website around an Atmee avatar - backend sessions, joining the call, app state, events, tools, files, agendas. Use when building, embedding or debugging one. NOT for making the avatar. - 90Face
Put a human face on your agent with fast avatar shortlists, gender control, transparent options, and reusable profile links. Use when the user wants an avatar, profile face, or group image. - 100avatar-maker
Turn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo',…