ui-redesign

ui-redesign is a command for Claude Code from ianphil/promptbin. It costs 0 tokens per session (1,317 once invoked), scanned A, original, MIT.

A command for creating three alternative PromptBin interface designs in separate Git worktrees. A worktree is an additional working copy of a repository, allowing variants to be developed independently.

In plain words
What is it for?
Use it to generate modern, creative, and minimal redesign variants of the PromptBin web interface and keep each variant isolated for comparison.
Why use it?
It lets several UI directions be explored in parallel without mixing their files or branches together.

Command for Claude Code

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/ianphil/promptbin/ui-redesign
Clone the repo
git clone --depth 1 https://github.com/ianphil/promptbin

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 ui-redesign

README.md
[![agentmods](https://agentmods.dev/badge/commands/ianphil/promptbin/ui-redesign.svg)](https://agentmods.dev/commands/ianphil/promptbin/ui-redesign)
Your own site
<a href="https://agentmods.dev/commands/ianphil/promptbin/ui-redesign"><img src="https://agentmods.dev/badge/commands/ianphil/promptbin/ui-redesign.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,317 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 $0.00000 $0.01317
Opus 5 $0.00000 $0.00659
Sonnet 5 $0.00000 $0.00263
Haiku 4.5 $0.00000 $0.00132

Measured 3d ago against content hash 77a7985f00c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-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 3d 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.

.claude/commands/ui-redesign.md · 124 lines

How it starts

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

UI Redesign Command

Creates 3 worktrees and deploys parallel UI design agents to create distinct UI variants for PromptBin.

Command

/ui-redesign

Prompt

I need you to create 3 different UI redesigns for PromptBin using parallel subagents in separate worktrees.

Step 1: Create 3 worktrees with new branches

git checkout -b ui-variant-modern
git checkout -b ui-variant-creative  
git checkout -b ui-variant-minimal
git checkout master
git worktree add ../promptbin-ui-modern ui-variant-modern
git worktree add ../promptbin-ui-creative ui-variant-creative
git worktree add ../promptbin-ui-minimal ui-variant-minimal

Step 2: Launch 3 parallel UI design architect agents

Launch all 3 agents in parallel using the Task tool with subagent_type "ui-design-architect":

Agent 1 - Modern Professional UI: Working directory: /home/cip/src/promptbin-ui-modern (ui-variant-modern branch) Task: Create a modern, professional UI redesign for PromptBin - a Model Context Protocol (MCP) server with prompt management capabilities.

Key requirements:

  • PromptBin is a Flask web app using HTMX for dynamic interactions
  • Current UI is basic HTML templates - needs complete modernization
  • Focus on clean, professional design with excellent UX
  • Template variables use {{variable}} syntax with special highlighting
  • Categories: coding, writing, analysis
  • Key features: create/edit prompts, organize by category, search, share functionality
  • Must maintain HTMX compatibility (no full page reloads)

Current structure:

  • Templates in src/promptbin/web/templates/
  • Static files in src/promptbin/web/static/
  • Main routes: /, /create, /edit/, /category/, /search, /share

Goal: Create a modern, clean, and highly usable interface that makes prompt management intuitive and efficient. Focus on UI/UX excellence with a professional appearance. Use glassmorphism, modern typography (Inter font), card-based layouts, and professional color schemes.

CRITICAL: You are working in /home/cip/src/promptbin-ui-modern. All file paths must be relative to this directory. Do not work in any other directory.

Read the full file on GitHub · 124 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. 3d ago First seen · 124 lines · 0 tokens per session scan A 77a7985f00c3

Subscribe to this mod's changes

ui-redesign is a command published in the GitHub repository ianphil/promptbin (0 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,317 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.