plugins/claude-in-chrome-troubleshooting: shorten skill dir to fix Codex 64-char name limit#167
Closed
siteexperts wants to merge 2 commits into
Closed
Conversation
…dex 64-char name limit
Codex constructs each skill's internal name as `<plugin-dir>-<skill-dir>`.
This plugin had the skill dir name equal to the plugin dir name
(both `claude-in-chrome-troubleshooting`, 32 chars each), producing
a 65-char joined name and failing Codex's 64-char name limit:
failed to load skill .../plugins/claude-in-chrome-troubleshooting/
skills/claude-in-chrome-troubleshooting/SKILL.md:
invalid name: exceeds maximum length of 64 characters
Rename the inner `skills/<name>/` dir to `skills/troubleshooting/`
so the joined name becomes
`claude-in-chrome-troubleshooting-troubleshooting` (47 chars).
Also re-point `.codex/skills/claude-in-chrome-troubleshooting`
symlink at the new path. The skill's frontmatter `name:` and the
plugin's identity are unchanged.
…to drop joined name under 64 chars The previous commit (dbcf09d) renamed the skill DIRECTORY from `claude-in-chrome-troubleshooting` to `troubleshooting`, but Codex's 64-char limit is on `<plugin-dir>-<frontmatter.name>`, not `<plugin-dir>-<skill-dir>`. So the load error persisted: failed to load skill .../plugins/claude-in-chrome-troubleshooting/ skills/troubleshooting/SKILL.md: invalid name: exceeds maximum length of 64 characters Joined name was still 32 + 1 + 32 = 65 chars because the frontmatter still read `name: claude-in-chrome-troubleshooting`. Rename the frontmatter `name:` to `troubleshooting`. Codex's joined name is now `claude-in-chrome-troubleshooting-troubleshooting` (47 chars), under the limit. Verified locally: restart Codex, the load-error stops firing. The plugin identity (plugin.json `name`) is unchanged.
Author
|
Closing — keeping the fix local on my end only. No further action needed from maintainers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Codex constructs each skill's internal name as
<plugin-dir>-<frontmatter.name>and rejects anything over 64 chars. This plugin's defaults produced a 65-char joined name:Codex error in the user's log (verified on macOS,
~/.codex/log/codex-tui.log):Other single-skill trailofbits plugins with the plugin-name==skill-name pattern (e.g.
ask-questions-if-underspecifiedat 63 chars) just barely fit; this one is two chars over.Fix
Two changes:
commit dbcf09d — Rename the inner
skills/<name>/directory fromclaude-in-chrome-troubleshooting→troubleshooting. Tidies up the layout and matches the convention used by multi-skill plugins likebuilding-secure-contracts/skills/<distinct-skill-name>/. Also re-points.codex/skills/claude-in-chrome-troubleshootingsymlink at the new path.commit cbfd05f — Rename the SKILL.md frontmatter
name:field fromclaude-in-chrome-troubleshooting→troubleshooting. This is the load-bearing fix: Codex's joined-name calculation uses the frontmatter, not the dir name. Without this, the dir rename alone leaves the joined name at 65 chars.After both changes, the joined name is
claude-in-chrome-troubleshooting-troubleshooting(47 chars), well under the limit.The plugin identity (plugin.json
name) is unchanged atclaude-in-chrome-troubleshooting.Test plan
codex-tui.log.