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 Analysis
核心用途是限制子智能体的操作权限。适合构建多智能体团队(如安全审计员、只读分析师)的场景,确保派生的子 Agent 不会越权调用危险工具。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
- id: dsh-role-guard
name: dsh-role-guard
config:
rolesDir: D:\my-roles # 可选;仅当 team-delegate 未传 rolePath 时作为回退根