Loading...
Loading...
Verify whether `@agent-eyes/agent-eyes` is installed in the current project, help install it when missing, ensure the project has an `AGENTS.md` rule for context-first edits when needed, and fetch selected-code context only for element-anchored or ambiguous UI changes. Use when tasks involve selected elements, DOM path, or precise UI edits that must be anchored to live selection.
npx skill4agent add mrxyy/agents-eyes agent-eyes@agent-eyes/agent-eyesAGENTS.md@agent-eyes/agent-eyesAGENTS.mdGET /context/selecteddata: null@agent-eyes/agent-eyesAGENTS.mdpnpm-lock.yamlpnpmyarn.lockyarnpackage-lock.jsonnpm@agent-eyes/agent-eyespackage.jsondependenciesdevDependenciespnpm add -D @agent-eyes/agent-eyesyarn add -D @agent-eyes/agent-eyesnpm i -D @agent-eyes/agent-eyespnpmyarnnpmvite.config.*webpack.config.*next.config.*nuxt.config.*codeInspectorPlugin(...)bundlershowSwitchagent.acp.commandpackage.jsonpackage.jsonbundlershowSwitch: trueagent.acp.commandAGENTS.mdAGENTS.md@agent-eyes/agent-eyesGET /context/selecteddata: nullAGENT_EYES_BASE_URLCODE_INSPECTOR_BASE_URL.code-inspector/record.jsonporthttp://127.0.0.1:5678GET /context/selected{}Accept: application/jsondata: nulldataactiveSelectionIdselectionscontextsdata.activedata.selectionsactiveSelectionIdactivecontextsselectionscontextsfilePathlinecolumnelementNamedom.tagNamedom.classNamedom.textContentdomPathdomPathlabel || namedataThere are {selectionCount} selected DOM contexts. Consider all of them together.
{activePrefix}Selection #{index}
Source: {filePath}:{line}:{column}
Element: <{elementName} ...>
DOM: {tagName}, className: {className}, text: {textContent}
Path: {domPathJoined}curl -sS "${BASE_URL}/context/selected" \
-H "Accept: application/json"data: nullAGENTS.md