AgentFlows
CodexIssue openedNot executed· 2 caveats

Codex triage with JSON output schema

issues: opened

`output-schema` is forwarded to `codex exec --output-schema` (README inputs table).

Estimated cost per run

~$0.01 runner + OpenAI tokens (UNVERIFIED)

Estimated, not measured.

Basis. 2 runner min x $0.006/min GitHub-hosted Linux 2-core (docs.github.com/en/billing/reference/actions-runner-pricing). OpenAI model pricing not checked for this entry — UNVERIFIED.

Verification

Last checked Oct 16, 2026.

inputs checked against source docs; workflow not executed.

Open caveats

  • Assumes final-message is the raw JSON object; not tested.
  • Labels must already exist in the repo.

Labels

  • type:*
  • priority:*

Workflow YAML

Copy the file as-is. Highlighting is only for reading.

workflow.yml

name: Codex triageon:  issues:    types: [opened]jobs:  triage:    runs-on: ubuntu-latest    permissions:      contents: read      issues: write    steps:      - uses: actions/checkout@v5      - id: codex        uses: openai/codex-action@v1        with:          openai-api-key: ${{ secrets.OPENAI_API_KEY }}          permission-profile: ":read-only"          output-schema: |            {"type":"object","properties":{"type":{"enum":["bug","feature","question"]},"priority":{"enum":["p0","p1","p2"]}},"required":["type","priority"],"additionalProperties":false}          prompt: Classify issue #${{ github.event.issue.number }} in ${{ github.repository }}.      - env:          GH_TOKEN: ${{ github.token }}          OUT: ${{ steps.codex.outputs.final-message }}        run: |          T=$(echo "$OUT" | jq -r .type); P=$(echo "$OUT" | jq -r .priority)          gh issue edit ${{ github.event.issue.number }} --add-label "type:$T" --add-label "priority:$P"

More workflows

  • Codex12

    Codex PR review posted as a comment

    Two-job split keeps the API key job read-only (README example pattern). `:read-only` profile per README Permission profiles.

    pull_request: opened

    Estimated cost~$0.03 runner + OpenAI tokens (UNVERIFIED)

    Not executed· 2 caveats

    Checked Oct 16, 2026

  • Codex13

    Codex implements an issue on label

    `:workspace` profile lets Codex edit the checkout (README). PR creation is plain git/gh, not an action input.

    issues: labeled == codex

    Estimated cost~$0.09 runner + OpenAI tokens (UNVERIFIED)

    Not executed· 1 caveat

    Checked Oct 16, 2026

  • Claude01

    Claude auto PR review

    Copied from the official Solutions Guide basic example (prompt shortened).

    pull_request: opened, synchronize

    Estimated cost~$0.18

    Not executed

    Checked Oct 16, 2026