Before installing this skill, confirm that:
- you have Codex with support for custom skills
Node.jsandnpmare installednpxis available
Check with:
node --version
npm --version
command -v npxIf npx is missing, install Node.js first.
git clone https://github.com/SC123667/html-ui-prototype-migrator.git
mkdir -p ~/.codex/skills
cp -R ./html-ui-prototype-migrator/html-ui-prototype-migrator ~/.codex/skills/Restart Codex afterwards.
Copy the repository folder:
html-ui-prototype-migrator/
into:
~/.codex/skills/
The final layout should look like:
~/.codex/skills/html-ui-prototype-migrator/
SKILL.md
agents/
references/
scripts/
Confirm that these files exist:
~/.codex/skills/html-ui-prototype-migrator/SKILL.md~/.codex/skills/html-ui-prototype-migrator/scripts/playwright_cli.sh~/.codex/skills/html-ui-prototype-migrator/scripts/task_dir.sh~/.codex/skills/html-ui-prototype-migrator/scripts/cleanup_task.sh
Optional check:
bash ~/.codex/skills/html-ui-prototype-migrator/scripts/playwright_cli.sh --helpIf you see Playwright CLI help output, the basic installation is working.
After restarting Codex, trigger the skill with a prompt such as:
Use $html-ui-prototype-migrator to build a temporary browser prototype, debug it visually, and migrate it into my project after I approve it.
If you installed it from a git clone:
cd html-ui-prototype-migrator
git pull
rm -rf ~/.codex/skills/html-ui-prototype-migrator
cp -R ./html-ui-prototype-migrator ~/.codex/skills/Then restart Codex.
rm -rf ~/.codex/skills/html-ui-prototype-migratorCommon causes:
- Codex was not restarted
- the directory was copied to the wrong location
- the skill folder nesting is incorrect
The correct directory should be:
~/.codex/skills/html-ui-prototype-migrator/
Typical causes:
- Node.js / npm is not installed
npxis not available- the first Playwright CLI run needs network access
This usually means the target software is not suitable for an HTML/CSS/JS-based UI, or the target project path has not been provided yet.