技能 Governance
- 作者仓库星标 288
- 作者仓库 ai-collab-playbook
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
- Run the scanner in
codexmode first. - If the results still do not explain the user's confusion, rerun in
allmode. - Explain the problem from roots, duplicate groups, and suspicious flags before recommending changes.
- Prefer Codex
[[skills.config]]disable suggestions over editing individualSKILL.mdfiles unless the user explicitly asks for direct file edits. - Separate recommendations into three buckets: keep, disable for now, and archive or external mirror.
- 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, orbackup-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
- 流狐分类
- 安全
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @cnfjlhj · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 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.
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.
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
Run the scanner in codex mode first. If the results still do not explain the user's confusion, rerun in all mode. Explain the problem from roots, duplicate groups, and suspicious flags before recommending changes.
Report at least: scanned roots total skills
A good run: completes without external dependencies reflects the actual filesystem state
# 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
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Purpose → When to Use → How to Run It → Workflow → Output Contract → Acceptance
要点 -> Use the bundled scanner as the source of truth for local skill inventory. · - The user says they have too many skills and cannot tell what is useful. · Invoke the bundled scan.js from this skill directory. · 1. Run the scanner in codex mode first.
文件/命令 -> 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
内容 SHA-256 -> 3dfcbea6bd24
方法与流程
适用与边界
原文中的明确线索
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