基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/debuglebowski/slayzone --skill slay-browser命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | slay-browser |
| description | Control the task browser panel via the slay CLI |
| trigger | auto |
Browser commands control the browser panel embedded in each task's detail view. All commands require $SLAYZONE_TASK_ID to be set (automatic in task terminals).
--panel <state> — visible or hidden. navigate defaults to visible (auto-opens the panel); all other commands default to hidden (operate without showing the panel).--tab <idOrIdx> — target a specific tab. Accepts a 0-based index (e.g. --tab 1) or an opaque tab id (e.g. --tab default). Pure-digit values are treated as indices and resolved via slay tasks browser tabs. Without --tab, commands target the currently active tab.slay tasks browser tabs [--json] — list browser tabs for the current task.
active | idx | id | title | url. The active tab is marked with *.(not loaded) — they exist in the task's saved state but their WebContentsView hasn't mounted (typically because the panel is closed).slay tasks browser new [url] [--panel <state>] [--background] [--json] — create a new browser tab.
--panel visible (auto-opens the panel) and switches to the new tab.--background adds the tab without switching focus away from the active tab.url, the tab opens about:blank.<idx>: <tabId> <url> (or full JSON with --json). Use the returned id with --tab for follow-up commands.slay tasks browser navigate <url> [--panel <state>] [--tab <idOrIdx>] — navigate the targeted tab to a URL.
--tab, the panel auto-opens and switches to that tab before loading the URL.slay tasks browser url [--panel <state>] [--tab <idOrIdx>] — print the targeted tab's current URL.
slay tasks browser screenshot [-o <path>] [--panel <state>] [--tab <idOrIdx>] — capture a screenshot of the targeted tab.
-o copies the screenshot to a specific path; without it, prints the temp file path.slay tasks browser content [--json] [--panel <state>] [--tab <idOrIdx>] — get the targeted tab's text content and interactive elements as JSON.
slay tasks browser click <selector> [--panel <state>] [--tab <idOrIdx>] — click an element on the targeted tab by CSS selector.
slay tasks browser type <selector> <text> [--panel <state>] [--tab <idOrIdx>] — type text into an input on the targeted tab by CSS selector.
slay tasks browser eval <code> [--panel <state>] [--tab <idOrIdx>] — execute JavaScript in the targeted tab's context and print the result.
--tab keep working.--tab value cannot be resolved, the server returns 404 with the available tabs listed for discovery. The CLI also prints the available tabs when an index lookup fails.--tab reference by index can shift if the user reorders or closes tabs. For long-lived scripts that need a stable reference, use the opaque tab id (printed by slay tasks browser tabs).A typical browser verification flow:
navigate to the URLcontent to inspect the page and find selectorsclick or type to interactscreenshot to capture the resultFor multi-tab flows, use slay tasks browser new <url> to spawn additional tabs, then pass the printed tab id (or the index from tabs) via --tab to subsequent commands.