LZMW/dsh-role-delegation--packages-dsh-role-guard ↗★ 0
dsh-role-guard
Host-level TOOL / MCP / SKILL permission guard for role-directed team delegation in DSH. Enforces role frontmatter fields (tools / disallowedTools / mcp_servers / skills) at the tools/pre-execute waterfall for spawned role children, and filters the model-facing skill catalog down to the role's whitelist so out-of-scope skills are invisible, not just call-denied.
AI 分析
核心用途是限制子智能体的操作权限。适合构建多智能体团队(如安全审计员、只读分析师)的场景,确保派生的子 Agent 不会越权调用危险工具。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗配置
- id: dsh-role-guard
name: dsh-role-guard
config:
rolesDir: D:\my-roles # 可选;仅当 team-delegate 未传 rolePath 时作为回退根