From horspowers
Use when a repository should let GitHub issues or issue comments trigger Codex through GitHub Actions using an OpenAI API key, especially when the user does not want Codex Cloud @codex integration or fully autonomous evolution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/horspowers:codex-issue-actionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help a repository accept GitHub Issue or Issue comment commands such as `/codex plan`, `/codex implement`, and `/codex fix-ci`, then run Codex from GitHub Actions with `OPENAI_API_KEY`.
Help a repository accept GitHub Issue or Issue comment commands such as /codex plan, /codex implement, and /codex fix-ci, then run Codex from GitHub Actions with OPENAI_API_KEY.
Core principle: Issue-driven, API-key authenticated, runner-executed, PR-delivered, human-confirmed.
Announce at start: "我正在使用 Codex Issue Action 技能来接入 GitHub Issue 触发 Codex..."
Use this path when:
@codex Codex Cloud integration.Do not use this as the main path when the user explicitly wants Codex Cloud @codex GitHub integration. In that case, explain that it is a different setup path.
Read only the reference files needed for the task:
AGENTS.md behavior, read references/repository-docs.md.references/workflow-patterns.md.references/security-rules.md.Use templates from templates/ instead of rewriting them from memory.
Inspect the target repository:
AGENTS.md already exists..codex/ already exists..github/workflows/ already exists.Confirm the execution model in the response or plan:
OPENAI_API_KEY.CODEX_RESPONSES_API_ENDPOINT.Add or update repository documentation:
AGENTS.md short.AGENTS.md..codex/.AGENTS.md content.Add these policy files:
.codex/agent-policy.md.codex/task-modes.md.codex/verification.md.codex/pr-rules.mdAdd GitHub Actions workflow:
.github/workflows/codex-issue.ymlissue_comment./codex plan and /codex implement on issues./codex fix-ci on pull request comments.openai/codex-action@v1 with secrets.OPENAI_API_KEY.secrets.CODEX_RESPONSES_API_ENDPOINT to responses-api-endpoint for non-default OpenAI-compatible endpoints.permission-profile: ":read-only" for planning and permission-profile: ":workspace" for code changes.drop-sudo safety strategy or set it explicitly.actions/github-script.Tell the user the remaining GitHub-side setup:
OPENAI_API_KEY.CODEX_RESPONSES_API_ENDPOINT with the full Responses API URL, for example https://example.com/v1/responses./codex plan first to verify the chain.| Command | Behavior | Writes Code | Expected Output |
|---|---|---|---|
/codex plan | Analyze a repository issue and propose an implementation approach. | No | Issue comment |
/codex implement | Implement a repository issue with minimal changes and open a PR. | Yes | Pull request |
/codex fix-ci | Inspect a pull request context and make the smallest CI fix. | Yes | Pull request update or new PR |
templates/AGENTS.codex-snippet.md for the AGENTS.md section..codex/verification.md for project-specific commands; customize this file per repository..codex/agent-policy.md, .codex/task-modes.md, and .codex/pr-rules.md.Before saying the setup is complete:
AGENTS.md references the .codex/ documents instead of embedding the full policy.secrets.OPENAI_API_KEY.secrets.CODEX_RESPONSES_API_ENDPOINT to responses-api-endpoint.permission-profile: ":read-only".permission-profile: ":workspace".safety-strategy: drop-sudo or rely on that default.persist-credentials: false.@codex.AGENTS.md.OPENAI_API_KEY in GitHub Secrets.CODEX_RESPONSES_API_ENDPOINT.npx claudepluginhub louishors/horspowersCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.