recipe-refine-visuals

recipe-refine-visuals is a skill for Claude Code from shinpr/claude-code-discover. It costs 31 tokens per session (848 once invoked), scanned A, original, MIT.

An optional workflow for refining the concrete design values recorded in a brand-direction document, such as reusable colors, spacing, or typography choices.

In plain words
What is it for?
Use it when a named prototype or downstream design tool needs repeatable visual values, and to update the shared brand direction after approval.
Why use it?
It prevents different prototypes or design consumers from using unclear or inconsistent visual decisions.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the discover plugin — 15 skills, 5 agents shipped together

Good fit Use it when a named prototype or downstream design tool needs repeatable visual values, and to update the shared brand direction after approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shinpr/claude-code-discover/recipe-refine-visuals
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 shinpr/claude-code-discover --skill recipe-refine-visuals
Clone the repo
git clone --depth 1 https://github.com/shinpr/claude-code-discover

Made for: Claude Code.

Or install discover, the plugin that ships this one along with the rest of its 15 skills, 5 agents.

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 recipe-refine-visuals

README.md
[![agentmods](https://agentmods.dev/badge/skills/shinpr/claude-code-discover/recipe-refine-visuals.svg)](https://agentmods.dev/skills/shinpr/claude-code-discover/recipe-refine-visuals)
Your own site
<a href="https://agentmods.dev/skills/shinpr/claude-code-discover/recipe-refine-visuals"><img src="https://agentmods.dev/badge/skills/shinpr/claude-code-discover/recipe-refine-visuals.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 848 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.00031 $0.00848
Opus 5 $0.00015 $0.00424
Sonnet 5 $0.00006 $0.00170
Haiku 4.5 $0.00003 $0.00085

Measured 8d ago against content hash 4b9aae7d5f5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

recipe-refine-visuals 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 8d 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/recipe-refine-visuals/SKILL.md · 94 lines

How it starts

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

Context: Refine the concrete tokens used by a named prototype or downstream design consumer. The output remains docs/product/design/brand-direction.md so consumers read one approved source.

When to Use

  • brand-direction.md contains concrete tokens, or the user names a consumer that now requires them
  • A design expert wants to refine the values that affect that consumer

Orchestrator Definition

Execution Protocol:

  1. Follow the refinement flow defined below
  2. Approval gate: At [STOP — BLOCKING], present the token decision and resume after explicit user confirmation

Workflow

Read the approved direction and named consumer → review affected tokens → confirm retain/refine decisions → update the shared brand direction when values change.

Execution Decision Flow

1. Context Reading

Gate: Approved brand direction and a named consumer requiring concrete values must be inspectable. Existing tokens may be refined; absent tokens may be added only for that consumer. Return the exact missing decision when either input is unavailable.

Read:

  • docs/product/design/brand-direction.md — Design Intent, Decision-Relevant Direction, and current Concrete Tokens when present
  • docs/product/design-principles.md — trade-off context
  • docs/product/personas/ — audience context
  • A referenced product only when its current design can change a token under review

2. Token Review

Present the current or required tokens that affect the named consumer, showing:

  • Current value and its derivation source
  • How it traces to a Decision-Relevant Direction row or other governing evidence
  • Any inconsistencies between tokens (e.g., contrast ratio issues between text and surface colors)

Stop the review when remaining token changes cannot affect accessibility, approved direction, or the named consumer.

3. Expert Refinement

Guide the expert through only the token categories selected for refinement:

Color Tokens
  • Present current palette as a visual summary (hex values with role labels)
  • Ask: which values to keep, which to override
  • Validate applicable text and surface token pairs against the WCAG AA contrast boundary
  • Validate color harmony across the full palette

Read the full file on GitHub · 94 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. 8d ago First seen · 94 lines · 31 tokens per session scan A 4b9aae7d5f5d

Subscribe to this mod's changes

recipe-refine-visuals is a skill published in the GitHub repository shinpr/claude-code-discover (10 stars, last pushed 10d ago), licensed MIT. It adds 31 tokens to every session and 848 once invoked, about $0.0002 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 skills, from other repositories