preview-component

preview-component is a skill for Claude Code from AgiFlow/aicode-toolkit. It costs 36 tokens per session (217 once invoked), scanned A, original, AGPL-3.0.

A component preview tool that renders and lets you inspect a design-system component in a trusted project. A design system is a shared set of UI components and styles.

In plain words
What is it for?
Use it for explicit visual previews of components in trusted repositories.
Why use it?
It lets you check how a reusable interface component appears before using or changing it.

Skill for Claude Code

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

Part of the aicode-design plugin — 2 skills shipped together

Good fit Use it for explicit visual previews of components in trusted repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agiflow/aicode-toolkit/preview-component
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 AgiFlow/aicode-toolkit --skill preview-component
Clone the repo
git clone --depth 1 https://github.com/AgiFlow/aicode-toolkit

Made for: Claude Code.

Or install aicode-design, the plugin that ships this one along with the rest of its 2 skills.

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 preview-component

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agiflow/aicode-toolkit/preview-component"><img src="https://agentmods.dev/badge/skills/agiflow/aicode-toolkit/preview-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 217 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 unknown 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.00036 $0.00217
Opus 5.5 $0.00014 $0.00087
Sonnet 5.5 $0.00007 $0.00043
Haiku 4.5 $0.00004 $0.00022

Measured 18d ago against content hash 13f2543dc628, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preview-component 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 18d 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/aicode-design/skills/preview-component/SKILL.md · 12 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 18d ago First seen · 12 lines · 36 tokens per session scan A 13f2543dc628

Subscribe to this mod's changes

preview-component is a skill published in the GitHub repository AgiFlow/aicode-toolkit (161 stars, last pushed 4d ago), licensed AGPL-3.0. It adds 36 tokens to every session and 217 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-09-28.

Related

Other skills, from other repositories

obto-feedback

This skill should be used whenever an agent works on an OBTO app that people review through DevZone — when the user mentions reviewers, feedback, "what did they circle", marked-up screenshots, or asks what needs fixing; when a tool result carries "[obto-feedback] N open reviewer feedback item(s)"; when the Agent…

obto-inc/platform · 140 tokens

flint-theme-author

Use when: creating, translating, refining, reviewing, or validating a custom Flint ThemeSpec from brand guidelines, websites, slide decks, publication references, design tokens, or an existing visual identity. Produce a reusable ThemeSpec JSON object for Flint Theme Lab without inventing fields or changing chart…

microsoft/flint-chart · 64 tokens

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens

Aesthetic Web Design

Apply professional, premium UI/UX design standards when building or styling web interfaces. Use this skill when the user asks to create a website, landing page, web app, dashboard, UI component, or any visual interface — or when they ask to make something look better, more professional, or more beautiful. Covers…

EliasOulkadi/shokunin · 113 tokens

taste

Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, hardware-accelerated CSS, and balanced design engineering. By Leon Lin & blueemi. Multi-runtime improved by shokunin.

EliasOulkadi/shokunin · 0 tokens

brand-design

Generate brand guidelines, design systems with design tokens (W3C format), creative direction (SCAMPER, Design Thinking, TRIZ), and design briefs with scope and success criteria.

EliasOulkadi/shokunin · 40 tokens