[BUG] sync-codex-skills.py: c-level-agents is not in SKILL_DOMAINS, so its 22 skills are in no index
Bug Description
SKILL_DOMAINS in scripts/sync-codex-skills.py lists 18 domain folders. Of
the 99 plugins in .claude-plugin/marketplace.json, exactly one points at a
domain folder the sync does not know: c-level-agents. The c-level-skills
description tells users to install it separately ("install the separate
companion c-level-agents plugin for the persona layer").
Its 22 skills are present as symlinks in every mirror and listed in no index.
Affected Skill
Skill Name: c-level-agents (22 skills: boardroom, brief, caio-review, cco-review, cdo-review, cfo-review, ciso-review, cmo-review, cpo-review, cro-review, cross-eval, cto-review, decide, execute, founder-mode, freeze, gc-review, office-hours, onboard, post-mortem, vpe-review, c-level-agents)
Component: scripts/sync-codex-skills.py, SKILL_DOMAINS
To Reproduce
c-level-agents skills in the tree 22
of those in .codex/skills-index.json 0
of those in .gemini/skills-index.json 0
of those present in .codex 22
of those present in .gemini 22
of those present in .hermes 22
of those present in .vibe 22Counted by resolving each link's target, not by name: the mirrors link at
different levels (.codex, .hermes and .vibe symlink the skill directory,
.gemini symlinks the SKILL.md inside it), and several of these names also
exist under c-level-advisor in the mirror paths, so a name match alone gives
the wrong number in both directions.
and:
plugins in marketplace.json 99
whose source folder is absent from SKILL_DOMAINS 1 -> ./c-level-agentsThe symlinks are left over from an earlier sync generation. The current one neither writes nor removes them, which is why the gap is invisible from the tree alone.
Expected Behavior
A plugin shipped through marketplace.json appears in the skill index of
every mirror.
Actual Behavior
Installed everywhere, indexed nowhere.
Environment
- OS: macOS 15 (Darwin 25.6.0)
- Python: 3.14.7
- Ref:
origin/dev527a1b8
Additional Context
scripts/generate-docs.py fixed the same omission on its side; its comment
names c-level-agents among the standalone-only plugins whose sub-skills were
"silently dropped (~79 pages missing from the docs site)". That makes this an
oversight, not a deliberate exclusion.
find_skills already handles the layout (<domain>/skills/<name>/SKILL.md,
discovery pattern 1), so registering the domain is the whole change. Checked
for name collisions first: 0 of the 22 clash with the 350 already discovered.
loop-library is the other unregistered domain, but its SKILL.md sits at
loop-library/SKILL.md, which matches none of the three discovery patterns.
Separate problem, not covered by this. PR follows.
Source: alirezarezvani/claude-skills