ViewGraph Capture



Overview
Capture DOM structure, screenshots, and annotations for AI-powered UI analysis
ViewGraph is the UI context layer for AI coding agents. When you see a bug in the browser, click it, describe what's wrong, and send it to your agent. The agent receives the element's exact CSS selector, computed styles, accessibility state, and your comment - then finds the source file and fixes the code. Features: - Click any element to annotate with comments, severity, and category - Shift+drag to select a region - Panic capture (Ctrl+Shift+V): instant DOM + screenshot snapshot mid-action, without opening the sidebar - Live annotation status: see real-time progress as your agent works (queued -> fixing -> resolved) - Idea mode: toggle the lightbulb to switch from bug reporting to feature ideation - Smart suggestions: clickable chips for detected issues (missing aria-label, no testid, low contrast) - Keyboard shortcuts: Ctrl+Enter (send), Ctrl+Shift+C (copy), 1/2/3 (severity), Esc (close) - 21 enrichment collectors: network, console, accessibility, layout, components, client storage, transient state, error boundaries, service worker state, build metadata, and more - Page Activity: captures toasts, flash content, animation jank, and render thrashing automatically - Built-in diagnostics: copy or create notes from any section - no DevTools needed - Auto-audit: automatically runs a11y, layout, and testid audits after each capture - Three export modes: Send to Agent (MCP), Copy Markdown (Jira/GitHub), Download ZIP report - HMAC-signed communication: secure connection between extension and server - Baseline management: set and compare structural baselines from the sidebar - Multi-project support with automatic URL routing (up to 4 simultaneous projects) - Session recording for multi-step user journeys - HTML snapshots and screenshots saved alongside captures - Works with Kiro, Claude Code, Cursor, Windsurf, Cline, and any MCP-compatible agent - 41 MCP tools for querying, auditing, diffing, and generating specs NEW IN v0.9: - v3 format: Action Manifest with pre-indexed interactive elements and short refs (@e1-@eN) - 80-85% fewer tokens for interactive queries - 64% smaller content script: axe-core loaded on demand instead of bundled (856KB -> 305KB) - Container merging: semantically empty wrapper divs removed at capture time (30-50% fewer nodes) - observationDepth: request only interactive elements (~400 tokens) instead of full capture (~100K) - Structural fingerprint: topology hash for cache-hit detection between captures - Spatial index: O(log n) element queries by coordinate - Performance instrumentation: capture timings (traverse, enrich, serialize) in every snapshot - TracePulse integration: frontend errors bridged to backend monitoring - Welcome page on first install - verify_fix: one-call smoke test replaces 3-4 separate tool calls - Uninstall CLI: npx @viewgraph/core uninstall NO AGENT REQUIRED Testers and reviewers can use ViewGraph standalone. Annotate issues, copy as Markdown for Jira/GitHub, or download a ZIP report with screenshots. No MCP server needed. PRIVACY - Runs entirely on localhost - no data leaves your machine - No analytics, no tracking, no external services - Captures stored locally in your project's .viewgraph/ directory - Open source (AGPL-3.0): https://github.com/sourjya/viewgraph SETUP Add to your agent's MCP config: { "command": "npx", "args": ["-y", "@viewgraph/core"] } Quick Start: https://chaoslabz.gitbook.io/viewgraph/getting-started/quick-start
0 out of 5No ratings
Details
- Version0.9.2
- UpdatedApril 29, 2026
- Size286KiB
- LanguagesEnglish
- Developer
Email
sourjya.sen@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site