Codex CLI 0.125+ is required. Earlier versions accept the
source: "./"marketplace shape but newer versions reject it.
codex plugin marketplace add litestar-org/litestar-skillsThen in a Codex session:
/plugins
Enable litestar from the list. The marketplace catalog lives at .agents/plugins/marketplace.json; its local source.path points at the committed generated package in plugins/litestar/.
If you have the repo cloned and want Codex to pick up your local changes:
codex plugin marketplace add /path/to/litestar-skillsCodex reads the marketplace at .agents/plugins/marketplace.json and loads the generated package under plugins/litestar/.
Codex custom agents live in .codex/agents/*.toml (pure TOML; tools inherited from session config.toml). The repo ships litestar-reviewer — invoke with $agent litestar-reviewer inside Codex.
The four host-dialect agent files are generated from canonical YAML sources at tools/agent-sources/<name>.yaml. Run make agents after editing the source.
Codex surfaces installed skills by displayed name. In $-trigger Codex surfaces, force the Litestar hub with $litestar:litestar and focused skills with $litestar:<skill-name> (for example $litestar:litestar-routing). Natural-language requests also work.
Codex plugins do not currently expose plugin-defined /litestar:* slash commands. Treat the shipped commands/litestar/*.toml files as host payload for slash-command-capable harnesses and as canonical prompts the litestar skill can follow in Codex.
codex plugin marketplace upgrade litestarTo reinstall after a local package change:
codex plugin remove litestar@litestar
codex plugin add litestar@litestarIn a Codex session:
$skill list | grep litestar
$agent list | grep litestar-reviewer
The SessionStart hook (hooks/session-start.sh, dispatched via hooks/hooks-codex.json) should inject project-aware Litestar skill reminders into the session context.
Edit ~/.codex/config.toml:
[[skills.config]]
path = "/path/to/skill/SKILL.md"
enabled = falseCodex CLI 0.125.0+ requires local marketplace source.path to:
- Start with
./ - Be a non-empty subdirectory (rejects
./alone) - Contain no
..traversal
That's why the marketplace points at ./plugins/litestar instead of the repo root. The directory is a committed generated payload copied from the canonical .codex-plugin, skills, commands, .codex, and hooks sources. After editing those sources, run:
make sync-codex-packageCI runs make codex-package-check through make lint so stale package output fails without mutating files.