批量治理行动计划
bulk-action-plan
将广泛的治理意图(例如“阻止所有与整个组织共享但尚未审查的智能体”或“将所有财务智能体移至财务组”)转换为可供审查的行动计划文件,管理员在执行任何操作之前先批准该文件。当管理员想要同时对多个智能体执行操作且需要先检查计划时使用。
- License 许可
- MIT
- 最近更新
- 2026-10-27
- Stars
- ★ 28
- Forks
- 9
01 前言 Front Matter
- name
- bulk-action-plan
- status
- draft
- description
- Turn a broad governance intent (e.g. "block every agent shared with the whole org that hasn't been reviewed" or "move all Finance agents to the Finance group") into a reviewable action plan file the admin approves BEFORE anything is executed. Use when the admin wants to act on many agents at once and needs to check the plan first.
02 资源文件 5
- 资产文件assets/configmap-template.yaml6.1 KB
- 资产文件assets/deployment-template.yaml5.1 KB
- 资产文件assets/service-template.yaml3.6 KB
- 参考文档references/deployment-spec.md16.7 KB
- 参考文档references/service-spec.md13.3 KB
03 SKILL.md 正文
bulk-action-plan
When to use
Trigger when a request implies a change across multiple agents at once — "block all …", "reassign every … to …", "clean up the agents that …". For a single, unambiguous agent, use the existing action functions directly instead.
Inputs
- The
Agentsinventory (knowledge source) to resolve which agents match the intent. - The API plugin to read current state (
warden_GetAgentDetail) and to resolve people/groups (warden_SearchUsers,warden_SearchGroups) so the plan shows names, not just ids.
What it does (runs code)
-
Interpret the intent and select the matching agents from the inventory.
-
Using CodeInterpreter, write
action-plan.csvwith one row per proposed change:Column Meaning AgentIdThe agent's Agent IdNameDisplay name Actionblock/unblock/reassign-availability/reassign-deploymentCurrentStateResolved before-state (blocked flag, or current audience names) ProposedStateResolved after-state ApprovedLeft blank for the admin to mark yes/no -
Present the plan and ask the admin to review and edit it (they can change
Approved, remove rows, or re-upload an edited file). -
Only after explicit approval, execute the approved rows one action at a time through the existing functions, following the confirmation and write-back rules, and record each result (hand off to the
change-logskill).
Outputs
action-plan.csv(created for review; the admin may edit and return it).
Notes / constraints
- The plan file is a proposal. Generating it performs no writes.
- High-impact actions (block, removing everyone's access) must still be called out explicitly and confirmed.
- Reassignments replace the whole audience collection, so
ProposedStatemust show the full intended set, not just additions.
Status
Draft stub — not yet referenced by the agent.
04 同仓库更多 Skills
智能体治理报告生成
governance-report
生成可下载的自定义智能体清单治理报告——包括按智能体类型和所有者统计的数量、当前被阻止的智能体、对所有人均可用或已部署的智能体,以及潜在重复项——同时输出可读的 Markdown 摘要和供进一步分析的 CSV。当管理员要求清单摘要、“治理状态”概览或可导出的报告时使用。
治理操作变更日志
change-log
维护 Warden 执行的每一项治理操作的持续审计跟踪。在每次成功阻止/解除阻止/重新分配后,向变更日志文件追加一行,记录智能体、操作、操作前/操作后状态以及时间戳。用于保留可审查的记录,并回答“更改了什么以及何时更改”的问题。