# viewprobe

> Autonomous CSS layout debugger that finds and heals desktop and mobile overflows and tap-target issues using headless geometry.

viewprobe is a free AI agent skill on Agensi by Umang Kumar, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Umang Kumar](https://www.agensi.io/creators/umang-sudo-su)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.1
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/viewprobe
- Tags: web-design, code-review, testing, css, responsive-design, tailwind

## About this skill

Responsive layouts often break in ways that are invisible to standard linters and expensive for vision models to find. ViewProbe solves this by providing an autonomous layout geometry engine that audits live rendered DOMs to pinpoint CSS bugs across multiple viewports. It identifies the exact selectors causing horizontal overflows, text clipping, and accessibility failures in milliseconds.

### What it does
- **Automated Layout Audits** scans local dev servers or live URLs across mobile, tablet, and desktop presets to detect geometry violations.
- **Overflow Detection** identifies elements causing horizontal scroll by comparing `scrollWidth` against `clientWidth` or viewport bounds.
- **Accessibility Checks** flags interactive elements like buttons and links that fall below the WCAG 44x44px tap target standard.
- **Text Truncation Alerts** reports text that overflows its container without proper ellipsis handling.
- **Surgical Debugging** provides the specific CSS selectors and computed styles responsible for layout failures.

### How it works
1. **Trigger Audit** by running `npx viewprobe check <url>` with optional viewport flags for mobile, tablet, or desktop.
2. **Review Violations** using the structured JSON or Markdown output to see a list of offending elements and their specific geometry issues.
3. **Apply Fixes** to the identified selectors, such as replacing fixed pixel widths with fluid constraints or increasing padding for touch targets.
4. **Re-verify** the changes by running the tool again to ensure the layout passes all viewport checks with zero violations.

### Frameworks & tools
This skill works with any web project that runs a local server or live URL, including React, Next.js, Vue, Svelte, and vanilla HTML/CSS. It relies on Node.js and Playwright.

### Why this beats prompting it yourself
Standard LLM prompting cannot see the rendered geometry of your code, leading to "hallucinated" fixes that fail in production. ViewProbe provides ground-truth DOM measurements, allowing the agent to fix bugs based on actual pixel data rather than visual guesswork.

### Use cases
- Audit a new landing page for mobile responsiveness before deployment.
- Fix "white space on the right" bugs caused by horizontal overflow.
- Ensure all navigation buttons meet mobile accessibility standards.
- Detect hidden text clipping issues in dynamic content areas.

### Known limitations
Requires a running local dev server or accessible URL. Requires Node.js 20 or higher to execute via npx.

## Requires

- Node.js

## 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 viewprobe 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 ViewProbe differ from using a standard CSS linter or a visual AI model?

ViewProbe uses an autonomous geometry engine to measure actual pixel data and DOM dimensions. Unlike standard linters or vision models that guess based on code or images, it identifies the exact CSS selectors causing overflows and tap-target issues using ground-truth measurements.

### Which web frameworks and environments are compatible with ViewProbe?

This skill is framework-agnostic and works with any project that renders to the DOM, including React, Next.js, Vue, Svelte, and vanilla HTML. It requires Node.js 20+ and uses Playwright to perform its headless audits.

### How does an AI agent interact with this skill to fix layout bugs?

ViewProbe is designed to be triggered by AI agents via command line, allowing them to scan local dev servers or live URLs. The agent receives structured JSON or Markdown reports, which it then uses to pinpoint and fix specific CSS bugs autonomously.

### Can ViewProbe test multiple screen sizes and mobile-specific accessibility?

Yes, ViewProbe includes presets for mobile, tablet, and desktop viewports. It specifically checks for mobile-centric issues like horizontal overflow ('white space on the right') and WCAG 44x44px tap-target accessibility violations.

### What is included in the purchase and how are updates handled?

You receive the full ViewProbe skill package, which includes the layout geometry engine, the CLI tool for auditing, and documentation for integrating it into your AI agent workflows. Updates are typically provided through the marketplace to ensure compatibility with new browser versions.

---

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.
