# How to use Codex to refine coding guidance

Codex extracted and analyzed pi sessions to shape an outer guidance prompt; the author reported mixed results and reduced check-in time on a game.

Agent: Codex
Tools: Codex, pi
Category: Software & DevOps
Date: 2026-06-23

Outcome: The author reported game-development check-in time falling to one fifth of its previous level, while warning that results were mixed and reduced involvement might miss good ideas.

## Steps

1. Had Codex write a pi session extraction tool.
2. Filtered personal prompts from agent and subagent conversation.
3. Had Codex analyze prompting patterns and turn them into a guidance flowchart.

Human oversight: The author continued checking in on the game, reported mixed results, and withheld trust for delicate codebases.

Source: [athrowaway3z on Hacker News](https://news.ycombinator.com/item?id=48644489)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-refine-coding-guidance/
