Using Codex as Central Brain for Self-Evolving Agent Skills with Gemini Writing

The author attempted to make agent skills self-evolve but failed using skill-only methods. They discovered that Codex itself is the best self-evolution medium because it remembers all conversation history. They restructured the system: Codex acts as the central brain (coordinator and reviewer) that delegates writing to Gemini 3.8 Flash. Codex does not execute tasks but learns the user's preferences, taste, and quality standards from feedback, then reviews outputs from other components. This allows continuous self-improvement without Codex doing the actual work.