Skip to main content
skill CX Codex

wterm-web-terminal — Claude Code skill: what it does, how to install

Coding agent guide for embedding the lightweight Zig and WebAssembly terminal emulator wterm into React, Next.js, or vanilla web apps.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill wterm-web-terminal -a claude-code
Open on GitHub

What wterm-web-terminal does

This skill equips your assistant with implementation patterns for wterm, a browser-based terminal component. The emulator offloads VT100 and xterm escape sequence parsing to a compact 12 KB WebAssembly module written in Zig. Instead of drawing to an HTML canvas, it writes straight to DOM nodes. Standard browser text selection, keyboard shortcuts, and screen reader access work out of the box.

The agent learns how to wire up the @wterm/react bindings, configure the useTerminal hook, or run an in-browser shell via @wterm/just-bash. For Next.js setups, the terminal must be imported dynamically with ssr: false because server-side rendering breaks against DOM elements. The wterm.wasm file needs to be placed into your project's public folder manually before the component can mount.

What it helps with

  • integrate a terminal component into React or Next.js applications
  • run a local Bash environment in the browser without server infrastructure
  • pipe PTY streams over WebSockets using Node.js and node-pty
  • theme terminal output using CSS custom properties

Example prompts for the agent

  • Set up a wterm terminal component in Next.js connected to a WebSocket backend
  • Configure an in-browser Bash shell using @wterm/just-bash and @wterm/core
  • Build a Node.js WebSocket PTY handler compatible with wterm terminal events

How to install wterm-web-terminal

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill wterm-web-terminal -a claude-code

2Manually: put the files in place

~/.claude/skills/wterm-web-terminal/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wterm-web-terminal/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about wterm-web-terminal

How do I install wterm-web-terminal in Claude Code?

Run npx skills add reason-machines/trending-skills --skill wterm-web-terminal -a claude-code in your terminal.

What does the wterm-web-terminal skill do?

It instructs the agent on integrating the wterm emulator, covering vanilla JavaScript setups, React hooks, PTY server integration, and theme customisation.

What requirement exists for running wterm in Next.js?

You must import the terminal component dynamically with { ssr: false } and copy wterm.wasm into the public/ directory.

Similar skills

All skills for Frontend and UI →

From the same set199

geoflow-content-automation A skill that walks your agent through GEOFlow: AI article generation, task scheduling, review and publishing via CLI, REST API and Docker. Useful when the content pipeline runs on PHP and PostgreSQL. CX Codex +1 442installs acgti-anime-persona-quiz This skill helps extend ACGTI, a Vue 3 and TypeScript anime quiz that calculates an MBTI-style result and selects a character. CX Codex +1 440installs cli-to-js-api-wrapper A skill that walks through wrapping a command line tool in a typed JavaScript/TypeScript API with the cli-to-js package. Useful when an agent should call commands as methods, not shell strings. CX Codex +1 439installs palantir-for-family-trips Helps set up and tweak a dark-mode operations dashboard for multi-family road trips. Coordinates convoy routes, arrival windows, and shared schedules. CX Codex +1 437installs tech-doc-style-chinese Style rules for Chinese technical writing: spacing between CJK and Latin, corner brackets, no buzzwords. Ships with a Python linter. CX Codex +1 434installs diagram-design-editorial A skill that turns a short description into an HTML+SVG diagram for posts and docs. Thirteen types, no Mermaid, no build step, styling matched to your site. CX Codex +1 433installs anubis-android-app-manager A skill for building and configuring Anubis, an Android app manager that freezes app groups through Shizuku depending on VPN state. CX Codex +1 427installs nothing-ever-happens-polymarket-bot This skill sets up an async Python bot for Polymarket that scans standalone non-sports markets and buys “No” below a configured price cap. CX Codex +1 426installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor