# Codex Persistent

> Use this tool when you need to integrate AI agents with the Codex CLI while maintaining session continuity, solving problems of interrupted workflows and lost context. It provides a seamless interface for general conversation, structured planning, and code review, accepting text-based inputs and generating human-like outputs. Ideal for use cases requiring persistent and resumable sessions, such as complex coding tasks or multi-step planning scenarios.

Canonical page: https://skillsregistry.net/skills/madwiki-codex-persistent  
JSON: https://api.skillsregistry.net/v1/skills/madwiki-codex-persistent

## Description

Bridges AI agents with the Codex CLI while preserving session continuity. Creates real, resumable Codex CLI sessions via MCP calls that survive server restarts. Provides three primary tools: general conversation (codex_chat), structured planning with critique (codex_plan), and code review (codex_review). Features automatic attribution distinguishing agent requests from human commands, per-request model and reasoning effort overrides, and session storage in Codex's native format for manual resumption with `codex resume`.

## Trust

- **Trust score (0–1):** 0.95
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/madwiki-codex-persistent)
- **Repository:** <https://github.com/madwiki/codex-persistent-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "madwiki-codex-persistent"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/madwiki-codex-persistent` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/madwiki-codex-persistent/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
