testing-ink

testing-ink is a skill for Claude Code from LandonSchropp/agent-toolkit. It costs 18 tokens per session (249 once invoked), scanned A, original, MIT.

A testing aid for Ink components, which are terminal user interfaces built with React. It applies when you write or change tests for those components.

In plain words
What is it for?
Use it when adding or updating tests for Ink-based terminal interfaces.
Why use it?
It helps cover changes to terminal interface code with tests. The description does not specify which testing tasks or features it provides.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ls-typescript plugin — 7 skills, 1 command shipped together

Good fit Use it when adding or updating tests for Ink-based terminal interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landonschropp/agent-toolkit/testing-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 LandonSchropp/agent-toolkit --skill testing-ink
Clone the repo
git clone --depth 1 https://github.com/LandonSchropp/agent-toolkit

Made for: Claude Code.

Or install ls-typescript, the plugin that ships this one along with the rest of its 7 skills, 1 command.

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 testing-ink

README.md
[![agentmods](https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-ink/github.svg)](https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-ink)
Your own site
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-ink"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-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 testing-ink

Your own site · 80×15
<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/testing-ink"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/testing-ink.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 249 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.00018 $0.00249
Opus 5.5 $0.00007 $0.00100
Sonnet 5.5 $0.00004 $0.00050
Haiku 4.5 $0.00002 $0.00025

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

Security

Grade A, and why

testing-ink 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 2mo 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.

plugins/ls-typescript/skills/testing-ink/SKILL.md · 32 lines

What it actually says

Testing Ink Components

Use render from ink-testing-library, not @testing-library/react. Ink has its own renderer, so the DOM library can't reach it.

import { render } from "ink-testing-library";

const { lastFrame, frames, rerender } = render(<MyComponent />);
expect(lastFrame()).toContain("expected text");
  • lastFrame(): the most recent rendered terminal frame as a string.
  • frames: the full array of frames in render order.
  • rerender(<MyComponent prop={next} />): re-render with new props.

Testing hooks in a Bun project

Bun has no DOM, so testing a hook (via ls-typescript:testing-react) needs DOM globals registered. Call @happy-dom/global-registrator before any @testing-library/react import, so the DOM is present when React DOM loads.

import { GlobalRegistrator } from "@happy-dom/global-registrator";

GlobalRegistrator.register();

import { renderHook } from "@testing-library/react";
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. 2mo ago Changed · +1 lines · +4 tokens per session 8f3487cd7880
  2. 3mo ago First seen · 31 lines · 14 tokens per session scan A c1ceaff3880c

Subscribe to this mod's changes

testing-ink is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 249 once invoked, about $0.0001 per session on Opus 5.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

testing-ink compared with skills from other repositories

testing-ink next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testing-inkLandonSchropp/agent-toolkitSkill3todayMITA18Claude Code
cf-clicloudflare/skillsSkill3.5k5d agoApache-2.0A78Claude Code
workers-best-practicescloudflare/skillsSkill3.5k5d agoApache-2.0A25Claude Code
story-origin-checkelvisun/newsjackSkill1.7k5d agoMITA40Claude Code
relevance-coarse-filterelvisun/newsjackSkill1.7k5d agoMITA57Claude Code
skill-changelogluongnv89/asmSkill976yesterdayMITA53Claude Code
character-profileGongLingRui/screen-creative-skillsSkill5111mo agoMITA46Claude Code