client-compatibility
仓库创建 2026年4月15日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由
帮助在多个Copilot等表面上稳定运行与孵化代理行为。
这个 Skill 做什么
检测并适配在CLI、VS Code、JetBrains等多端的运行与能力差异。
在多端(CLI、VS Code、JetBrains、GitHub.com 等)运行时先检测当前平台,再针对性调整 agent 启动、能力调用和响应节奏。不同表面可用的工具和权限不同,本技能会做条件分支来决定是否允许用 SQL、怎样 spawn agent、以及超时和并发策略。适用于需要跨不同开发环境稳定运行代理的场景,保证行为可预测且兼容各端能力。
▸ 展开 SKILL.md 英文原文
Platform detection and adaptive spawning for CLI vs VS Code vs other surfaces
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.copilot/skills/client-compatibility/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Codebrew-company/CodebrewRouter/master/.copilot/skills/client-compatibility/SKILL.md"SKILL.MD 节选查看完整文件 ↗
## Context Squad runs on multiple Copilot surfaces (CLI, VS Code, JetBrains, GitHub.com). The coordinator must detect its platform and adapt spawning behavior accordingly. Different tools are available on different platforms, requiring conditional logic for agent spawning, SQL usage, and response timing. ## Patterns ### Platform Detection Before spawning agents, determine the platform by checking available tools: 1. **CLI mode** — `task` tool is available → full spawning control. Use `task` with `agent_type`, `mode`, `model`, `description`, `prompt` parameters. Collect results via `read_agent`. 2. **VS Code mode** — `runSubagent` or `agent` tool is available → conditional behavior. Use
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有