# mdx-tom/gpt-instruct

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/mdx-tom-gpt-instruct).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

11,249 stars · 1,441 forks · Python · MIT

## Links

- GitHub: https://github.com/MDX-Tom/gpt-instruct
- Homepage: https://mdx-tom.github.io/gpt-instruct/
- awesome-repositories: https://awesome-repositories.com/repository/mdx-tom-gpt-instruct.md

## Description

gpt-instruct is a packaged set of custom system prompts designed to bypass safety refusals in OpenAI Codex and GPT models, together with a test harness that measures how well those prompts work. The prompts are deployed by installing a downloadable archive into the Codex configuration directory and setting a single top-level config entry that points at the prompt file.

Deployment is reversible. The tool captures the configuration state before installing, so a change can be undone by restoring that snapshot, removing or commenting out the config entry, or deleting the prompt file. Prompt versions are tracked as branches, each recording its parent, evidence, and scores. Results are compared only when the model, reasoning level, and testing method are identical, so differences reflect the prompt change rather than the setup.

Evaluation uses a frozen subset of a public harmful-behavior benchmark, split into two non-overlapping sets to keep results repeatable and limit overfitting. An automatic judge labels every response, and human reviewers then log per-response verdicts for refusal, cheating, and protocol violation, so refusal and cheating rates can be reported alongside the automatic label. Candidate prompts move through staged A, B, and C test tiers of increasing size, and each tier must meet strict pass thresholds before the next one runs. Tests execute in disposable home, config, and temp directories with synthetic fixtures, leaving real user settings and accounts untouched.

## Tags

### Artificial Intelligence & ML

- [Jailbreak Prompts](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-engineering/jailbreak-prompts.md) — Ships a packaged set of custom system prompts built to bypass safety refusals in Codex and GPT models.
- [Hybrid Human-Reviewed Judging](https://awesome-repositories.com/f/artificial-intelligence-ml/automated-model-judges/judge-alignment-processes/hybrid-human-reviewed-judging.md) — An automatic judge labels every response, then human review records per-response verdicts so refusal rates can be cross-checked.
- [Identity-Matched Prompt Score Comparisons](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-evaluation-analysis/machine-learning-evaluation/model-comparison-interfaces/model-version-comparisons/identity-matched-prompt-score-comparisons.md) — Tracking several prompt versions side by side and comparing their scores fairly, only when the model, reasoning level, and testing method all match.
- [Model Red-Teaming](https://awesome-repositories.com/f/artificial-intelligence-ml/model-red-teaming.md) — Probes how well GPT models resist safety-bypass attempts using adversarial prompts and staged test tiers across versions and reasoning levels.
- [Manual Refusal Verdict Logs](https://awesome-repositories.com/f/artificial-intelligence-ml/model-refusal-detections/manual-refusal-verdict-logs.md) — Log per-response human judgments for refusal, cheating, and protocol violation, then report refusal and cheating rates alongside the automatic judge label. ([source](https://github.com/mdx-tom/gpt-instruct#readme))
- [Staged Test Tier Gates](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-formatting/repository-to-prompt-converters/prompt-version-deployments/staged-test-tier-gates.md) — Promoting candidate prompts through test tiers of increasing size, advancing only when strict pass thresholds are met so weak versions are filtered out early.
- [Prompt Version Lineage](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-version-lineage.md) — Each prompt version records its parent, evidence, and scores, forming a branching history that shows how variants evolved.

### Development Tools & Productivity

- [Custom Prompt File Deployers](https://awesome-repositories.com/f/development-tools-productivity/codex-plugin-installation/custom-prompt-file-deployers.md) — Installs a downloadable prompt archive into the Codex config directory, sets one config entry to load it, and restores the saved prior state on rollback.
- [Isolated Evaluation Environments](https://awesome-repositories.com/f/development-tools-productivity/isolated-execution-environments/isolated-evaluation-environments.md) — Running tests inside disposable home, config, and temporary directories with synthetic data so real user settings and accounts are never touched.

### Security & Cryptography

- [Bypass Resistance Benchmarks](https://awesome-repositories.com/f/security-cryptography/model-safety-filters/safety-filter-bypasses/bypass-resistance-benchmarks.md) — Measuring how well language models resist attempts to bypass their safety rules, using fixed public test sets, automatic judges, and manual review of each response.
- [Staged Prompt Release Gates](https://awesome-repositories.com/f/security-cryptography/security/ai-and-machine-learning/prompt-injection-testing/automated-prompt-testing/staged-prompt-release-gates.md) — Run candidate prompts through staged A, B, and C test tiers of increasing size, advancing to the next tier only when strict pass thresholds are met. ([source](https://github.com/mdx-tom/gpt-instruct#readme))

### Testing & Quality Assurance

- [LLM Evaluation](https://awesome-repositories.com/f/testing-quality-assurance/model-testing/llm-evaluation.md) — Scores model responses against a frozen public harmful-behavior benchmark subset using an automatic judge followed by manual human review.
- [Staged Test Gates](https://awesome-repositories.com/f/testing-quality-assurance/staged-test-gates.md) — Candidate prompts pass through test tiers of growing size, and each tier must meet strict thresholds before the next one runs.

### System Administration & Monitoring

- [Prompt and Agent Versioning](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/model-performance-tracking/prompt-and-agent-versioning.md) — Tracks prompt versions as branches with parent lineage and compares refusal and cheating scores only when model, reasoning level, and method match.
