Skip to content

Troubleshooting

Use this guide when the quickstart command does not produce:

OK: workflow-skill-router passed validation

Codex skills usually live under:

PlatformExpected folder
Windows%USERPROFILE%\.codex\skills\workflow-skill-router
macOS / Linux$HOME/.codex/skills/workflow-skill-router

Windows PowerShell check:

Terminal window
$Router = Join-Path $env:USERPROFILE ".codex\skills\workflow-skill-router"
Test-Path $Router
Get-ChildItem $Router

macOS or Linux check:

Terminal window
test -d "$HOME/.codex/skills/workflow-skill-router"
ls "$HOME/.codex/skills/workflow-skill-router"

The folder should contain SKILL.md, agents/, and references/.

Install Python 3, then open a new terminal and run:

Terminal window
python --version

If Windows opens the Microsoft Store instead, install Python from python.org or disable the Python app execution alias in Windows settings.

Some corporate networks block direct GitHub raw downloads. Download the zip from the GitHub releases page in a browser, then run:

Terminal window
$Skills = Join-Path $env:USERPROFILE ".codex\skills"
New-Item -ItemType Directory -Force -Path $Skills | Out-Null
Expand-Archive -Force -Path "$env:USERPROFILE\Downloads\workflow-skill-router-blank.zip" -DestinationPath $Skills

Chinese text looks broken in terminal output

Section titled “Chinese text looks broken in terminal output”

That is often a console display problem, not file corruption. Read the file with explicit UTF-8:

Terminal window
Get-Content -Encoding UTF8 "$env:USERPROFILE\.codex\skills\workflow-skill-router\SKILL.md"

If the file itself contains Unicode replacement-character markers such as U+FFFD, download the package again.

After extraction, the path should be:

.codex/
skills/
workflow-skill-router/
SKILL.md

If you see this instead:

.codex/
skills/
workflow-skill-router-blank/
workflow-skill-router/
SKILL.md

Move the inner workflow-skill-router/ folder into .codex/skills/, then validate again.

You are validating the wrong folder. Pass the folder that directly contains SKILL.md:

Terminal window
python $Validator (Join-Path $env:USERPROFILE ".codex\skills\workflow-skill-router")

The router folder is incomplete. Re-extract workflow-skill-router-blank.zip and confirm the references/ folder exists.

The router cannot explain conflict handling yet. Restore references/routing-rules.md from the blank package, then adapt it.

Each route should have one primary skill and at most three supporting skills. If the work needs more than four skills, split it into stages.

Replace template placeholders with your real skill names, route categories, and conflict rules. The validator expects the router to be adapted before publishing.

validate-router.py checks router structure. audit-public-readiness.py checks the public repository surface: docs, downloads, manifests, examples, and stale assets. A local private router can be structurally valid while still failing public-readiness checks because it contains private names or paths.

Open an issue with:

  • Your operating system
  • The exact command you ran
  • The exact validator output
  • The extracted folder tree around workflow-skill-router/

Do not paste private project names, customer names, hostnames, tokens, or internal repository paths.