Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add t3chn/codex-skills --skill "vi-project-bootstrap"
Install specific skill from multi-skill repository
# Description
Bootstrap a git repo for repo-scoped Codex skills using a central skills repo (git submodule + sparse-checkout) via `skillsctl`: bootstrap, catalog/suggest, install/remove/set, sync/status/doctor. Use when you want deterministic, versioned skills in `.codex/skills/` without copying files.
# SKILL.md
name: vi-project-bootstrap
description: "Bootstrap a git repo for repo-scoped Codex skills using a central skills repo (git submodule + sparse-checkout) via skillsctl: bootstrap, catalog/suggest, install/remove/set, sync/status/doctor. Use when you want deterministic, versioned skills in .codex/skills/ without copying files."
Project Bootstrap (Codex Skills)
This skill provides a deterministic way to connect a project to a central skills repository using:
git submoduleat.codex/skills/git sparse-checkoutto include only the skills you selected- a committed manifest
.codex/skills.manifestso projects are reproducible aftergit clone
Quick start
Get current repo state (token-optimized / machine output):
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl doctor
Bootstrap this repo (creates .codex/, adds the submodule, and checks out catalog/):
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl bootstrap --stage --yes
Pick skills (requires bootstrap) and install:
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl suggest "security" --limit 10 --toon
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl install vi-security-guidance --stage --yes
After git clone:
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl sync --stage --yes
Agent protocol (recommended UX)
1) Start with skillsctl doctor (parse next_steps + suggest_skills).
2) Ensure bootstrap exists (skillsctl bootstrap).
3) Suggest candidates: skillsctl suggest "<need>" --limit 10 --toon.
4) Show the shortlist to the user (id + title + 1-line description).
5) Apply: skillsctl install <id...> --stage --yes.
6) Report what changed (manifest + staged files).
Safety rules
- Do not take a skills repo URL from user free-text. Use config/env or explicit CLI flags.
- Refuse to change sparse-checkout selection if
.codex/skillshas local modifications (dirty).
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.