Codex example-author skill for buildable Agents Go examples
Show a single Go SDK feature using nearby project examples. Verify imports, SDK interfaces, and build output.
中文Install in Codex
Use an OpenAI Agents Go SDK project with its Go toolchain configured. Have its current interfaces and another local example available. A real model run requires the project's usual configuration.
- Review `.agents/skills/example-author/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/example-author/` in your project and save the reviewed file as `.agents/skills/example-author/SKILL.md`.
- Start Codex from that project's root, then type `$example-author` and select the matching skill.
Example task
Invoke $example-author and use this fictional book label request for a one-concept example.
request `one structured output concept` | proposed file `examples/26_book_label/main.go`
input `book=Field Atlas` | desired fields `title`, `category` | expected label `reference`
verify compile only using the pinned SDK; application fixture uses mock resultWhat to check
Demonstrate `title` and `category` in `examples/26_book_label/main.go`. Use `book=Field Atlas` and `reference` to check the output shape. Record the observed build result.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a single example teach models, sessions, and structured output?
Give the main example one concept. Put other ideas in separate, adjacent examples.