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.
npx skills add vinsonconsulting/claude-skill-foundry --skill ascii-img-reactgit clone --depth 1 https://github.com/vinsonconsulting/claude-skill-foundryWrote 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.
[](https://agentmods.dev/skills/vinsonconsulting/claude-skill-foundry/ascii-img-react)<a href="https://agentmods.dev/skills/vinsonconsulting/claude-skill-foundry/ascii-img-react"><img src="https://agentmods.dev/badge/skills/vinsonconsulting/claude-skill-foundry/ascii-img-react/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.
<a href="https://agentmods.dev/skills/vinsonconsulting/claude-skill-foundry/ascii-img-react"><img src="https://agentmods.dev/badge/skills/vinsonconsulting/claude-skill-foundry/ascii-img-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00223 | $0.01543 |
| Opus 5 | $0.00112 | $0.00772 |
| Sonnet 5 | $0.00045 | $0.00309 |
| Haiku 4.5 | $0.00022 | $0.00154 |
Grade A, and why
ascii-img-react 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ascii-img-react
ascii-img-react renders an image as ASCII art in React via an <AsciiImage>
component. It matches each grid cell to the character whose shape fits best (6D
shape vectors + nearest-neighbour), so edges stay crisp — unlike a brightness ramp.
Pin a version: the package is young (0.1.0, MIT). Install + props live below; the
full API is in references/component-api.md, the algorithm in
references/technique.md.
Mental model
- Characters are matched by shape, not brightness. Six staggered sampling circles
per cell form a 6D vector; the nearest character (Euclidean distance) wins. That is
why diagonals and curves render as
/,\,_rather than a blocky ramp. - The component samples the image on a hidden
<canvas>, so the image must be same-origin or CORS-enabled (img.crossOrigin = "anonymous"). A cross-origin image without CORS headers renders blank. - It outputs a
<pre>of monospace text. Monospace fonts only — proportional fonts break the grid. - The
contrastanddirectionalContrastprops are exactly the global and directional contrast-enhancement exponents from the technique (seereferences/technique.md).
Install
npm add [email protected] # or: bun add / pnpm add / yarn add
Peer deps: React 18 or 19 (react, react-dom).
Usage
import { AsciiImage } from 'ascii-img-react';
export function Hero() {
return (
<AsciiImage
src="/portrait.jpg" // same-origin or CORS-enabled
width={100} // output width in CHARACTERS
color="#39ff14" // green
backgroundColor="#000"
enableRipple={false}
/>
);
}
width/height are in characters. cellWidth/cellHeight (px, default 6×12)
set the sampling resolution. Defaults that matter: contrast={1.5},
directionalContrast={2}, enableDirectionalContrast, enableRipple, fontSize={10},
lineHeight={0.8}. Full prop table in references/component-api.md.
What ships with it
4 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.
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.
- 9d ago First seen · 146 lines · 223 tokens per session scan A 4c98d9c86089
ascii-img-react is a skill published in the GitHub repository vinsonconsulting/claude-skill-foundry (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 223 tokens to every session and 1,543 once invoked, about $0.0011 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.
Other skills, from other repositories
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices. Use when building or reviewing React or Next.js components, state, or render performance.
react-patterns
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.
react-testing
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages.
storybook
Storybook is the fidelity oracle, not the runtime. The converter bundles the package's compiled dist/ into dsbundle.js - the same bundle the claude.ai/design agent builds with - and generates each preview by compiling the story source module itself (hooks, fixtures, local helpers - the whole closure comes along), with…
langchain
Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…
design-sync
Push a React design system to claude.ai/design. This runs a converter that bundles the real component code (from Storybook or a bare package) and uploads it. Use when the user runs /design-sync or says "sync my design system to Claude Design".