Overview
- Skill Key
- halfmoon82/subagent-isolation-guard
- Author
- DeepEye
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/halfmoon82/subagent-isolation-guard
- Latest Commit SHA
- bd3fa909a02dd49b64beb4ce10937482eba58aa8
固化子代理物理隔离与语义路由旁路。防止跨代理上下文污染及由于语义路由导致的子代理切模/重置问题。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 subagent-isolation-guard 技能。 若已安装,则直接安装 subagent-isolation-guard 技能。
# 🛡️ Subagent Isolation Guard 固化子代理物理隔离与语义路由旁路。 ## 🎯 解决的问题 1. **上下文污染**:防止不同子代理共享同一个 workspace 导致文件读写冲突和上下文干扰。 2. **路由递归/切模**:防止主代理的语义路由逻辑应用到子代理会话,导致子代理被强制切换模型或清空上下文。 ## 🛠️ 核心机制 ### 1. 物理隔离 (Workspace Isolation) 所有子代理必须配置独立的 `agentDir`: - `agents/pm/workspace/` - `agents/architect/workspace/` - ... ### 2. 语义路由旁路 (Routing Bypass) 在 `semantic-webhook-server.py` 中通过 `session_key` 特征码检测实现自动旁路: - 识别特征:`:subagent:` - 处理动作:直接返回 `continue`,不注入声明,不执行模型建议。 ## 📝 固化规则 (AGENTS.md) 在创建或修改子代理时,必须确保: - `allowAgents` 列表完整。 - 每个子代理都有明确的、不重叠的 `agentDir`。 - 子代理会话 ID 必须包含 `:subagent:` 标识。
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.