From 2738f252b28770778b572cbcbe8a7fa7d05a938d Mon Sep 17 00:00:00 2001 From: Alireza Rezvani Date: Fri, 23 Jan 2026 09:14:59 +0100 Subject: [PATCH] test: Verify Codex support implementation (#45) * feat: Add OpenAI Codex support without restructuring (#41) Add Codex compatibility through a .codex/skills/ symlink layer that preserves the existing domain-based folder structure while enabling Codex discovery. Changes: - Add .codex/skills/ directory with 43 symlinks to actual skill folders - Add .codex/skills-index.json manifest for tooling - Add scripts/sync-codex-skills.py to generate/update symlinks - Add scripts/codex-install.sh for Unix installation - Add scripts/codex-install.bat for Windows installation - Add .github/workflows/sync-codex-skills.yml for CI automation - Update INSTALLATION.md with Codex installation section - Update README.md with Codex in supported agents This enables Codex users to install skills via: - npx ai-agent-skills install alirezarezvani/claude-skills --agent codex - ./scripts/codex-install.sh Zero impact on existing Claude Code plugin infrastructure. Co-Authored-By: Claude Opus 4.5 * docs: Improve Codex installation documentation visibility - Add Codex to Table of Contents in INSTALLATION.md - Add dedicated Quick Start section for Codex in INSTALLATION.md - Add "How to Use with OpenAI Codex" section in README.md - Add Codex as Method 2 in Quick Install section - Update Table of Contents to include Codex section Makes Codex installation instructions more discoverable for users. Co-Authored-By: Claude Opus 4.5 * chore: Update .gitignore to prevent binary and archive commits - Add global __pycache__/ pattern - Add *.py[cod] for Python compiled files - Add *.zip, *.tar.gz, *.rar for archives - Consolidate .env patterns - Remove redundant entries Prevents accidental commits of binary files and Python cache. Co-Authored-By: Claude Opus 4.5 * fix: Resolve YAML lint errors in sync-codex-skills.yml - Add document start marker (---) - Replace Python heredoc with single-line command to avoid YAML parser confusion Co-Authored-By: Claude Opus 4.5 --------- Co-authored-by: Claude Opus 4.5 --- .github/workflows/sync-codex-skills.yml | 16 ++++++++-------- .gitignore | 3 +-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/sync-codex-skills.yml b/.github/workflows/sync-codex-skills.yml index 25908c2..2a1ba7c 100644 --- a/.github/workflows/sync-codex-skills.yml +++ b/.github/workflows/sync-codex-skills.yml @@ -1,3 +1,4 @@ +--- name: Sync Codex Skills Symlinks on: @@ -13,7 +14,7 @@ on: dry_run: description: 'Dry run (no changes)' required: false - default: 'false' + default: false type: boolean jobs: @@ -70,13 +71,12 @@ jobs: echo "**Total Skills:** $TOTAL" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Categories" >> $GITHUB_STEP_SUMMARY - python3 << 'PYEOF' -import json -with open('.codex/skills-index.json') as f: - data = json.load(f) -for cat, info in data['categories'].items(): - print(f'- **{cat}**: {info["count"]} skills') -PYEOF + python3 -c " + import json + data = json.load(open('.codex/skills-index.json')) + for cat, info in data['categories'].items(): + print(f'- **{cat}**: {info[\"count\"]} skills') + " >> $GITHUB_STEP_SUMMARY else echo "No skills index found." >> $GITHUB_STEP_SUMMARY fi diff --git a/.gitignore b/.gitignore index fc054eb..dfa1a2e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,11 +27,10 @@ medium-content-pro/* medium-content-pro 2/* documentation/GIST_CONTENT.md documentation/implementation/*__pycache__/ -medium-content-pro 2/* ARTICLE-FEEDBACK-AND-OPTIMIZED-VERSION.md CLAUDE-CODE-LOCAL-MAC-PROMPT.md CLAUDE-CODE-SEO-FIX-COPYPASTE.md GITHUB_ISSUE_RESPONSES.md -medium-content-pro.zip + # Archive folder (historical/backup files) archive/