# ui tuning lab

> Inject live debug sliders and design presets into your running app to tune UI and animations by eye.

ui tuning lab is a free AI agent skill on Agensi by Mohanad Ramadan, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Mohanad Ramadan](https://www.agensi.io/creators/mohanad-ramadan)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.8.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ui-tuning-lab
- Tags: mobile, ui-ux, web-design, react, swiftui, flutter, ios-development, android-development

## What it does

- Adds a temporary control panel with sliders and knobs directly into your running app
- Creates side-by-side chips to compare different design versions instantly
- Includes undo and redo buttons so you can experiment without breaking anything
- Syncs your favorite settings back to the code automatically when you find a winner
- Works with web, iPhone, Android, and desktop apps using the same simple controls
- Stays hidden from your customers by only appearing in your private development builds

## Who it's for

- **App founders and product owners:** Perfect the look and feel of your app by eye without waiting for a developer to rebuild it every time. Try: "Add a tuning lab to the sign-up button so I can try different colors and spacing."
- **Designers working with AI developers:** Test multiple design versions side-by-side in the live app to see which one works best. Try: "Show me three different layouts for the product list and let me pick the winner."
- **Software engineers and freelancers:** Stop guessing animation speeds and padding values by giving your clients a live control panel. Try: "Create a tuning lab for the header animation with sliders for speed and bounce."

## About this skill

Tuning UI details like spring physics, hex codes, or padding in code is a slow cycle of "edit, rebuild, wait, squint." This skill eliminates the guesswork by injecting a temporary, live control panel directly into your running application.

### What it does
- **Live manipulation** of UI properties using sliders, toggles, and color pickers that update the app state in real-time.
- **Visual comparison** via "Chips" that store and swap between different design candidates, including the original baseline.
- **Motion tuning** with dedicated replay and speed controls to dial in animations and transitions.
- **Automatic landing** of winning values back into your source code once a design is approved.
- **Zero-footprint shipping** by wrapping all tuning code in development-only gates that are stripped from production builds.

### How it works
1. **Inspect and gate.** The agent identifies your UI framework and inserts a development-only activation path like a shake gesture or debug menu item.
2. **Build the lab.** A control panel is added beside the feature being tuned, wired to the component's internal configuration.
3. **User hand-off.** You interact with the running app, dragging sliders and pinning "Looks" until the UI feels right.
4. **Apply and sync.** Clicking "Apply" in the lab sends the final values back to the agent, which updates your constants or theme files.

### Frameworks & tools
Supports React (Web), SwiftUI (iOS/macOS), Jetpack Compose (Android), Flutter, React Native, and WinUI. It integrates with build tools like Vite, Webpack, Xcode, and the Android SDK.

### Why this beats prompting it yourself
Writing UI debug overlays requires tedious boilerplate for state synchronization and platform-specific gating. This skill handles the plumbing, ensuring the lab is reachable only in dev builds and providing a structured workflow for permanent code updates.

### Use cases
- Dialing in complex spring physics for a mobile navigation transition.
- Finding the perfect spacing and typography scale for a dense data dashboard.
- Comparing three distinct design variants of a landing page hero section.
- Rapidly testing accessibility contrast ratios on live components.

### Known limitations
Does not support persistence unless explicitly requested. Requires a local toolchain for smoke-checking unless working in a CI/Cloud-only environment.

## Requires

- Runs on macOS only
- Git
- react-native
- Node.js
- expo
- Optional: Python 3

Works on macOS, Windows and Linux. Tuning iOS or macOS apps needs a Mac with Xcode. On Windows, use Git Bash or WSL for verify.sh.

## Technical details

Supports React, SwiftUI, Compose, Flutter, React Native, and WinUI. Uses a temporary development-only overlay injected into the UI tree. Includes a Python waiter script to capture real-time 'Apply' events via logs or result files. Automatically gates code using #if DEBUG or dynamic imports to ensure zero production overhead. Handles state lifting for constants to enable live binding.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ui tuning lab skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the "live manipulation" feature work without me having to rebuild the app?

The lab creates a real-time bridge between your app's state and a visual control panel. When you adjust a slider, it instantly updates the live component's properties, allowing you to see changes without re-compiling or reloading your environment.

### Will the UI Tuning Lab code bloat my production build or be visible to end-users?

No, safety is built-in. The skill automatically wraps all debug overlays and sliders in development-only gates (like #if DEBUG or process.env.NODE_ENV), ensuring no tuning code or performance overhead ever reaches your production users.

### Which AI agents and frameworks are compatible with this skill?

This skill is compatible with most major LLMs (like GPT-4o or Claude 3.5 Sonnet) that have file-system access. It works across React, SwiftUI, Jetpack Compose, Flutter, React Native, and WinUI environments.

### How do I move the values I've tuned in the lab back into my actual source code?

Once you've found the perfect settings, clicking "Apply" triggers the agent to identify the exact constants, theme files, or hardcoded values in your source code and update them to match your winning design.

### What are "Chips" and how do they help with visual comparison?

The "Chips" feature allows you to save "snapshots" of your UI configurations. You can quickly toggle between different physics settings or color schemes to see which one feels best in the context of the running app.

### What exactly is included with the purchase of this skill?

You receive the full agentic workflow for UI injection, the logic for the live control panel components, and the synchronization engine that handles the hand-off between the visual lab and your codebase.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
