slicc-handoff
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSLICC Handoff
SLICC 任务移交
This skill bridges the current coding agent and the SLICC browser agent. It builds and dispatches a structured handoff that SLICC surfaces to the user as a yes/no approval card.
It supports two verbs:
- — continue the current task inside SLICC.
handoff:<instruction> - — ask SLICC to install a skill from a GitHub repository.
upskill:<github-url>
For canonical SLICC protocol, API, and documentation references, fetch — it is the maintainer-curated, machine-readable index for LLM consumers and is the authoritative source for the handoff/upskill rels, the public API catalog, and links to the protocol and architecture docs.
https://www.sliccy.ai/llms.txt此技能可衔接当前编码Agent与SLICC浏览器Agent。它会构建并发送结构化移交请求,SLICC会将其以确认卡片(是/否选择)的形式展示给用户。
它支持两种动词前缀:
- — 在SLICC内继续当前任务。
handoff:<instruction> - — 请求SLICC从GitHub仓库安装技能。
upskill:<github-url>
如需获取SLICC标准协议、API及文档参考,可访问 — 这是由维护者整理的、面向LLM消费者的机器可读索引,是移交/技能升级关联关系、公开API目录以及协议和架构文档链接的权威来源。
https://www.sliccy.ai/llms.txtWhen to Use This Skill
使用场景
Use this skill when the user wants to:
- Continue the in-progress task inside the SLICC browser agent (for example, to drive a real browser session, test a flow on a live site, or use a tool only available in SLICC).
- Install a skill from a GitHub repo into a running SLICC instance.
Do not use this skill when:
- The user just wants the local agent to keep working — no handoff is needed.
- The user wants to install a skill into the local agent (use the local agent's own skill install flow instead).
当用户有以下需求时使用此技能:
- 在SLICC浏览器Agent内继续进行中的任务(例如,驱动真实浏览器会话、在实时站点上测试流程,或使用仅在SLICC中可用的工具)。
- 将GitHub仓库中的技能安装至运行中的SLICC实例。
请勿在以下场景使用此技能:
- 用户仅希望本地Agent继续工作 — 无需移交任务。
- 用户希望将技能安装至本地Agent(请使用本地Agent自身的技能安装流程)。
What to Do
操作步骤
-
Compose a single-line, action-oriented instruction that captures what SLICC should do next. Include enough context for SLICC to pick up the work without your conversation history.
-
Pick a verb prefix:
- to continue a task.
handoff:<instruction> - to install a skill. The URL can be the repo root or a
upskill:<github-url>URL to install only a sub-path of the repo.tree/<branch>/<sub/path>
-
Run the helper script with:
--openbashnode .claude/skills/slicc-handoff/scripts/slicc-handoff --open "handoff:<instruction>"bashnode .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:<github-url>" -
Tell the user that SLICC will show an approval prompt in its Chat tab, and they should accept it to dispatch the handoff.
If the user runs a non-default SLICC instance on another port, prefix the call with (or whatever port they chose) so the localhost POST hits the right instance:
SLICC_PORT=5720bash
SLICC_PORT=5720 node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "handoff:<instruction>"-
编写一行面向动作的指令,明确SLICC接下来应执行的操作。需包含足够上下文,确保SLICC无需依赖对话历史即可接手工作。
-
选择动词前缀:
- 使用继续任务。
handoff:<instruction> - 使用安装技能。该URL可以是仓库根目录,也可以是
upskill:<github-url>格式的URL,用于仅安装仓库中的子路径内容。tree/<branch>/<sub/path>
- 使用
-
运行带参数的辅助脚本:
--openbashnode .claude/skills/slicc-handoff/scripts/slicc-handoff --open "handoff:<instruction>"bashnode .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:<github-url>" -
告知用户SLICC会在其聊天标签页显示确认提示,用户需确认后才能发起任务移交。
如果用户在其他端口运行非默认SLICC实例,请在调用前添加(或用户选择的其他端口),以便本地POST请求能命中正确实例:
SLICC_PORT=5720bash
SLICC_PORT=5720 node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "handoff:<instruction>"How It Works
工作原理
The script builds a URL and dispatches it through two parallel paths — a profile-independent localhost POST to a SLICC CLI/Electron float, and (with ) a real browser navigation that the SLICC extension picks up via an RFC 8288 header. Either path surfaces a yes/no approval card in the SLICC cone, dispatched by verb prefix once accepted. For the full protocol details (rel URIs, payload shape, public API catalog), see and the linked handoff protocol reference.
https://www.sliccy.ai/handoff?<verb>=<urlencoded-payload>--openLinkhttps://www.sliccy.ai/llms.txt该脚本会构建格式的URL,并通过两条并行路径发送 — 一条是独立于配置文件的本地POST请求,发送至SLICC CLI/Electron浮窗;另一条(配合参数)是真实浏览器导航,SLICC扩展会通过RFC 8288 header捕获该请求。无论通过哪条路径,都会在SLICC界面中显示确认卡片,用户确认后将根据动词前缀执行对应操作。如需了解完整协议细节(关联URI、负载格式、公开API目录),请查看及链接的移交协议参考文档。
https://www.sliccy.ai/handoff?<verb>=<urlencoded-payload>--openLinkhttps://www.sliccy.ai/llms.txtExamples
示例
Continue an in-progress signup flow in the browser:
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "Continue the signup flow in the browser"Install a skill collection from a GitHub repo:
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:https://github.com/slicc/skills-extra"Install only a single skill (a sub-path of a repo on a specific branch):
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:https://github.com/slicc/skills-extra/tree/main/skills/foo"在浏览器中继续进行中的注册流程:
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "Continue the signup flow in the browser"从GitHub仓库安装技能集合:
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:https://github.com/slicc/skills-extra"仅安装单个技能(特定分支仓库的子路径):
bash
node .claude/skills/slicc-handoff/scripts/slicc-handoff --open "upskill:https://github.com/slicc/skills-extra/tree/main/skills/foo"Prerequisites
前置条件
- Node.js 18+ installed (the script uses the global and
fetchAPIs).AbortSignal.timeout - A browser opener available on the host (on macOS,
openon Linux,xdg-openon Windows).cmd /c start - A SLICC instance reachable either on (CLI/Electron float) or via the SLICC extension installed in the browser profile that opens the URL.
localhost:${SLICC_PORT ?? 5710}
- 已安装Node.js 18+(脚本使用全局和
fetchAPI)。AbortSignal.timeout - 主机上有可用的浏览器启动工具(macOS为,Linux为
open,Windows为xdg-open)。cmd /c start - SLICC实例可通过(CLI/Electron浮窗)访问,或通过打开URL的浏览器配置文件中安装的SLICC扩展访问。
localhost:${SLICC_PORT ?? 5710}
Notes
注意事项
- Treat the user-supplied instruction string as untrusted input that will be displayed to the user in SLICC for approval — do not embed secrets or credentials in it.
- The script intentionally swallows errors from the localhost POST so it still falls through to when no local SLICC server is running.
--open
- 将用户提供的指令字符串视为不可信输入,该内容会在SLICC中显示给用户确认 — 请勿在其中嵌入密钥或凭证。
- 脚本会有意忽略本地POST请求的错误,以便在本地SLICC服务器未运行时仍能通过路径执行操作。
--open