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 agentmods add commands/halidsaglam/saglitzdesign-mcp/redesigngit clone --depth 1 https://github.com/HalidSaglam/saglitzdesign-mcpWrote 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/commands/halidsaglam/saglitzdesign-mcp/redesign)<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>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.00030 | $0.02146 |
| Opus 5 | $0.00015 | $0.01073 |
| Sonnet 5 | $0.00006 | $0.00429 |
| Haiku 4.5 | $0.00003 | $0.00215 |
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.
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
- 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.
- State the top problems and the design direction you'll take (and why).
- Pull the relevant craft docs: visual-craft-standards, typography-craft, clean-app-design, and the foundations. For conversion goals, add conversion-ux + storybrand-copywriting.
- 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.
- Reference real examples with get_design_examples for the pattern in question.
- 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.
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.
- yesterday Changed · +8 lines ecafdd944d78
- 5d ago First seen · 88 lines · 30 tokens per session scan A 264dd747328d
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.
Other commands, from other repositories
critique-screen
Run all seven visual critiques on a screen and output a prioritised fix list.
critique-ux
Run a focused UX critique on a screen — affordances, information density, and hierarchy — and output a prioritised fix list.
handoff
Run the full handoff workflow — specs, measurements, assets, states, and a QA checklist — and output a developer-ready package.
design-onboarding
Design a first-run experience end to end — activation path, progressive disclosure, and time to first value.
frame-problem
Structure an ambiguous design challenge into a clear problem definition with constraints and criteria.
strategize
Develop a complete UX strategy for a product or feature area.