beautify

beautify is a command for Claude Code from KaelSensei/MagicAIBuilder. It costs 0 tokens per session (1,221 once invoked), scanned A, original, MIT.

A guided command for improving the appearance and usability of a website page or component. It first examines the project rules, existing design system, code, and performance requirements.

In plain words
What is it for?
Use /beautify with a page or component description to inspect its current design, identify pain points, and apply UI enhancements with performance checks.
Why use it?
It helps prevent visual changes that conflict with the existing product style or make the page slower. It gives the agent a defined process for finding the right files and improvements.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents); mentions Cursor.

Good fit Use /beautify with a page or component description to inspect its current design, identify pain points, and apply UI enhancements with performance checks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kaelsensei/magicaibuilder/beautify
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/KaelSensei/MagicAIBuilder

Made for: Claude Code.

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 beautify

README.md
[![agentmods](https://agentmods.dev/badge/commands/kaelsensei/magicaibuilder/beautify.svg)](https://agentmods.dev/commands/kaelsensei/magicaibuilder/beautify)
Your own site
<a href="https://agentmods.dev/commands/kaelsensei/magicaibuilder/beautify"><img src="https://agentmods.dev/badge/commands/kaelsensei/magicaibuilder/beautify.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,221 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.00000 $0.01221
Opus 5 $0.00000 $0.00611
Sonnet 5 $0.00000 $0.00244
Haiku 4.5 $0.00000 $0.00122

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

Security

Grade A, and why

beautify 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.

.agents/commands/beautify.md · 170 lines

How it starts

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

Beautify Command – UI Enhancement Workflow

When /beautify <component or page description> is invoked, immediately execute the following steps.

Skills used: web-performance (PageSpeed and Core Web Vitals checklist for the affected page).


Step 1: Load Project Context

  1. Assume the project root as the working directory
  2. Load and respect all Cursor rules from .cursor/rules/*.mdc
  3. Read core project documentation if present:
    • README.md
    • Design system or style guide documentation
    • Component library documentation
  4. Identify the current Git branch and assume it is a feature/enhancement branch, not main

Step 2: Understand the Target

  1. Parse the component or page description provided after /beautify
  2. Determine:
    • Which component(s) or page(s) need enhancement
    • Current visual state and pain points
    • Desired aesthetic outcome (modern, minimal, bold, etc.)
  3. Locate the exact files involved (components, styles, assets)
  4. Analyze existing design patterns in the project before proposing changes

Step 3: Design Consistency Check (Mandatory)

Before writing any code:

  1. Identify the project's design system:
    • Color palette (primary, secondary, accent colors)
    • Typography hierarchy (fonts, sizes, weights)
    • Spacing system (margins, padding, gaps)
    • Component patterns (buttons, cards, inputs)
  2. Check for:
    • Existing UI libraries (Tailwind, styled-components, etc.)
    • Theme configuration files
    • Design tokens or CSS variables
  3. Ensure enhancements respect existing design language
  4. If design direction is unclear, ask before proceeding

Step 4: Implement Visual Enhancements

Apply improvements following these priorities:

4.1 Layout & Spacing

  • Improve visual hierarchy with consistent spacing
  • Ensure proper alignment and grid structure
  • Add appropriate white space for breathing room

4.2 Typography

  • Enhance readability with proper font sizing
  • Improve text hierarchy (headings, body, captions)
  • Ensure sufficient contrast ratios (WCAG AA minimum)

Read the full file on GitHub · 170 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 · 170 lines · 0 tokens per session scan A 40c8ff5296f6

Subscribe to this mod's changes

beautify is a command published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,221 tokens. 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.