Agent skill
codex-sdk-starter
Use when asked to introduce Codex SDK usage for automation (CI/CD, bots, internal tools) and provide a minimal, safe starter pattern.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/codex-sdk-starter
SKILL.md
Goal: provide a minimal, practical Codex SDK starter pattern without forcing repo dependencies unless explicitly requested.
Workflow:
-
Clarify the use case
- CI triage, PR generation, internal bot, batch refactors, etc.
-
Provide the minimal TS usage pattern
- Install:
npm install @openai/codex-sdk - Start/resume a thread and call
run()multiple times. - Persist
threadIdfor continuity.
- Install:
-
Recommend safe operational boundaries
- Limit scope to a repo/workspace.
- Require tests/typecheck before finalizing.
- Avoid destructive operations without explicit approval.
-
Optional: propose an internal wrapper
- A small module that standardizes thread creation, logging, timeouts, and artifact capture.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?