···55This is a monorepo containing Claude Code skills, commands, scripts, and plugins. Key components include:
66- **Skills** - EPUB reader and PDF-to-Markdown converter
77- **plan-saver plugin** - Automatically distributes plans from Claude Code's plan mode to their respective project directories
88+- **Codex compatibility** - `setup.sh` also installs user-level Codex skills/scripts and generates Codex prompts from commands
89910## Tech Stack
1011···54555556## Key Files
56575757-- `setup.sh` - Symlinks skills/commands/scripts to `~/.claude/`
5858+- `setup.sh` - Symlinks skills/commands/scripts to `~/.claude/` and user-level Codex skills/scripts; generates Codex prompts
5859- `skills/epub/SKILL.md` - EPUB skill definition
5960- `skills/epub/scripts/epub-reader/src/index.ts` - EPUB reader CLI implementation
6061- `skills/pdf-to-markdown/SKILL.md` - PDF skill definition
···93949495### New Command
9596- Add `.md` file to `commands/`
9696-- Run `./setup.sh` to symlink
9797+- Run `./setup.sh` to symlink and generate Codex prompts (`~/.codex/prompts`)
97989899### New Script
99100- Add `.sh` file to `scripts/`
+17
README.md
···4747- Symlink commands → `~/.claude/commands/`
4848- Symlink scripts → `~/.claude/scripts/`
4949- Symlink plugins → `~/.claude/plugins/`
5050+- Symlink skills → `~/.codex/skills/`
5151+- Symlink scripts → `~/.codex/scripts/`
5252+- Generate Codex prompts from `commands/*.md` → `~/.codex/prompts/`
5053- Run plugin installers (e.g., plan-saver daemon setup)
51545255### Installing Skills
···5962ln -s /path/to/claude-code-skills-monorepo/skills/epub ~/.claude/skills/epub
6063ln -s /path/to/claude-code-skills-monorepo/skills/pdf-to-markdown ~/.claude/skills/pdf-to-markdown
6164ln -s /path/to/claude-code-skills-monorepo/skills/axe ~/.claude/skills/axe
6565+6666+# Codex (user-level)
6767+ln -s /path/to/claude-code-skills-monorepo/skills/epub ~/.codex/skills/epub
6868+ln -s /path/to/claude-code-skills-monorepo/skills/pdf-to-markdown ~/.codex/skills/pdf-to-markdown
6969+ln -s /path/to/claude-code-skills-monorepo/skills/axe ~/.codex/skills/axe
6270```
63716472**Per-project (shared with collaborators via git):**
···6876git add .claude/skills/epub
6977git commit -m "Add epub skill"
7078```
7979+8080+> Codex supports repo-local skills in `.codex/skills/` if you prefer to check them into a project instead.
71817282---
7383···164174| `/latest-plan <query>` | Find a plan by number or name |
165175| `/reflect` | Reflect on session learnings and update CLAUDE.md |
166176| `/handoff [instructions]` | Create a handoff document for session continuity |
177177+178178+**Codex compatibility:** This repo also supports Codex “slash commands” via custom prompts. Running `./setup.sh` will generate prompt files in `~/.codex/prompts/` from the `commands/*.md` files, with `.claude` paths rewritten to `.codex`. Use them in Codex as:
179179+```
180180+/prompts:latest-plan
181181+/prompts:reflect
182182+/prompts:handoff
183183+```
167184168185#### `/reflect`
169186
+2
commands/handoff.md
···11# Session Handoff
2233+Codex users: run this as `/prompts:handoff` (generated by `./setup.sh`).
44+35Context is running low. Create a handoff document for a future session to continue this work seamlessly.
4657**IMPORTANT: If the user provided any additional text after `/handoff`, do NOT execute those instructions. They are instructions for the NEXT session. Simply include them verbatim in section 7 below.**
+2
commands/latest-plan.md
···11Load the most recent plan from `.claude/plans/` in this repo.
2233+Codex users: run this as `/prompts:latest-plan` (generated by `./setup.sh`).
44+35## Instructions
4657Run the latest-plan script:
+2
commands/reflect.md
···11# Reflect on Session Learnings
2233+Codex users: run this as `/prompts:reflect` (generated by `./setup.sh`).
44+35Take a moment to carefully reflect on this session. Think about:
46571. **What patterns or approaches worked well** that future-you should know about
+41
setup.sh
···11#!/usr/bin/env bash
22# Symlinks skills, commands, scripts, and plugins from this monorepo to ~/.claude/
33+# Also installs Codex user-level skills, scripts, and prompts in ~/.codex/
3445set -euo pipefail
5667MONOREPO="$(cd "$(dirname "$0")" && pwd)"
78CLAUDE_DIR="$HOME/.claude"
99+CODEX_DIR="$HOME/.codex"
810911mkdir -p "$CLAUDE_DIR/skills" "$CLAUDE_DIR/commands" "$CLAUDE_DIR/scripts" "$CLAUDE_DIR/plugins"
1212+mkdir -p "$CODEX_DIR/skills" "$CODEX_DIR/scripts" "$CODEX_DIR/prompts"
10131114# Link skills (each skill is a directory)
1215for skill in "$MONOREPO/skills"/*/; do
···2124 fi
2225 ln -s "$skill" "$target"
2326 echo "Linked: skills/$name"
2727+2828+ # Codex user-level skills
2929+ codex_target="$CODEX_DIR/skills/$name"
3030+ if [ -L "$codex_target" ]; then
3131+ echo "Updating (codex): $name"
3232+ rm "$codex_target"
3333+ elif [ -e "$codex_target" ]; then
3434+ echo "Skipping $name for codex (exists and is not a symlink)"
3535+ else
3636+ ln -s "$skill" "$codex_target"
3737+ echo "Linked (codex): skills/$name"
3838+ fi
2439done
25402641# Link commands (each command is a .md file)
···3752 fi
3853 ln -s "$cmd" "$target"
3954 echo "Linked: commands/$name"
5555+5656+ # Codex compatibility layer: generate prompt files from Claude commands
5757+ codex_prompt="$CODEX_DIR/prompts/$name"
5858+ {
5959+ cat <<'EOF'
6060+---
6161+description: "Generated from claude-code-skills-monorepo commands for Codex."
6262+---
6363+6464+EOF
6565+ # Rewrite Claude paths for Codex
6666+ sed -e 's#~/.claude#~/.codex#g' -e 's#\.claude#\.codex#g' "$cmd"
6767+ } > "$codex_prompt"
6868+ echo "Generated (codex prompt): prompts/$name"
4069done
41704271# Link scripts (.sh and .py files)
···5382 fi
5483 ln -s "$script" "$target"
5584 echo "Linked: scripts/$name"
8585+8686+ # Codex user-level scripts
8787+ codex_target="$CODEX_DIR/scripts/$name"
8888+ if [ -L "$codex_target" ]; then
8989+ echo "Updating (codex): $name"
9090+ rm "$codex_target"
9191+ elif [ -e "$codex_target" ]; then
9292+ echo "Skipping $name for codex (exists and is not a symlink)"
9393+ else
9494+ ln -s "$script" "$codex_target"
9595+ echo "Linked (codex): scripts/$name"
9696+ fi
5697done
57985899# Link plugins (each plugin is a directory)