Slash Command

/codex-setup

Install
1
Install the plugin
$
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flow

Want just this command?

Add to a custom plugin, then install with one command.

Description

Initialize Codex CLI infrastructure (AGENTS.md + hooks). Setup sd0x-dev-flow for non-Claude agents.

Argument
init|doctor|sync
Allowed Tools
ReadGrepGlobEditWriteBash(node:*)Bash(git:*)Bash(ls:*)Bash(mkdir:*)Bash(cp:*)Bash(chmod:*)Bash(bash:*)Bash(cat:*)Bash(wc:*)
Command Content

⚠️ Must read and follow the skill below before executing this command:

@skills/codex-setup/SKILL.md @skills/codex-setup/references/agents-kernel.md

Context

  • Repo root: !git rev-parse --show-toplevel
  • Existing AGENTS.md: !bash -c 'test -f AGENTS.md && echo "exists ($(wc -c < AGENTS.md) bytes)" || echo "(none)"'
  • Existing state file: !bash -c 'test -f .sd0x/install-state.json && echo "exists" || echo "(none)"'
  • Hook mode: !bash -c 'if [ -d .husky ]; then echo husky; elif git config core.hooksPath 2>/dev/null; then echo hooksPath; elif [ -d .git/hooks ]; then echo git-hooks; else echo fallback; fi'

Task

Run the codex-setup skill with the specified subcommand (default: init).

Subcommands

CommandPurpose
initGenerate AGENTS.md kernel + install git hooks + copy runner scripts
doctorVerify installation integrity (files + hashes)
syncRe-generate and update after skill update
Stats
Stars90
Forks12
Last CommitMar 9, 2026
Actions