port-sacred-terminal-ui-to-typescript-cli

port-sacred-terminal-ui-to-typescript-cli is a skill for Claude Code, Codex from internet-development/www-sacred. It costs 0 tokens per session (1,476 once invoked), scanned A, original, MIT.

A conversion guide for turning a React terminal-style screen into a TypeScript command-line screen using the Simulacrum framework. Simulacrum is a small layout toolkit included in the project.

In plain words
What is it for?
Use it to port sacred React components such as cards, tables, and action buttons into TypeScript CLI templates under the project's scripts directory.
Why use it?
It preserves the structure and appearance of an existing React interface when creating its static command-line version, while accounting for differences between graphical and terminal displays.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to port sacred React components such as cards, tables, and action buttons into TypeScript CLI templates under the project's scripts directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli
About the project

SRCL is an open-source React component and styling repository for building web, desktop, and static applications with terminal-inspired visuals. Developers use its reusable components and design system when creating interfaces with monospace typography and related styling.

internet-development/www-sacred · 1,556 stars · on GitHub · sacred.computer

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 internet-development/www-sacred --skill port-sacred-terminal-ui-to-typescript-cli
Clone the repo
git clone --depth 1 https://github.com/internet-development/www-sacred

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 port-sacred-terminal-ui-to-typescript-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli/github.svg)](https://agentmods.dev/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli)
Your own site
<a href="https://agentmods.dev/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli"><img src="https://agentmods.dev/badge/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli/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 port-sacred-terminal-ui-to-typescript-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli"><img src="https://agentmods.dev/badge/skills/internet-development/www-sacred/port-sacred-terminal-ui-to-typescript-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 3
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium MCP Rug Pull · line 73
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Agent Snooping · line 91
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00000 $0.01476
Opus 5 $0.00000 $0.00738
Sonnet 5 $0.00000 $0.00295
Haiku 4.5 $0.00000 $0.00148

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

Security

Grade A, and why

port-sacred-terminal-ui-to-typescript-cli 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 12d 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.

skills/port-sacred-terminal-ui-to-typescript-cli/SKILL.md · 92 lines

How it starts

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

Skill: Port Sacred Terminal UI to TypeScript CLI

Also available at https://sacred.computer/llm/skills/port-sacred-terminal-ui-to-typescript-cli/SKILL.md

Take a React Window*.tsx (or any sacred component) and produce a terminal CLI screen written in TypeScript that uses Simulacrum — the sacred CLI framework in scripts/cli/lib/.

See components/AGENTS.md for the canonical catalog of every sacred React component (props, theming tokens, CLI primitive equivalent). Read it before identifying which React surface you are porting from.

When to use

Use this skill whenever you want a CLI version of an existing sacred React surface. Sacred ships a small zero-dependency layout framework that maps every React <Card> / <DataTable> / <ActionButton> concept onto a CLI primitive. The output is identical to the React component minus the canvas-based animations — sacred renders are static.

What you ship

A single .ts file under scripts/cli/templates/ that:

  1. Uses tsx as a shebang or npm run cli:typescript as the entry point.
  2. Imports the framework primitives (import { ... } from '../lib/card').
  3. Calls createApp({ build }).start() with a build(page, innerW, selectedRow) function that returns string[].

Reference implementation

Read these files before starting:

  • scripts/cli/templates/template.ts — canonical example (run with npm run cli:typescript)
  • scripts/cli/lib/ansi.ts — ANSI escapes, hex helpers, padding, gradient text
  • scripts/cli/lib/window.ts — window frame (margin + window bg + shadow)
  • scripts/cli/lib/card.ts — box-drawing card borders and word-wrap
  • scripts/cli/lib/table.tsformatRow, kvTable, kvTableGradient, ColSpec type
  • scripts/cli/lib/button.tsbutton, buttonRow
  • scripts/cli/lib/app.ts — lifecycle: alt screen, raw mode, resize, paging, selection
  • scripts/cli/colors.json — sacred-themed color palette (single source of truth)

React-to-CLI concept map

React surface CLI primitive Notes
<Card title="T"> cardTop('T', innerW) + cardBot(innerW) Top + bottom borders
Content <div> inside <Card> cardRow(text, innerW) 2ch left indent, padded to inner width
Key-value pair with gradient styling kvTableGradient([[k, v]]) 24ch key column, gradient on value
<thead><tr><td> cardHeaderRow(formatRow(TH, COL_SPEC, innerW), innerW) #585858 background
<tbody><tr><td> cardRow(formatRow(row, COL_SPEC, innerW), innerW) Per-cell alignment, status coloring
styles.statusOk/statusOff colSpec: { status: true } ACTIVE/OPEN/APPROVED → bold green; CLOSED/PAID/SUSPENDED → gray
<ActionButton hotkey="ESC"> button('ESC', 'exit') Hotkey + label background pair
<RowSpaceBetween> buttonRow(left, right, innerW) Left + right justify with windowBg gap
Word-wrapped paragraph wordWrap(text, innerW - 6) Card padding is 3ch each side
Animated <ASCIICanvas> header omit Sacred CLI ports are static; the React side keeps the animation

Read the full file on GitHub · 92 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. 12d ago First seen · 92 lines · 0 tokens per session scan A 6e3c1956ded9

Subscribe to this mod's changes

port-sacred-terminal-ui-to-typescript-cli is a skill published in the GitHub repository internet-development/www-sacred (1,556 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,476 tokens. 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-30.

Related

Other skills, from other repositories

elite-engineer

The operating system for elite software engineering in TypeScript, React, and Next.js. Enforces the cognitive models, architecture laws, type-level patterns, component design, visual standards, and performance mandates that separate exceptional software from the ordinary — grounded in named sources (Torvalds…

Kerim-Sabic/elite-engineer · 167 tokens

client-setup

Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.

trpc/trpc · 63 tokens

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

typescript-language

Apply modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings.

HoangNguyen0403/agent-skills-standard · 35 tokens

typescript-tooling

Development tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling.

HoangNguyen0403/agent-skills-standard · 41 tokens