fix-codex-skill

Repair invalid global or project skill formats for Codex compatibility, especially skills installed via `npx skills add` or copied from Claude-only templates. Use when users ask to fix broken global skills, invalid SKILL.md frontmatter, missing `agents/openai.yaml`, non-triggering skills, metadata schema issues, or cross-tool skill compatibility across Codex/Claude/agents skill folders.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fix-codex-skill" with this command: npx skills add khanglvm/fix-codex-skill/khanglvm-fix-codex-skill-fix-codex-skill

Fix Codex Skill

Use this skill to diagnose and repair skill-format problems across user-scope and project-scope skill directories.

What This Skill Fixes

  • Invalid SKILL.md YAML frontmatter.
  • Missing or invalid name / description fields.
  • Non-Codex-compatible frontmatter keys.
  • Missing agents/openai.yaml metadata for Codex UI/runtime.
  • Description/type issues that break quick validation.

Scope Discovery

Run the repair script against default roots (user + project):

scripts/repair_codex_skill_format.py

Default user-scope roots:

  • $CODEX_HOME/skills (if set)
  • ~/.codex/skills
  • ~/.claude/skills
  • ~/.agents/skills

Default project-scope roots:

  • <cwd>/.codex/skills
  • <cwd>/.claude/skills
  • <git-root>/.codex/skills (if different)
  • <git-root>/.claude/skills (if different)

Safer First Run

Preview changes first:

scripts/repair_codex_skill_format.py --dry-run

Then apply:

scripts/repair_codex_skill_format.py

Useful Flags

  • Add extra scan roots:
scripts/repair_codex_skill_format.py --root /path/to/skills --root /another/skills
  • Scan only user-scope defaults:
scripts/repair_codex_skill_format.py --no-project
  • Scan only project-scope defaults:
scripts/repair_codex_skill_format.py --no-user
  • Verbose output:
scripts/repair_codex_skill_format.py --verbose

Validation Step

After repair, validate critical skills:

python3 /Users/khang/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-dir>

For format rules and rationale, load:

  • references/codex-format-rules.md
  • references/scope-discovery.md
  • references/remediation-workflow.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

codex-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated