Skip to content
Back to skills

Codex Zdr

ASecurity

Zero Data Retention mode for sensitive/proprietary code - no code stored on OpenAI servers

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
securitygobash

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill codex-zdr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Zdr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Zdr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-codex-zdr/badge)](https://www.skillsdirectory.com/skills/majiayu000-codex-zdr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-zdr
description: Zero Data Retention mode for sensitive/proprietary code - no code stored on OpenAI servers
allowed-tools: Bash, Read, Write, TodoWrite
---

# Codex Zero Data Retention (ZDR) Skill



---

## LIBRARY-FIRST PROTOCOL (MANDATORY)

**Before writing ANY code, you MUST check:**

### Step 1: Library Catalog
- Location: `.claude/library/catalog.json`
- If match >70%: REUSE or ADAPT

### Step 2: Patterns Guide
- Location: `.claude/docs/inventories/LIBRARY-PATTERNS-GUIDE.md`
- If pattern exists: FOLLOW documented approach

### Step 3: Existing Projects
- Location: `D:\Projects\*`
- If found: EXTRACT and adapt

### Decision Matrix
| Match | Action |
|-------|--------|
| Library >90% | REUSE directly |
| Library 70-90% | ADAPT minimally |
| Pattern exists | FOLLOW pattern |
| In project | EXTRACT |
| No match | BUILD (add to library after) |

---

## Purpose

Execute Codex with Zero Data Retention for sensitive, proprietary, or regulated code where no data should be stored on OpenAI servers.

## Unique Capability

**What This Provides**:
- **No code retention**: Code not stored on OpenAI servers
- **Privacy-first**: GDPR, HIPAA compatible
- **Regulated industries**: Suitable for healthcare, finance
- **Proprietary code**: Safe for trade secrets

## When to Use

### Perfect For:
- Medical/healthcare code (HIPAA)
- Financial systems (PCI-DSS)
- Proprietary algorithms
- Trade secrets
- Government contracts
- Client code under NDA

### Trade-offs:
- Slightly slower (no caching)
- Same functionality otherwise

## Usage

```bash
# ZDR for sensitive code
/codex-zdr "Implement medical record encryption"

# ZDR with full-auto
/codex-zdr "Build payment processing module" --full-auto

# ZDR with sandbox
/codex-zdr "Audit financial calculations" --sandbox
```

## CLI Command

```bash
codex --zdr "Your sensitive task"

# Combined with full-auto
codex --full-auto --zdr "Build and test"

# Via script
CODEX_MODE=zdr bash scripts/multi-model/codex-yolo.sh "Task" "id" "." "5" "zdr"
```

## Compliance Notes

| Regulation | ZDR Suitability |
|------------|-----------------|
| GDPR | Compliant |
| HIPAA | Compliant |
| PCI-DSS | Suitable |
| SOC 2 | Suitable |
| FedRAMP | Check specifics |

## Memory Integration

- Key: `multi-model/codex/zdr/{task_id}`
- Note: Only metadata stored locally, no code in memory

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.