More in Team workflows & setup.
Automate defect remediation across C/C++ codebases with Codex CLI
OpenAI's case study says Cisco's Codex CLI defect-repair workflow raised defect resolution throughput 10–15x.
Result: WorkedTool: OpenAI Codex CLILevel: Advanced
Outcome
According to OpenAI's case study, Cisco's Codex CLI defect-repair workflow raised defect resolution throughput 10–15x, and Codex build optimization saved more than 1,500 engineering hours a month. In the defect workflow, Codex CLI fixed bugs in repeated passes across large C and C++ codebases, turning weeks of manual work into hours. The build saving came from Codex reading build logs and dependency graphs across more than 15 connected repositories, which cut build times by about 20%. Splunk teams at Cisco also used it to move several interfaces from React 18 to React 19 in days instead of weeks.
According to OpenAI: 10–15x defect resolution throughput
This is the source's own number. We haven't measured it.
Evidence: Company case studyA write-up published by the company that makes the AI tool or uses it.
WorkedEvidence: Company case studyPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
Improved prompt
Our fuller version of the source's prompt, with fill-in details and rules, or one written to avoid what went wrong. Not tested by the poster.
Our fuller version of the person's prompt. They didn't use this version, and we haven't tested it.
Goal: Reproduce this C/C++ defect, find the root cause, fix it and get tests passing. Inputs (fill in or confirm): - Defect report and repro steps - Build and test commands - Branch to work on - Sanitizer or debug build flags available Rules: - Write a failing test that reproduces the defect before fixing. - Explain the root cause in plain words with file and line. - Make a minimal fix; avoid unrelated changes. - Check for the same pattern elsewhere and list other occurrences. - Keep the fix compatible with the compilers and platforms the project supports. - Describe the impact of the defect (crash, wrong output, security) in the PR. - Run the sanitizer build and full test suite after the fix. - Add the reproducing test to the regression suite. - Keep a short note of the commands used to build, reproduce and verify, so a reviewer can rerun them. Checkpoint: Don't merge or push to main. If you get stuck: If you can't reproduce, stop and report what you tried. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: Run the full test suite and sanitizers if available. Output: Root cause note, diff, test output. Done when: the new test fails before and passes after the fix.
Try this in:
Sends the Improved prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
The prompt they actually used (our rebuild)
The source didn't share its exact prompt, so we wrote this from what it describes.
Reproduce this defect, find the root cause in the codebase, implement a fix, then compile and run the tests, iterating until they pass.
AI tool
Source
- Posted
- by OpenAI
- Last checked
- Method:
- How we verify
https://openai.com/index/cisco/
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Team workflows & setup
Audit a month of running a small business with Claude Code
Claude Code chats ran 579 hours in 25 days; 69% of typed-chat time went on fixing the setup, and added checks didn't cut the faults.
PartialClaude CodeAdvancedView CaseRun Kiro CLI as a sandboxed coding agent for a month
Kiro CLI got 317 pull requests merged in a month inside a sandbox, but 122 others had no changes because questions went through writes.
WorkedKiro CLI +1AdvancedView CaseFix a self-hosted agent that lost its models: Muse vs Hermes
Tun Win Lat asked Muse to restore missing Qwen models; it wrongly said it was fixed three times, and Hermes fixed it in one go.
PartialMuse +1Evidence: Described by posterAdvancedView CaseGet DeepSeek-OCR running on an NVIDIA Spark with Claude Code
With four prompts in about 40 minutes, Claude Code got DeepSeek-OCR running on NVIDIA Spark hardware and OCR'd a test image.
WorkedClaude CodeEvidence: Screenshots or logsAdvancedView CaseSpeed up feature delivery by moving a team to Cursor
Security startup Jit moved its engineers from JetBrains to Cursor and, according to the article, delivered features 1.8–3x faster.
WorkedCursorEvidence: Article or interviewAdvancedReported by LeadDev: 1.8x–3x productivity gains
View Case
Similar cases
Upgrade a plugin to a new framework alpha with Codex CLI
A one-line Codex CLI loop read the Datasette 1.0a20 upgrade docs, fixed the failing tests and got a plugin passing again.
WorkedOpenAI Codex CLIEvidence: Screenshots or logsAdvancedView CaseDiagnose a Kubernetes pod-scheduling outage with Claude Code
Given dashboard screenshots, Claude Code traced an outage to pod IP exhaustion and supplied the fix; Anthropic says it saved 20 minutes.
WorkedClaude CodeEvidence: Company case studyAdvancedAccording to Anthropic: 20 minutes saved during an outage
View Case

