Save to GitHub (Skill Publisher)
Overview
Upload a Codex skill directory to a new public GitHub repository.
Trigger
User says something like:
\u628a\u67d0\u67d0\u6280\u80fd\u4e0a\u4f20\u5230githubupload the xxx skill to githubpublish my xxx skillpush xxx skill to github
Extract the skill name and run the workflow.
Workflow
- Resolve the skill directory (check CODEX_HOME/skills/)
- Get GitHub token (env var GITHUB_TOKEN or ask user)
- Run the bundled script:
python scripts/publish_skill_to_github.py <skill-path> [--token <token>]
- Report the GitHub URL to the user
Notes
- Requires
requestsPython package (pip install requests) - Uses GitHub Contents API, no git CLI needed
- Creates a PUBLIC repository
- A README.md is auto-generated