visual-edit
यह क्या करती है
यह स्किल आपके चलाए लोकल ऐप को होस्टेड विज़ुअल एडिटर में खोलती है, जहां उसके रूट कैनवस पर स्क्रीन की तरह दिखते हैं। यह उन लोगों के लिए है जो एजेंट के साथ असली ऐप को विज़ुअली देखना या संपादित करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप चल रहे लोकल ऐप को असली स्क्रीन के रूप में देखना चाहते हैं।
- ✓जब आप लोकल ऐप की स्क्रीन समीक्षा के लिए किसी साथी के साथ साझा करना चाहते हैं।
- ✓जब आप ऐप को विज़ुअली संपादित करके बदलाव सोर्स कोड में वापस देना चाहते हैं।
Skill का लिंक
https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-design/skills/visual-edit/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे चल रहे ऐप को विज़ुअल एडिटर में खोल सकते हैं, ताकि मैं साइनअप और लॉगिन स्क्रीन एक साथ देख सकूं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट जाँचता है कि ऐप के पेज जवाब दे रहे हैं, फिर उन्हें होस्टेड विज़ुअल एडिटर में खोलता है। लोकल ऐप और ब्रिज आपकी मशीन पर चलते हैं, जबकि एडिटर ऑनलाइन होस्ट होता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Visual Edit
Use /visual-edit when the user wants to inspect or edit a real local app
visually instead of generating standalone Alpine HTML. The source of truth is
the running localhost app plus its route URLs. Design shows those routes as
iframe-backed screens on the infinite canvas.
The editor is hosted at https://design.agent-native.com. Never start local
Design; only the target app and bridge run locally.
See the Visual Edit guide for a worked onboarding-flow example.
Fast local startup
- Do not install this skill into the target app or start a local Design server. The skill belongs to the coding host; Design is always the hosted app above.
- If you need to start an Agent-Native framework app yourself, use
AUTH_DISABLED=1with its normal dev command. This is local-only and gives the visual editor the framework's dev identity without a user login. - If an agent-owned local server redirects a requested screen to
/sign-in, restart that server withAUTH_DISABLED=1and probe the route again before opening Design. Never present a sign-in page as the requested screen. - Before calling
open-visual-edit, verify the target URL responds. Start an agent-owned dev server with its normal command when it is down, and wait for the requested routes to respond before opening Design. Never leave a dead localhost URL in the canvas. - Preserve a server you did not start; use its existing authenticated browser session or explain that the target app, rather than Design, requires login.
- When the user gives explicit paths, skip route inventory and place those paths directly. Discover routes only when paths were not supplied.
Installation
npx @agent-native/core@latest skills add visual-edit installs the skill and
hosted Design MCP connector. npx skills@latest add BuilderIO/agent-native --skill visual-edit installs instructions only; page-capable WebMCP hosts need
no connector installation.
Put Design Beside The Chat
Prefer the MCP App from open-visual-edit: it keeps Design beside
chat. Use Copy prompt to hand the visual edits to the coding agent; the host
may request conversation confirmation. Otherwise,
openUrl is a credential-free, read-only fallback; never claim it is editable.
- Inline-browser hosts should open
https://design.agent-native.com/visual-editand call itsopen-visual-editWebMCP tool. It works signed in or out; the one-time capability is not a Design account session. A page-capable browser controller is enough, so Claude-in-Chrome, Claude Code browser tools, the ChatGPT Chrome/browser extension, Puppeteer or Playwright MCP, CDP, and similar JavaScript-capable controllers do not need the hosted MCP connector. - VS Code uses its Design webview/deep link. Without page WebMCP, use the hosted Design MCP connector and its normal OAuth/device authorization. Never replace either path with a local Design server.
Inside Design, use Show/Hide UI from the Cmd K menu or press the
Shift \ shortcut to toggle all editing chrome so only the canvas remains.
Browser WebMCP (Default Without Connector)
Without a connected Design MCP, use a visible browser tab with a main-world
JavaScript evaluator. Prefer the host's inline browser; use external Chrome
only when requested or unavailable. Open
https://design.agent-native.com/visual-edit, keep it visible while tools
register, and read the title before work. Never enter, copy, or request
passwords, cookies, tokens, or codes. Signed-out loopback visual-edit works;
other pages that block tools behind sign-in still require a signed-in tab.
If the browser exposes CDP permissions, grant local-network-access to
https://design.agent-native.com before calling page tools; otherwise use the
page's Connect button and let the browser's permission prompt complete.
Use a native browser-session WebMCP bridge when the host provides one: list
once with list-browser-session-webmcp-tools and run with
run-browser-session-webmcp-tool, or use the list-host-webmcp-tools and
run-host-webmcp-tool pair. Preserve the exact discovered name, origin, and
args. Otherwise use the page-world API. Agent-Native pages expose this helper:
Example assumes signed-in or existing bridge; fresh signed-out loopback must add
the locally held bridgeToken described below.
const an = window.__agentNativeWebMcp;
const status = await an.ready
अक्सर पूछे जाने वाले सवाल
क्या एडिटर मेरे कंप्यूटर पर चलता है?
नहीं। एडिटर ऑनलाइन होस्ट होता है, और केवल आपका ऐप और एक ब्रिज लोकल चलते हैं।
अगर कोई पेज साइन इन मांगे तो?
स्किल कहती है कि डेवलपमेंट के लिए लॉगिन बंद करके लोकल ऐप दोबारा शुरू किया जाए, ताकि असली स्क्रीन दिखे।
क्या यह मेरा कोड बदलता है?
स्किल बदलावों को सोर्स में वापस देने का तरीका बताती है, इसलिए बदलाव कोड के ज़रिए होते हैं।
जानकारी
लेखक का मूल विवरण
Open and collaboratively edit a running local app in Design, with shared fallback previews and source handoff. Use when the user asks to inspect, share, or edit a real local app in Design.
repo: BuilderIO/agent-native
लोकप्रियता
- GitHub स्टार
- 7.6k
- रैंकिंग में स्थान
- #13122
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
design-exploration
7.6kयह आपके एजेंट को UI के कई डिज़ाइन विकल्प साथ-साथ दिखाने, आपकी पसंद चुनवाने और फिर चुने डिज़ाइन को सुधारने में मदद करती है।
turn-into-app
7.6kयह किसी वर्कफ़्लो, स्प्रेडशीट या प्रोजेक्ट को भरी हुई स्क्रीन वाले विज़ुअल ऐप में बदलती है, जिसके कंट्रोल के पीछे एजेंट काम करता है।
visual-plan
7.6kयह सादे टेक्स्ट वाली योजना को डायग्राम, फ़ाइल नक्शों, कोड अंश और खुले सवालों वाली इंटरैक्टिव विज़ुअल योजना में बदलती है।
visual-recap
7.6kयह आपके एजेंट को pull request, ब्रांच या commit का डायग्राम और फ़ाइल नक्शे वाला विज़ुअल सार बनाने देती है, ताकि बदलाव का स्वरूप जल्दी दिखे।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।