{
 "schema_version": 1,
 "generated": "2026-10-19",
 "id": "stablyai-orca--click-ui-element-into-agent-prompt",
 "repo": "stablyai/orca",
 "repo_url": "https://github.com/stablyai/orca",
 "repo_slug": "stablyai-orca",
 "title": "Point at a UI element and send its HTML and CSS to an agent",
 "page_title": "How to point at a UI element and send its HTML and CSS to an agent with orca",
 "summary": "Use Design Mode in the built-in browser to click any element and drop its code and a screenshot into your prompt.",
 "who": "Front-end developer fixing a visual bug who cannot easily describe which element is wrong",
 "problem": "Telling an agent 'the button in the header looks off' leads to guesses about the wrong component.",
 "outcome": "The agent gets the element's real HTML, CSS and a cropped screenshot, so its fix targets the right code.",
 "steps": [
  "Run your web app and open it in Orca's embedded Chromium browser.",
  "Turn on Design Mode and click the misbehaving element.",
  "Send the captured HTML, CSS and screenshot into an agent prompt.",
  "Ask the agent to fix the issue and check the result in the same browser."
 ],
 "agent_prompt": "Using stablyai/orca, open <local dev URL> in Design Mode, capture the element <describe element>, and send it to Claude Code with the request: <what to change>. Verify the agent edited the component that renders that element.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Design Mode captures what the browser renders, so framework-generated class names may not map obviously to source files and the agent may still need to search.",
 "category": "Software & DevOps",
 "tags": [
  "Software & DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "macOS, Windows or Linux desktop (README badge lists all three)",
  "At least one coding agent CLI installed and signed in with your own subscription, such as Claude Code, Codex or OpenCode",
  "A git repository to work in, since each agent runs in its own git worktree",
  "Optional: iPhone or Android phone for the mobile companion app",
  "Optional: a remote machine reachable over SSH for SSH worktrees"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "best": false,
 "score": 0.574,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/stablyai-orca/click-ui-element-into-agent-prompt/",
 "md": "https://dedupedai.com/use-cases/stablyai-orca/click-ui-element-into-agent-prompt/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly."
}
