You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex: description: exceeds maximum length of 1024 characters #230
OpenAI Codex CLI (v0.116.0)
When running Codex CLI, it prompts: .codex/skills/gstack/SKILL.md: invalid description: exceeds maximum length of 1024 characters
Reacted by St0nehead, X, hiddow, Liew Cheon-Fong, Jason Lee, Jinzhuo Liu, sijie, Xiaolin Zhang, Audun Utengen, Felipe Coury and 1 more
Reacted by lary, X, Jason Lee, Jinzhuo Liu, sijie and Yuanye Liu
I hit the same issue locally after reinstalling the latest main into Codex and was able to get a more precise repro.
Environment:
gstack 0.9.0
Codex CLI 0.116.0
Repro:
Install/reinstall gstack for Codex with ./setup --host codex
Run a minimal Codex command such as:
codex exec"Use the gstack-review skill if available. In one short paragraph, tell me whether you can access it and what it is for. If it is unavailable, say unavailable." --json -s read-only
Codex logs this during skill loading:
failed to load skill /Users/diweiming/gstack/.agents/skills/gstack/SKILL.md: invalid description: exceeds maximum length of 1024 characters
What I found:
The failing file is the generated root skill: .agents/skills/gstack/SKILL.md
Its frontmatter description is currently 1972 characters long
More specific generated skills like gstack-review still appear to load, but the root gstack skill itself does not load cleanly in Codex
Expected:
Codex should be able to load the generated root gstack skill without validation errors
Actual:
Codex rejects the root skill because the generated description exceeds its 1024-character limit
Likely fix:
Truncate or otherwise rewrite the generated Codex description for the root gstack skill so it stays under Codex's 1024-character limit
I’m increasingly reading bugs like this as evidence that metadata/frontmatter policy is part of the host integration contract, not just a one-off string-length fix.
PR #364 / RFC #289 are mainly tackling the install/discovery/runtime side first, so they don’t resolve the Codex description cap by themselves: #364
But this issue feels like a strong argument for the next phase too: generation should probably have an explicit per-host metadata/frontmatter profile alongside the path/install contract, so constraints like Codex’s description limit stop showing up as accidental breakage.
Activity
wmzhai commentedon Mar 20, 2026
I hit the same issue locally after reinstalling the latest
maininto Codex and was able to get a more precise repro.Environment:
0.9.00.116.0Repro:
./setup --host codexWhat I found:
.agents/skills/gstack/SKILL.mddescriptionis currently 1972 characters longgstack-reviewstill appear to load, but the rootgstackskill itself does not load cleanly in CodexExpected:
Actual:
Likely fix:
gstackskill so it stays under Codex's 1024-character limitsonglairui commentedon Mar 20, 2026
I hit too
Eddie0521 commentedon Mar 20, 2026
the same
.codex/skills/gstack/SKILL.md: invalid description: exceeds maximum length of 1024 charactersfix(gen-skill-docs): cap Codex descriptions at 1024 chars (garrytan#230)
fix(gen-skill-docs): cap Codex descriptions at 1024 chars (garrytan#230)
garrytan commentedon Mar 23, 2026
Fixed in #346 (Wave 2 Codex Compatibility).
loocor commentedon Mar 23, 2026
I’m increasingly reading bugs like this as evidence that metadata/frontmatter policy is part of the host integration contract, not just a one-off string-length fix.
PR #364 / RFC #289 are mainly tackling the install/discovery/runtime side first, so they don’t resolve the Codex description cap by themselves:
#364
But this issue feels like a strong argument for the next phase too: generation should probably have an explicit per-host metadata/frontmatter profile alongside the path/install contract, so constraints like Codex’s description limit stop showing up as accidental breakage.