react-ink

react-ink is a skill for Claude Code, Codex from pass-agent/loomkin. It costs 77 tokens per session (3,082 once invoked), scanned B, original, MIT.

A toolkit for building interactive terminal apps with React, such as dashboards, progress displays, and keyboard-controlled screens.

In plain words
What is it for?
Use it to arrange terminal layouts, style text, respond to keyboard input, manage focus, and show progress or streaming logs.
Why use it?
It lets React developers create terminal interfaces with familiar components and state handling instead of building each screen from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to arrange terminal layouts, style text, respond to keyboard input, manage focus, and show progress or streaming logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pass-agent/loomkin/react-ink
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pass-agent/loomkin --skill react-ink
Clone the repo
git clone --depth 1 https://github.com/pass-agent/loomkin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-ink

README.md
[![agentmods](https://agentmods.dev/badge/skills/pass-agent/loomkin/react-ink/github.svg)](https://agentmods.dev/skills/pass-agent/loomkin/react-ink)
Your own site
<a href="https://agentmods.dev/skills/pass-agent/loomkin/react-ink"><img src="https://agentmods.dev/badge/skills/pass-agent/loomkin/react-ink/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-ink

Your own site · 80×15
<a href="https://agentmods.dev/skills/pass-agent/loomkin/react-ink"><img src="https://agentmods.dev/badge/skills/pass-agent/loomkin/react-ink.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03082
Opus 5.5 $0.00031 $0.01233
Sonnet 5.5 $0.00015 $0.00616
Haiku 4.5 $0.00008 $0.00308

Measured 1mo ago against content hash 97ff3281a81b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

react-ink scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

> On first activation of this skill in a conversation: check which companion skills are installed by running `ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/ .claude/skills/ .agent/skills/ .agents/skills/ 2>/dev/
apps/cli/.agents/skills/react-ink/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When this skill is activated, always start your first response with the 🧢 emoji.

React Ink

React Ink brings React's component model to the terminal. Instead of rendering to the DOM, Ink renders to stdout using a custom React reconciler backed by Yoga layout engine (the same Flexbox implementation used by React Native). Build interactive CLI tools with components like <Box> for layout and <Text> for styled output, handle keyboard input with useInput, and manage focus with useFocus - all using familiar React patterns including hooks, state, effects, Suspense, and concurrent rendering.


When to use this skill

Trigger this skill when the user:

  • Wants to build an interactive CLI application using React
  • Needs terminal UI components with Flexbox layout (Box, Text)
  • Is handling keyboard input in a terminal app with useInput
  • Wants focus management across terminal UI elements
  • Needs to display progress, spinners, or streaming logs in a CLI
  • Is scaffolding a new CLI project with create-ink-app
  • Wants to render styled text with colors, borders, or formatting in the terminal

Do NOT trigger this skill for:

  • General React web or React Native development (use frontend-developer)
  • Simple shell scripts that just print output (use shell-scripting)

Setup & authentication

Installation

npm install ink react

Or scaffold a full project:

npx create-ink-app my-cli
npx create-ink-app my-cli --typescript

Requirements: Node >= 20, React >= 19. Ink v6+ is ESM-only ("type": "module" in package.json).

Basic app

import React, {useState, useEffect} from 'react';
import {render, Text} from 'ink';

function Counter() {
  const [count, setCount] = useState(0);

  useEffect(() => {
    const timer = setInterval(() => {
      setCount(prev => prev + 1);
    }, 100);
    return () => clearInterval(timer);
  }, []);

  return <Text color="green">{count} tests passed</Text>;
}

render(<Counter />);

Read the full file on GitHub · 355 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 355 lines · 77 tokens per session scan B 97ff3281a81b

Subscribe to this mod's changes

react-ink is a skill published in the GitHub repository pass-agent/loomkin (181 stars, last pushed 5mo ago), licensed MIT. It adds 77 tokens to every session and 3,082 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

elixir

Use when writing or refactoring Elixir/OTP on the BEAM — GenServers, supervision trees and restart strategies, pattern matching, mix projects and releases — or when processes misbehave (restart loops, mailbox growth, call timeouts). NOT a Phoenix web app, LiveView, Ecto or channels (that is phoenix).

ericrisco/rsc-harness · 72 tokens

Hex1b.McpServer

This skill provides guidance for AI agents working with the Hex1b TUI (Terminal User Interface) library and its MCP diagnostic tools.

mitchdenny/hex1b · 0 tokens

unifly

Inspect and manage UniFi Network infrastructure with the unifly CLI: devices, clients, VLANs, WiFi, firewall, VPN, switch ports, site settings, and cloud fleets. Use for UniFi network configuration, monitoring, and troubleshooting, not UniFi Protect camera or recording management.

hyperb1iss/unifly · 63 tokens

unifly

Inspect and manage UniFi Network infrastructure with the unifly CLI: devices, clients, VLANs, WiFi, firewall, VPN, switch ports, site settings, and cloud fleets. Use for UniFi network configuration, monitoring, and troubleshooting, not UniFi Protect camera or recording management.

hyperb1iss/unifly · 63 tokens

phoenix

Use when building an Elixir web app with Phoenix — contexts, Ecto schemas, changesets and migrations, LiveView, channels and PubSub, the generators, and the boundary between domain logic and the web layer. Covers the classic LiveView over-rendering and Ecto N+1 traps. NOT pure OTP work with no web or Ecto layer …

ericrisco/rsc-harness · 89 tokens

deck-open-slide-canvas

Locked 1920x1080 canvas deck with React component-level free composition, not bound to a fixed template.

wolfenazz/YzPzCode · 29 tokens