Skip to content

Fix ~2% skill usage: selective install (--only/--exclude) + skill-budget warning (v3.7.0) - #2

Draft
GopalGB wants to merge 1 commit into
mainfrom
claude/tender-meitner-xbxa78
Draft

Fix ~2% skill usage: selective install (--only/--exclude) + skill-budget warning (v3.7.0)#2
GopalGB wants to merge 1 commit into
mainfrom
claude/tender-meitner-xbxa78

Conversation

@GopalGB

@GopalGB GopalGB commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Problem — "only ~2% of skills get used"

Per OpenAI's Codex Skills docs, Codex loads the initial skill list within only ~2% of the context window (~8,000 characters). With all 383 skills installed (descriptions total ~100 KB / ~25k tokens — ~12× over budget), Codex shortens descriptions and omits most skills from the auto-trigger list. They still run when invoked by path, but won't fire on their own — the "2% skill usage" symptom. Shipping 383 skills fundamentally exceeds this cap; the fix is to install a focused subset.

Fix

install.sh selective install (non-breaking — default still installs all):

  • --only=<list> — install ONLY the listed packs/skills
  • --exclude=<list> — install everything EXCEPT the listed packs/skills
  • lists take comma-separated pack prefixes (e.g. xls) or exact skill names (e.g. production-audit)
  • post-install warning above ~25 skills, printing the exact --only/--exclude/prune commands
bash install.sh --only=xls,pptx,pbi,production-audit,ponytail   # office subset (~20-25 fit the budget)
bash install.sh --exclude=ml,ai,sde,agentic,retail,research     # drop the heavy/eng packs

Docs: README gains a "⚠ Skill budget" callout; docs/OFFICE-SETUP.md gains office-subset guidance. Both point to /prompts:absorb for per-project scoping into ./.agents/skills/.

Verification

  • --only=ponytail,production-audit → installs exactly those 2 (real install to temp dir confirmed).
  • --only=xls,ponytail → 27; --exclude=ml,ai,sde,agentic,craft → 270 (verified: no prefix over-match; ml intentionally also matches the core ml-engineer).
  • Default install → 383 + the budget warning fires.
  • bash install.sh --help clean; bash -n install.sh OK; smoke 19/19 green.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01QTbNNSTfHHsQXrR1FgyK6t


Generated by Claude Code

…kill-usage) (v3.7.0)

Codex shows its skill list within only ~2% of the context window (~8000 chars).
With all 383 skills installed it shortens descriptions and OMITS most from the
auto-trigger list — the "only ~2% of skills get used" symptom. (Ref: OpenAI
Codex Skills docs.)

- install.sh: --only=<list> (allowlist) and --exclude=<list> (denylist), taking
  comma-separated pack prefixes (e.g. xls) or exact skill names (e.g.
  production-audit), so you install a focused subset that fits the budget.
- Post-install warning when >25 skills are installed, with the exact --only/
  --exclude/prune commands. Default (install all) unchanged.
- README "Skill budget" callout + OFFICE-SETUP office-subset guidance.

Verified: --only/--exclude filter exactly (prefix + exact-name match, no
over-match); --help clean; smoke 19/19 green. Follow-up to merged PR #1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTbNNSTfHHsQXrR1FgyK6t
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e671ff2b-1a6a-4615-80e1-d6878648621e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/tender-meitner-xbxa78

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants