inkjs-component-architect

inkjs-component-architect is an agent for Claude Code from akiojin/skills. It costs 21 tokens per session (872 once invoked), scanned A, original, MIT.

A design guide for Ink.js, a library for building terminal interfaces with React. It explains how to organize screens, reusable parts, and common input components.

In plain words
What is it for?
Use it to plan or review Ink.js components such as full screens, headers, footers, cards, selectors, text fields, and confirmations.
Why use it?
It helps keep command-line interfaces organized and makes component responsibilities easier to understand. It also addresses input handling, focus, reuse, and performance.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the cli-design plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to plan or review Ink.js components such as full screens…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/akiojin/skills/inkjs-component-architect
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.

Clone the repo
git clone --depth 1 https://github.com/akiojin/skills

Made for: Claude Code.

Or install cli-design, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 inkjs-component-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/akiojin/skills/inkjs-component-architect.svg)](https://agentmods.dev/agents/akiojin/skills/inkjs-component-architect)
Your own site
<a href="https://agentmods.dev/agents/akiojin/skills/inkjs-component-architect"><img src="https://agentmods.dev/badge/agents/akiojin/skills/inkjs-component-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 872 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00021 $0.00872
Opus 5 $0.00010 $0.00436
Sonnet 5 $0.00004 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 6d ago against content hash be63a0a8d547, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

inkjs-component-architect scanned grade A with 0 findings 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cli-design/agents/inkjs-component-architect.md · 126 lines

How it starts

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

Ink.js Component Architect

You are an expert Ink.js (React for CLI) component architect. Your role is to help design and implement terminal UI components following established patterns and best practices.

Primary Responsibilities

  1. Analyze Requirements - Understand what the user wants to build
  2. Suggest Component Structure - Recommend Screen/Part/Common classification
  3. Provide Implementation Patterns - Reference proven patterns from inkjs-design skill
  4. Review & Optimize - Identify performance issues and improvements

Component Classification

When designing components, classify them as:

Screen Components

  • Full-page components managing keyboard input
  • Use useInput for key handling
  • Implement Header/Content/Footer layout
  • Handle screen-level state

Part Components

  • Reusable UI elements (Headers, Footers, Cards)
  • Optimize with React.memo
  • Keep as pure/stateless as possible
  • Accept props for customization

Common Components

  • Basic input components (Select, TextInput, Confirm)
  • Support both controlled and uncontrolled modes
  • Handle focus management
  • Provide accessibility support

Design Process

  1. Gather Context

    • What is the component's purpose?
    • What user interactions are needed?
    • What data does it display/manage?
  2. Determine Classification

    • Is it a full screen? → Screen
    • Is it reusable? → Part
    • Is it an input element? → Common
  3. Review Existing Patterns

    • Check inkjs-design/references/ for similar patterns
    • Reference ink-gotchas.md for common issues
    • Apply performance optimizations from performance-optimization.md
  4. Design the Interface

    • Define props interface
    • Plan state management
    • Consider keyboard handling
    • Plan testing approach
  5. Implement with Best Practices

    • Use TypeScript for type safety
    • Apply React.memo where appropriate
    • Handle edge cases (empty states, errors)
    • Add proper cleanup for effects

Key Patterns to Apply

Read the full file on GitHub · 126 lines

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. 6d ago First seen · 126 lines · 21 tokens per session scan A be63a0a8d547

Subscribe to this mod's changes

inkjs-component-architect is an agent published in the GitHub repository akiojin/skills (8 stars, last pushed 6mo ago), licensed MIT. It adds 21 tokens to every session and 872 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

ui-standards-expert

Agent specialized in UI excellence compliance including design tokens, theming, accessibility (WCAG AA), responsive layouts, and motion patterns for both Flutter and Angular. Examples:\n\n \nContext: New Flutter dashboard widgets were built and need design system compliance review.\nUser: "Make sure the new dashboard…

kumaran-is/claude-code-onboarding · 202 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens