whatisgithub

What is codex-jailbreak-guide?

xsser/codex-jailbreak-guide — explained in plain English

Analysis updated 2026-05-18

157PythonAudience · developerComplexity · 2/5Setup · easy

In one sentence

A short guide describing how OpenAI Codex CLI's model_instructions_file config setting can be used to replace its default assistant instructions with a custom file.

Mindmap

mindmap
  root((codex-jailbreak-guide))
    What it does
      Describes a config override
      Replaces default instructions
    Tech stack
      Python
      TOML
    Content
      Guide document
      Supporting analysis file
    Note
      Overrides safety guidance
      Not a general-use tool

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Documents how the Codex CLI model_instructions_file config field overrides the tool's default instruction file.

What is it built with?

PythonTOML

How does it compare?

xsser/codex-jailbreak-guide0xabcd01/cve-2026-41089chaelsoo/zetsu
Stars157157157
LanguagePythonPythonPython
Setup difficultyeasyeasymoderate
Complexity2/53/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

It is primarily a documentation repository, not a runnable application.

No license information is stated in the README.

So what is it?

This repository is a short guide describing a configuration technique for OpenAI's Codex CLI tool. It explains that Codex CLI reads a setting called model_instructions_file from its config file, and that setting can point at a custom text file instead of the tool's built in default instructions. The README's stated purpose is to use this to replace the assistant's default behavior guidance with a custom, unrestricted instruction file the author calls an unfiltered mode, rather than only adding extra project notes the way a normal AGENTS.md file would. The README walks through where the config file lives, what fields to set, and points to two files included in the repository: one holding the author's custom instruction text, and a second file that the author describes as breaking down the reasoning behind it section by section. Because this project is specifically about overriding an AI assistant's built in safety guidance and enabling settings that skip normal approval checks before running commands, it sits outside what a general audience would use day to day. It is included here only as a factual description of what the public repository contains, this page does not walk through or endorse reproducing the configuration. The repository is small, written mostly as documentation with a couple of supporting files, and does not state a license.

Copy-paste prompts

Prompt 1
Explain, at a high level, what a model_instructions_file config setting typically controls in a CLI AI coding tool.
Prompt 2
What is the general difference between replacing an AI assistant's base instructions versus appending project notes to it?
Prompt 3
Summarize why AI coding tools include default safety and approval instructions in the first place.

Frequently asked questions

What is codex-jailbreak-guide?

A short guide describing how OpenAI Codex CLI's model_instructions_file config setting can be used to replace its default assistant instructions with a custom file.

What language is codex-jailbreak-guide written in?

Mainly Python. The stack also includes Python, TOML.

What license does codex-jailbreak-guide use?

No license information is stated in the README.

How hard is codex-jailbreak-guide to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is codex-jailbreak-guide for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.