OpenAI Codex Desktop Setup Guide

Using Bootspring with OpenAI's Codex Desktop application.

Overview

OpenAI's Codex Desktop is a desktop coding assistant. Bootspring enhances Codex by providing:

  • Structured Context - CLAUDE.md provides project understanding
  • Expert Guidance - Specialized development patterns
  • Production Patterns - Copy-paste ready code snippets
  • Workflow Management - Multi-phase development orchestration

Prerequisites

  • Codex Desktop installed (openai.com)
  • Bootspring CLI installed (npm install -g bootspring)
  • Node.js 18+ installed
  • OpenAI API key (for Codex Desktop)

Installing Codex Desktop

macOS

Loading code block...

Windows

Download from OpenAI's website and run the installer.

Linux

Loading code block...

Bootspring Integration

Step 1: Initialize Bootspring

Loading code block...

This creates:

  • CLAUDE.md - Context file (Codex can read this)
  • bootspring.config.js - Configuration
  • .bootspring/ - Local data

Step 2: Configure Codex Settings

Codex Desktop reads files in your project. Add CLAUDE.md to indexed files:

  1. Open Codex Desktop Settings
  2. Navigate to "Context Files"
  3. Add CLAUDE.md to the list
  4. Enable "Auto-index on change"

Step 3: Create Custom Instructions

In Codex Desktop, set custom instructions:

Refer to CLAUDE.md for complete project context, architecture, and coding standards. When generating code: 1. Follow patterns defined in project context 2. Use the tech stack specified 3. Match existing code style 4. Consider security best practices

Using Bootspring with Codex

Project Context

Codex reads your CLAUDE.md for context:

Loading code block...

Referencing Context

In Codex prompts:

Looking at the project context in CLAUDE.md, create a new API endpoint for user preferences following our established patterns.

Using Bootspring Patterns

Ask Codex to follow Bootspring patterns:

Generate a REST API endpoint following the patterns in my project context. Include: - Zod validation - Error handling - TypeScript types

Terminal Integration

Using Codex Terminal

Codex Desktop includes a terminal. Use Bootspring directly:

Loading code block...

Agent Consultations

Use Bootspring agents for specialized guidance:

Loading code block...

Skill Patterns

Apply production patterns:

Loading code block...

Workflow Examples

Feature Development

  1. Plan with Bootspring

    Loading code block...
  2. Design Phase - Bootspring provides architecture guidance

  3. Implement in Codex - Use Codex for code generation

  4. Apply Patterns

    Loading code block...
  5. Quality Check

    Loading code block...

Code Review

Loading code block...

Debugging

Loading code block...

Configuration

Bootspring Config

Loading code block...

Codex Settings

Configure Codex to work well with Bootspring:

  1. Context Files: Add CLAUDE.md, bootspring.config.js
  2. Excluded Files: node_modules/, .bootspring/
  3. Custom Instructions: Reference project context

Keeping Context Updated

Manual Update

Loading code block...

Git Hook

Loading code block...

Watch Mode

Loading code block...

Best Practices

Start Conversations with Context

I'm working on [project from CLAUDE.md]. Help me implement [feature] following our patterns.

Reference Specific Sections

According to our Tech Stack (from project context), we use Prisma for the database. Help me create a migration.

Validate Codex Output

Always validate generated code:

Loading code block...

Troubleshooting

Context Not Loading

Loading code block...

Codex Not Following Patterns

  1. Verify custom instructions include context reference
  2. Explicitly mention patterns in prompts
  3. Provide specific examples from your codebase

Terminal Commands Failing

Loading code block...

Comparison with Other Tools

FeatureCodex DesktopClaude CodeCursor
Context via file
MCP integration--
Inline editing
Terminal access
Custom instructions

Next Steps