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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alireza Rezvani
2026-01-23 09:14:59 +01:00
committed by GitHub
parent 65f6f2dc4a
commit 2738f252b2
2 changed files with 9 additions and 10 deletions

View File

@@ -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