# skills-governance

skills-governance scans local skill folders, groups duplicates by name, and sorts skills into keep, disable, or archive.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 475 repo stars
- Author: cnfjlhj
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cnfjlhj/ai-collab-playbook/tree/HEAD/skills/full/skills-governance/SKILL.md
- Updated: 2026-10-13
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/skills-governance

## What it does

The skill runs a bundled `scan.js` scanner that builds a skill inventory straight from the filesystem and `SKILL.md` frontmatter, skipping outdated catalogs or guesswork. It supports a `--mode codex` pass focused on Codex, a `--mode all` pass across several skill roots at once, and a `--duplicates-only` flag to isolate repeated names.

Each run reports the scanned roots, total skill count, enabled and disabled totals, duplicate-name groups, and flags such as `plugin-import`, `system`, or `backup-like` for likely copies or mirrored packs. Recommendations split into three buckets: keep, disable for now, or move to archive or an external mirror.

The default path is suggesting Codex `[[skills.config]]` disables rather than editing `SKILL.md` files directly, and it holds off on touching anything until the exact target paths are confirmed.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill skills-governance -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/skills-governance/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/skills-governance/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill skills-governance -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/skills-governance/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill skills-governance -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/skills-governance/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cnfjlhj/ai-collab-playbook skills/full/skills-governance
```

2. **Manually: put the files in place**
- File: `.github/skills/skills-governance/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill skills-governance -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cnfjlhj/ai-collab-playbook --path skills/full/skills-governance
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/skills-governance/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cnfjlhj/ai-collab-playbook/tree/HEAD/skills/full/skills-governance/SKILL.md

## When to use it
- spot duplicate-named skills across several skill roots
- build a Codex-first plan for what to disable
- tell imported plugin packs apart from original skills
- pull a JSON inventory of skills for scripting
- sort through a large skill collection before changing settings

## Example prompts
- Scan my skills in codex mode and list the duplicates
- Compare all skill roots and show only duplicate groups
- Give me a JSON inventory of skills across agents

## Similar
- [skill-management](https://affpapa.org/en/nevibecode/skills/skill-management.md) — skill · 105 installs
- [skill-governance](https://affpapa.org/en/nevibecode/skills/skill-governance.md) — skill · 368 installs
- [iso-42001-ai-governance](https://affpapa.org/en/nevibecode/skills/iso-42001-ai-governance.md) — skill · 306 installs
- [governance-audit](https://affpapa.org/en/nevibecode/hooks/governance-audit.md) — hook · ★ 41430 repo stars
- [Agent Governance Reviewer](https://affpapa.org/en/nevibecode/agents/agent-governance-reviewer.md) — subagent · ★ 41430 repo stars
- [Aegis — AI Agent Governance](https://affpapa.org/en/nevibecode/mcp/aegis-ai-agent-governance.md) — MCP server · ★ 18 repo stars

From the same set: [cnfjlhj/ai-collab-playbook](https://affpapa.org/en/nevibecode/by/cnfjlhj/ai-collab-playbook.md) — 18 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
