lazycodex icon indicating copy to clipboard operation
lazycodex copied to clipboard

Nested designpowers vendor SKILL.md files are exposed as top-level omo skills

Open dxzcsd123 opened this issue 5 months ago • 1 comments

Summary

OMO 4.14.1 introduced the designpowers reference corpus under omo:frontend, but the materialized vendor SKILL.md files are also discovered as independent top-level omo: skills. Updating to OMO 4.14.2 does not fix it: the same 27 nested designpowers vendor skills remain present.

This bloats the visible skill catalog and contributes to Codex skills metadata budget pressure, even though frontend/SKILL.md says designpowers is an internal frontend ruleset, not a separate skill.

Environment

  • LazyCodex / OMO installed locally: 4.14.1 and 4.14.2
  • Latest LazyCodex npm observed: lazycodex-ai 4.14.2, modified 2026-07-01T00:27:37.886Z
  • Latest LazyCodex source checked: code-yeongyu/lazycodex main 2f3c71adab20
  • Codex CLI installed locally: codex-cli 0.142.3
  • OS: Windows, Codex Desktop / Git Bash

Repository Decision

  • Target repository: code-yeongyu/lazycodex
  • Why: the actionable issue is in the OMO plugin payload. The package materializes reference-only designpowers files as SKILL.md under plugins/omo/skills/frontend/references/designpowers/vendor/skills/*/SKILL.md. Codex can then discover them as skills when scanning recursively.
  • Related upstream Codex issues exist for skill metadata budget/control, for example openai/codex#21425, openai/codex#24299, and openai/codex#19679, but this package can avoid triggering the issue by not shipping reference files named SKILL.md under the plugin skills tree.

Reproduction

  1. Install or inspect OMO 4.14.2.
  2. Run:
    ROOT="$HOME/.codex/plugins/cache/sisyphuslabs/omo/4.14.2/skills"
    find "$ROOT" -name SKILL.md -not -path '*/node_modules/*' | wc -l
    find "$ROOT/frontend/references/designpowers/vendor/skills" -name SKILL.md | wc -l
    find "$ROOT" -name SKILL.md -not -path '*/node_modules/*' \
      | sed "s#^$ROOT/##" \
      | sort \
      | grep -E '(^frontend/SKILL.md$|frontend/references/designpowers/vendor/skills/.*/SKILL.md)'
    
  3. Start a Codex session with OMO enabled and observe additional omo: skills such as omo:accessible-content, omo:design-review, omo:ui-composition, and omo:verification-before-shipping alongside omo:frontend.

Expected Behavior

Designpowers should be available to omo:frontend as internal references only. The top-level OMO skill catalog should not expose every designpowers vendor reference skill independently.

Actual Behavior

Installed payload comparison:

## 4.14.1
total SKILL.md: 52
designpowers vendor SKILL.md: 27

## 4.14.2
total SKILL.md: 52
designpowers vendor SKILL.md: 27

Latest source evidence from code-yeongyu/lazycodex main 2f3c71adab20:

@sisyphuslabs/omo-codex-plugin 4.14.2
all SKILL.md under plugins/omo/skills: 52
designpowers vendor SKILL.md: 27

The affected environment also emitted this runtime warning during a Codex probe:

Skill descriptions were shortened to fit the 2% skills context budget. Codex can still see every skill, but some descriptions are shorter.

Evidence

plugins/omo/skills/frontend/SKILL.md describes designpowers as internal routing/reference context:

references/designpowers/README.md. This is an internal frontend ruleset, not a separate skill.

It also says:

It does not replace this frontend skill, /visual-qa, /ulw-plan, /start-work, or /review-work...

plugins/omo/skills/frontend/ATTRIBUTION.md confirms the materializer includes designpowers skills/*/SKILL.md inside the frontend references tree:

The materialized set includes the ... `skills/*/SKILL.md` files.

No matching open LazyCodex issue was found for searches around designpowers vendor SKILL top-level omo, nested designpowers vendor skills exposed, and accessible-content designpowers omo.

Root Cause

The OMO frontend skill materializes selected upstream designpowers files into skills/frontend/references/designpowers/vendor/, including each upstream skill as vendor/skills/*/SKILL.md. Because these files remain named SKILL.md under the plugin's skills/ tree, Codex can discover them as independent plugin skills instead of treating them as reference documents belonging to omo:frontend.

Proposed Fix

Prefer a package-side fix:

  1. Materialize designpowers vendor skill entrypoints as reference markdown files instead of SKILL.md, for example vendor/skills/<name>/reference.md or vendor/skills/<name>/README.md.
  2. Update frontend/references/designpowers/README.md, UPSTREAM.md, and routing references to the renamed files.
  3. Add a packaging regression test that fails if nested SKILL.md files exist below plugins/omo/skills/frontend/references/.
  4. Keep only intentional top-level OMO skills as skills/<skill-name>/SKILL.md.

If exposing these 27 designpowers capabilities as independent skills is intentional, then the frontend docs should say so explicitly and the skill metadata budget impact should be handled deliberately. Current docs say designpowers is internal to omo:frontend.

Verification Plan

  • Verify find plugins/omo/skills/frontend/references/designpowers/vendor/skills -name SKILL.md | wc -l returns 0 after packaging.
  • Verify intentional top-level OMO skills remain present.
  • Start Codex with OMO enabled and confirm omo:frontend remains available while omo:accessible-content, omo:design-review, omo:ui-composition, etc. are no longer listed as independent top-level OMO skills.
  • Confirm the skills metadata budget warning is not worsened by nested designpowers reference files.

This issue or PR was generated by LazyCodex. Tag: lazycodex-generated

dxzcsd123 avatar Jul 01 '26 02:07 dxzcsd123

[sisyphus-bot] Fixed upstream in OMO via PR: https://github.com/code-yeongyu/oh-my-openagent/pull/5803

What changed:

  • designpowers vendor skill documents under omo:frontend now materialize as frontend/references/designpowers/vendor/skills/<name>/reference.md, not nested SKILL.md entrypoints.
  • omo:frontend remains the public skill entrypoint; intentional top-level OMO skills remain present.
  • Added regression coverage for the synced Codex skill payload and isolated installer payload so frontend/references/**/SKILL.md stays absent and the 27 designpowers reference files stay present.
  • Added Windows-safe upstream SKILL.md source path detection after review caught a path separator edge case.

Verification captured:

  • focused RED/GREEN regression for the 27 nested SKILL.md files,
  • direct payload scan: nested reference SKILL.md count 0, designpowers reference.md count 27, frontend/SKILL.md present,
  • codex-qa isolated install verify PASS with real ~/.codex/config.toml unchanged,
  • codex-qa app-server drive PASS with plugin hooks firing,
  • bun run test:codex PASS (449 tests).

code-yeongyu avatar Jul 01 '26 12:07 code-yeongyu