redesign

redesign is a command for coding agents from HalidSaglam/saglitzdesign-mcp. It costs 30 tokens per session (2,146 once invoked), scanned A, original, MIT.

A command for improving an existing user interface using documented design rules and before-and-after measurements. A user interface is the screens and controls people use in an app or website.

In plain words
What is it for?
Use it when an existing website or app screen needs to be made clearer, calmer, bolder, or more effective.
Why use it?
It gives a structured way to find and address problems in clarity, visual quality, and conversion instead of making changes by intuition alone.

Command

Part of the saglitzdesign plugin — 9 skills, 10 commands, 2 MCP servers shipped together

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.

agentmods
npx agentmods add commands/halidsaglam/saglitzdesign-mcp/redesign
Clone the repo
git clone --depth 1 https://github.com/HalidSaglam/saglitzdesign-mcp

Or install saglitzdesign, the plugin that ships this one along with the rest of its 9 skills, 10 commands, 2 MCP servers.

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 redesign

README.md
[![agentmods](https://agentmods.dev/badge/commands/halidsaglam/saglitzdesign-mcp/redesign.svg)](https://agentmods.dev/commands/halidsaglam/saglitzdesign-mcp/redesign)
Your own site
<a href="https://agentmods.dev/commands/halidsaglam/saglitzdesign-mcp/redesign"><img src="https://agentmods.dev/badge/commands/halidsaglam/saglitzdesign-mcp/redesign.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00030 $0.02146
Opus 5 $0.00015 $0.01073
Sonnet 5 $0.00006 $0.00429
Haiku 4.5 $0.00003 $0.00215

Measured yesterday against content hash ecafdd944d78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

redesign 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 yesterday.

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.

commands/redesign.md · 96 lines

How it starts

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

Redesign / improve the UI, using the SaglitzDesign method.

You have the SaglitzDesign tools available. Use them — do not design from memory.

Knowledge (judgement):

  • get_design_roadmap(project_type) — the phased plan; call FIRST on any build.
  • search_design_knowledge(query) / get_design_doc(id) — rules & specs. Ids also readable as saglitzdesign://doc/{id}.
  • get_component_guidance(component, platform) — per-component specs + patterns.
  • get_design_language(language) — Material 3 / Liquid Glass / iOS / Android / macOS / visionOS / Fluent / web-trends / tokens.
  • compare_design_languages(topic, platforms) — how each platform solves one surface, and what NOT to port.
  • get_design_examples(query, platform) — curated real-world example screens.
  • seo_geo_guide(scope, topic) — SEO & GEO for web.

Generators (real output, not advice — prefer these over inventing values):

  • create_design_system(brand_color, vibe, platform) — the one-call foundation: direction card + color + fonts + icons + type scale + elevation + tokens + component list.
  • generate_layout_system(preset) — breakpoints, containers, grid, container queries, section rhythm.
  • generate_color_system / suggest_font_pairing / suggest_icon_library / generate_type_scale / generate_elevation_system / generate_motion / generate_design_tokens — the individual layers.
  • get_component_recipe(component, stack) — production-ready accessible code for button/input/modal/toast/card/switch/tabs/empty-state/list-row/navigation/search/select/table/tooltip/form/pagination/skeleton/badge/breadcrumb.
  • fix_contrast(foreground, background, target) — the corrected color value, not just a fail report.

Auditors (deterministic gates — run these before claiming done):

  • audit_accessibility(contrast_pairs, tap_targets) — exact WCAG ratios and target sizes.
  • design_lint(code) — design & a11y anti-patterns with line numbers.
  • audit_design_system(code) — consistency score + value sprawl across the whole codebase.
  • audit_project(path) — the same auditors over a real directory instead of a pasted snippet, ranked worst-file-first. Prefer this when you have the source on disk.
  • audit_generic_design(code) — the specific defaults generated interfaces reach for (stock indigo/violet/purple gradient, Inter as the only family, the rounded-2xl card recipe, gradient headings, eyebrow-on-every-heading, three or more animate-pulse/shimmer placeholders). Facts about source, not taste. A genuine indigo brand still flags.
  • audit_ux_copy(text) — readability, passive voice, jargon, weak CTAs.
  • audit_ethical_design(code) — named deceptive-pattern tells in a pasted snippet (confirmshaming decline copy, a pre-checked marketing checkbox, literal scarcity/deadline copy with no live binding, Accept all without Reject all). Facts about source, not a verdict. Pair with get_design_doc("ethical-design").
  • audit_apple_ui(path) — iOS/macOS project directory. Reads configuration and Swift. Directory only; no snippet mode.
  • audit_android_ui(path) — Android project directory. Reads the manifest, resource XML and Compose. Directory only; no snippet mode.
  • measure_screenshot(path, scale, format) — measures a PNG screenshot's real palette, contrast ratios, density and structure, and names a stock-region fact when a significant cluster sits in Tailwind indigo/violet/purple. Use it whenever you have an image file rather than source.
  • design_review_checklist(project_type, focus) — the assembled audit checklist.

Sequence

  1. Baseline it with numbers. Run design_review_checklist, audit_design_system(code) and design_lint(code), and score the current state with get_design_doc("design-critique-scoring"). Record the consistency score and the critique score — these are your before/after evidence.
  2. State the top problems and the design direction you'll take (and why).
  3. Pull the relevant craft docs: visual-craft-standards, typography-craft, clean-app-design, and the foundations. For conversion goals, add conversion-ux + storybrand-copywriting.
  4. Fix the system, not the symptoms. If audit_design_system showed sprawl, generate the target scales (create_design_system, or the individual generators) and migrate values onto tokens — that is usually a bigger visual win than restyling components one by one. Collapse each near-duplicate color onto the survivor the audit named.
  5. Reference real examples with get_design_examples for the pattern in question.
  6. Apply the changes in code, preserving working behavior. Improve hierarchy by de-emphasizing secondary content rather than only enlarging primary; fix spacing to the scale; one primary CTA; contrast; states.

Read the full file on GitHub · 96 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. yesterday Changed · +8 lines ecafdd944d78
  2. 5d ago First seen · 88 lines · 30 tokens per session scan A 264dd747328d

Subscribe to this mod's changes

redesign is a command published in the GitHub repository HalidSaglam/saglitzdesign-mcp (4 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 2,146 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.