技能治理
- 作者仓库星标 288
- 作者仓库 ai-collab-playbook
- 领域
- 安全
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @cnfjlhj · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 运行环境要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Skills Governance
## Purpose
Use the bundled scanner as the source of truth for local skill inventory. Base recommendations on real directories and `SKILL.md` frontmatter instead of stale catalogs or memory.
## When to Use
- The user says they have too many skills and cannot tell what is useful.
- The user wants a Codex-first keep or disable plan.
- The user needs duplicate-name groups across multiple skill roots.
- The user suspects imported plugin packs or mirrored skills are causing confusion.
- The user wants a filesystem-backed inventory before changing skill settings.
## How to Run It
Invoke the bundled `scan.js` from this skill directory.
- Codex-first inventory: `node scan.js --mode codex --format markdown`
- Cross-agent inventory: `node scan.js --mode all --format markdown`
- Duplicate review only: `node scan.js --mode all --duplicates-only --format markdown`
- Machine-readable output: `node scan.js --mode all --format json`
## Workflow
1. Run the scanner in `codex` mode first.
2. If the results still do not explain the user's confusion, rerun in `all` mode.
3. Explain the problem from roots, duplicate groups, and suspicious flags before recommending changes.
4. Prefer Codex `[[skills.config]]` disable suggestions over editing individual `SKILL.md` files unless the user explicitly asks for direct file edits.
5. Separate recommendations into three buckets: keep, disable for now, and archive or external mirror.
6. If the user asks to execute changes, list exact target paths and wait for confirmation first.
## Output Contract
Report at least:
- scanned roots
- total skills
- enabled and disabled counts
- duplicate-name groups
- suspicious flags such as `plugin-import`, `system`, or `backup-like`
- a compact per-skill list when needed
## Acceptance
A good run:
- completes without external dependencies
- reflects the actual filesystem state
- shows duplicate groups by skill `name`
- remains stable across repeated runs unless files changed
章节与文件索引
按说明文件中的顺序排列。
目的
何时使用
如何运行它
工作流程
产出合约
文件/命令 -> scan.js · node scan.js --mode codex --format markdown · node scan.js --mode all --format markdown · node scan.js --mode all --duplicates-only --format markdown · node scan.js --mode all --format json · all · [[skills.config]] · plugin-import
内容校验值 -> 3dfcbea6bd24
当前原文的自动摘译,尚未人工审校。
目的
使用捆绑的扫描仪作为本地技能清单的真实来源。基于真实目录和
SKILL.mdfrontmatter 的推荐,而不是陈旧的目录或内存。何时使用
用户表示他们的技能太多,不知道什么是有用的。用户想要 Codex 优先的保留或禁用计划。用户需要跨多个技能根的重复名称组。用户怀疑导入的插件包或镜像技能造成了混乱。用户在更改技能设置之前需要文件系统支持的清单。
如何运行它
从此技能目录中调用捆绑的
scan.js。 Codex 优先清单:node scan.js --mode codex --format markdown跨代理清单:node scan.js --mode all --format markdown仅重复审核:node scan.js --mode all --duplicates-only --format markdown机器可读输出:node scan.js --mode all --format json工作流程
首先在
codex模式下运行扫描仪。如果结果仍然不能解释用户的困惑,请在all模式下重新运行。在建议更改之前,从根源、重复组和可疑标志解释问题。优先选择 Codex[[skills.config]]禁用建议而不是编辑单个SKILL.md文件,除非用户明确要求直接文件编辑。将建议分为三个部分:保留、暂时禁用以及存档或外部镜像。产出合约
至少报告:扫描的根启用和禁用的总技能计数重复名称组