Codex zdr

From DNYoussef/context-cascade · View interactive version

Codex zdr is an AI agent skill from the GitHub repository DNYoussef/context-cascade. Zero Data Retention mode for sensitive/proprietary code - no code stored on OpenAI servers

How to use this skill

Skill file

Codex Zero Data Retention (ZDR) Skill


LIBRARY-FIRST PROTOCOL (MANDATORY)

Before writing ANY code, you MUST check:

Step 1: Library Catalog

Step 2: Patterns Guide

Step 3: Existing Projects

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:

When to Use

Perfect For:

Trade-offs:

Usage

# 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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.