redesign-audit

redesign-audit is a cursor rule for Cursor from kok-o/koko-contextos-agents. It costs 21 tokens per session (1,490 once invoked), scanned A, original, MIT.

A process for reviewing and improving an existing website or web application without replacing its underlying business logic. It scans the code, identifies visual and interaction problems, and applies targeted fixes.

In plain words
What is it for?
It helps modernize legacy applications, review dashboards, improve templates, and refine web interfaces while preserving their component contracts.
Why use it?
It addresses inconsistent typography, colors, layouts, missing interface states, responsiveness, and accessibility issues in existing codebases.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It helps modernize legacy applications, review dashboards, improve templates, and refine web interfaces while preserving their component contracts.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/kok-o/koko-contextos-agents/redesign-audit
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.

Clone the repo
git clone --depth 1 https://github.com/kok-o/koko-contextos-agents

Made for: Cursor.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/redesign-audit/github.svg)](https://agentmods.dev/rules/kok-o/koko-contextos-agents/redesign-audit)
Your own site
<a href="https://agentmods.dev/rules/kok-o/koko-contextos-agents/redesign-audit"><img src="https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/redesign-audit/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 redesign-audit

Your own site · 80×15
<a href="https://agentmods.dev/rules/kok-o/koko-contextos-agents/redesign-audit"><img src="https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/redesign-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,490 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.00021 $0.01490
Opus 5 $0.00010 $0.00745
Sonnet 5 $0.00004 $0.00298
Haiku 4.5 $0.00002 $0.00149

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

Security

Grade A, and why

redesign-audit 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 4d 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.

.cursor/rules/redesign-audit.mdc · 122 lines

How it starts

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

Skill: redesign-audit

Redesign Skill & UI Audit

Overview

A systematic redesign and auditing protocol designed to elevate existing websites, dashboards, and web applications to world-class agency quality. It diagnoses and eradicates generic AI design fingerprints, sloppy typography, inconsistent palettes, and absent interaction states without breaking business logic or underlying component contracts.

When to Use

  • When auditing an existing UI codebase for design quality, responsiveness, or accessibility.
  • When modernizing a legacy application or uplifting generic templates.
  • When tasked to "redesign", "clean up the layout", "audit UI", or "make it look expensive and modern".

Rules & Patterns

1. Workflow: Scan → Diagnose → Fix

  1. Scan: Read the codebase. Identify the framework, styling method (Tailwind v3/v4, vanilla CSS, CSS Modules), and established design tokens.
  2. Diagnose: Run through the design audit categories. Catalog generic patterns, missing states, and optical alignment flaws.
  3. Fix: Apply surgical, targeted upgrades working within the existing stack. Do not rewrite from scratch.

2. Design Audit Categories

Typography
  • Replace Browser Defaults: Swap generic Inter, Roboto, or system fonts with expressive typefaces (Geist, Outfit, Cabinet Grotesk, Satoshi).
  • Presence & Scale: Increase display text size, tighten letter-spacing (-0.02em to -0.04em), reduce line-height on headlines.
  • Reading Comfort: Limit body text to 65 characters per line (max-w-prose), increase line-height to 1.6.
  • Figures: Enable tabular figures (font-variant-numeric: tabular-nums) for numbers in tables and data readouts.
  • Orphan Prevention: Apply text-wrap: balance on headlines and text-wrap: pretty on paragraphs.
Color and Surfaces
  • No Pure Black Backgrounds: Replace #000000 with tinted dark charcoal (#0A0A0A, #121212).
  • Desaturate Accents: Keep accent saturation below 80% so it blends harmoniously with neutrals.
  • Single Accent Color: Commit to one dominant accent hue; remove conflicting secondary tints.
  • Tinted Shadows: Tint shadows to match the background hue rather than harsh black opacity.
  • Background Depth: Prevent sterile flat sections by layering subtle noise overlays, ambient gradients, or masked imagery.

Read the full file on GitHub · 122 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. 4d ago First seen · 122 lines · 21 tokens per session scan A 4387f8938c65

Subscribe to this mod's changes

redesign-audit is a cursor rule published in the GitHub repository kok-o/koko-contextos-agents (2 stars, last pushed 5d ago), licensed MIT. It adds 21 tokens to every session and 1,490 once invoked, about $0.0001 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-09-05.