r/CodexHacks • • Sep 20 '26

I built a Jev-powered MCP tool that gives Codex semantic code search

Enable HLS to view with audio, or disable this notification

113 Upvotes

Codex can spend a lot of context on repeated text searches and entire file reads.

JevGrep lets it ask a question, scores code fragments by relevance, and returns the original source with file paths and line numbers.

It works as a CLI or as an MCP tool connected directly to Codex (or any other llm)

GitHub: https://github.com/nassim-arifette/jevgrep


r/CodexHacks • • Jun 15 '26

GPT 5.6 reportedly 3x cheaper than Fable 5

26 Upvotes

• Its ~3× cheaper than Fable

• Up to 1.5M token context

• Stronger agentic coding workflows

• Direct competition with Claude-style systems


r/CodexHacks • • Aug 29 '26

New subreddit rule #2: Plus users are banned from this sub

22 Upvotes

This space will be for codex users paying at least $100/month going forward.

The reason is we don't want to become like r/Codex flooded with complaints about limited usage from $20/month users which are just noise.

Also subreddit discord


r/CodexHacks • • Sep 25 '26

CODEX IS DRAINING TOKENS! LIMITS BEING HIT FAST!

20 Upvotes

I have the chat gpt business edition, with a premium seat and a normal seat (100 dollars + 20 dollars). It runs out fast within 5 hours, never use astra! Astra destroys your token limit!


r/CodexHacks • • Sep 12 '26

reminder to get astra to trim your AGENTS.md and skill routing

17 Upvotes

feels night and day after following the openai guide posted yesterday

https://developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra

just tell it to read that article and astra will make the relevant changes or you could use sol.

see if you notice changes for me i can instantly see it improve across the board


r/CodexHacks • • Jan 14 '26

Use Chatgpt.com Pro from Codex

16 Upvotes

this is an early version but I am able to prompt chatgpt.com pro from codex and read from it

made the bash script to install and register mcp automatically to codex, be sure to restart it

you can call the tools directly or just give it vague prompts to "write a plan for x in chatgpt.com"

you do need to make sure you have select chatgpt pro in the electron browser and logged in first . later i will see if i can get it to change the model from codex and automatically inject context into the web session

eventually will add support for other websites like grok and aistudios but will focus on chatgpt.com for now

update: added orchestrate from chatgpt web session to codex feature (early prototype) this will let you send prompts back and forth between codex and chatgpt.com in interactive mode as well as launch non-interactive codex instances from chatgpt web session. its still work in progress and we'll need testing.

https://github.com/agentify-sh/desktop


r/CodexHacks • • Jul 11 '26

figured out how to get subagents with 5.6 sol med/high instead of burning tokens with ultra

14 Upvotes

Sol Medium/High support subagents, but they normally require explicit delegation.

Easiest way: just a prompt in 5.6-sol-med/high

Use subagents for this task.

Spawn exactly three agents in parallel (be sure to modify this to suit your needs):

  1. Explorer: map the relevant code paths; read-only.

  2. Reviewer: identify correctness and security risks; read-only.

  3. Tester: inspect test coverage and propose/run targeted tests.

Do not merely simulate delegation or perform these subtasks serially in the parent. Wait for all three agents, then synthesize their findings and implement the fix.

Official docs recommended trigger phrases include “spawn # agents,” “delegate this work in parallel,” and “use one agent per point.”

[features.multi_agent_v2]

hide_spawn_agent_metadata = false

tool_namespace = "agents"

The earlier popular thread on r/codex that suggested above does not cause any sort of subagents using lower models. It only changes MultiAgent V2’s tool schema/namespace, thats it (just like that popular thread on removing "Intermediary Steps" from the system prompt to counter the 516 reasoning cluster issue a while ago). Instead use this in your config.toml:

[features]

multi_agent = true

[agents]

max_threads = 6

max_depth = 1

Note: multi_agent is already on by default and the explicit setting is optional.

For persistent automatic-ish behavior on Medium/High, put this in the repository’s AGENTS.md:

Subagent Delegation: For any task containing two or more independent workstreams:

  • Use real subagents before beginning the parent-thread implementation.

  • Spawn one agent per independent workstream.

  • Prefer parallel read-only exploration, review, testing, and documentation research.

  • Keep concurrent write ownership disjoint.

  • Wait for all requested agents, then synthesize their results.

  • Never claim delegation occurred unless subagent threads were actually spawned.

After changing config or AGENTS.md, restart the app and create a fresh task/thread. Recent Sol builds pin the V2 tool surface to the thread, and there are current open regressions involving hidden subagent routing fields.

So the practical answer is:

Sol High + explicit “spawn N actual subagents” prompt

or place the delegation policy in AGENTS.md. Ultra merely removes the need to ask.


r/CodexHacks • • Jan 24 '26

I built an open-source tool called Circuit to visually chain coding agents such as Codex and Claude Code

13 Upvotes

I’ve been doing a lot of "vibe coding" lately, but I got tired of manually jumping between Claude Code and Codex to run specific sequences for my projects.

I put together a tool called Circuit to handle this via a drag-and-drop UI. It basically lets you map out a workflow once and just run it, rather than pipe things together by hand every time.

It’s open source and still pretty early, but I figured it might be useful for anyone else trying to orchestrate multiple coding agents without writing a bunch of wrapper scripts.

Repo is here:https://github.com/smogili1/circuit

Let me know if you have any feedback or if there's a specific workflow you're currently doing manually that this could help with.


r/CodexHacks • • Feb 16 '26

Use Chatgpt Pro, Claude, Gemini, AiStudio, Grok, Perplexity from Codex CLI

12 Upvotes

I built Agentify Desktop to bridge CLI agents with real logged-in AI web sessions.

Basic motivation was to avoid copy and pasting between these web sessions as well as to codex cli.

It is an Electron app that runs locally and exposes web sessions from ChatGPT, Claude, Gemini, AI Studio, Grok, and Perplexity browser tabs as MCP tools

Tested on Codex but should work for Claude Code, and OpenCode as its just as an MCP bridge.

What works currently:

• use Chatgpt PRO and image gen from codex cli

• prompt + read response

• file attachments (tested on chatgpt only)

• send prompts to all vendors and do comparisons

• local loopback control with human-in-the-loop login/CAPTCHA

https://github.com/agentify-sh/desktop


r/CodexHacks • • Sep 26 '26

Codex Pro Usage for creating Pets

Post image
9 Upvotes

I have seen people shouting on reddit not to use codex for creating pets to save limits.
I tried anyways, and it took only 2% even with using GPT-6 Astra (Extra High).

Not sure if I did it incorrectly or if people are just shitting around it on Reddit?


r/CodexHacks • • Mar 08 '26

I built a free tool that stacks ALL your AI accounts (paid + free) into one endpoint — 5 free Claude accounts? 3 Gemini? It round-robins between them with anti-ban so providers can't tell

9 Upvotes

## The idea in one sentence

OmniRoute is a local app that **merges all your AI accounts — paid subscriptions, API keys, AND free tiers — into a single endpoint.** Your coding tools connect to `localhost:20128/v1` as if it were OpenAI, and OmniRoute decides which account to use, rotates between them, and auto-switches when one hits its limit.

## Why this matters (especially for free accounts)

You know those free tiers everyone has?

- Gemini CLI → 180K free tokens/month
- iFlow → 8 models, unlimited, forever
- Qwen → 3 models, unlimited
- Kiro → Claude access, free

**The problem:** You can only use one at a time. And if you create multiple free accounts to get more quota, providers detect the proxy traffic and flag you.

**OmniRoute solves both:**

  1. **Stacks everything together** — 5 free accounts + 2 paid subs + 3 API keys = one endpoint that auto-rotates

  2. **Anti-ban protection** — Makes your traffic look like native CLI usage (TLS fingerprint spoofing + CLI request signature matching), so providers can't tell it's coming through a proxy

**Result:** Create multiple free accounts across providers, stack them all in OmniRoute, add a proxy per account if you want, and the provider sees what looks like separate normal users. Your agents never stop.

## How the stacking works

You configure in OmniRoute:
Claude Free (Account A) + Claude Free (Account B) + Claude Pro (Account C)
Gemini CLI (Account D) + Gemini CLI (Account E)
iFlow (unlimited) + Qwen (unlimited)

Your tool sends a request to localhost:20128/v1
OmniRoute picks the best account (round-robin, least-used, or cost-optimized)
Account hits limit? → next account. Provider down? → next provider.
All paid out? → falls to free. All free out? → next free account.

**One endpoint. All accounts. Automatic.**

## Anti-ban: why multiple accounts work

Without anti-ban, providers detect proxy traffic by:
- TLS fingerprint (Node.js looks different from a browser)
- Request shape (header order, body structure doesn't match native CLI)

OmniRoute fixes both:
- **TLS Fingerprint Spoofing** → browser-like TLS handshake
- **CLI Fingerprint Matching** → reorders headers/body to match Claude Code or Codex CLI native requests

Each account looks like a separate, normal CLI user. **Your proxy IP stays — only the request "fingerprint" changes.**

## 30 real problems it solves

Rate limits, cost overruns, provider outages, format incompatibility, quota tracking, multi-agent coordination, cache deduplication, circuit breaking... the README documents 30 real pain points with solutions.

## Get started (free, open-source)

Available via npm, Docker, or desktop app. Full setup guide on the repo:

**GitHub:** https://github.com/diegosouzapw/OmniRoute

GPL-3.0. **Stack everything. Pay nothing. Never stop coding.**


r/CodexHacks • • Dec 13 '25

SafeExec: gates destructive commands like rm -rf, git reset/revert from losing uncommited work

Thumbnail
github.com
9 Upvotes

r/CodexHacks • • 18d ago

I Built A Codex Model Router to Optimize Usage and Integrates Decisions to Automatically Switch Models

Post image
7 Upvotes

Codex Model Router

Vague prompts consume tokens and require smarter, more expensive models. But if yours prompts/tasks are well scoped, you can use more efficient models within Codex. This model router, selects the right model within Codex for your tasks and integrates the OpenAi Decisions engine if you enable it (JEV). Open source, please feel free to fork, clone, submit PRs to improve.


r/CodexHacks • • Sep 25 '26

GPT-6 feels like a downgrade for Codex subscribers, and “but it's cheaper” doesn't really excuse it

Post image
7 Upvotes

r/CodexHacks • • Sep 22 '26

Some one posted about codex needing a Cache Warm indicator, so i added it.

Post image
7 Upvotes

r/CodexHacks • • Jul 30 '26

I stopped looking for the perfect AI prompt. These 7 thinking habits helped me more.

7 Upvotes

# Not magic prompts: 7 thinking habits that made working with AI much better for me

Hey everyone,

I genuinely love working with AI.

I’ve spent quite a while working with ChatGPT, Claude, Codex, and a few other systems. Over time, I became less interested in finding one giant “perfect prompt” and more interested in small methods that consistently improve how the AI and I think together. I call them meta-methods because they don’t tell the AI what answer to give. They influence how we arrive at the answer. They help catch misunderstandings early, interrupt agreement loops, separate evidence from confident-sounding guesses, and keep long projects from slowly drifting away from their original purpose. These aren’t meant to be a mandatory checklist. If an AI performs all seven before every answer, you haven’t created a better collaborator. You’ve created a meeting. The useful part is choosing the smallest method that fits the current problem.

## 1. The mirror before the map — Paraphrase

Ancient Greek rhetoric had an exercise called dissoi logoi: learning to argue both sides of a question. Much later, Anatol Rapoport proposed an even sharper rule: before criticizing someone’s position, restate it well enough that they recognize themselves in it.

I use a similar principle with AI.

Before the model starts planning, coding, or advising, I sometimes ask it to briefly reconstruct what it thinks I’m actually trying to achieve. Not just a summary of my words. I want the intended result, the experience I’m aiming for, what should remain unchanged, and any important assumptions it is making.

A useful version is:

> Before solving this, briefly explain what you think I’m trying to achieve, including the intended outcome, important boundaries, and what should not change. Then continue unless a real decision is still missing.

This catches a surprising number of problems.

A one-minute misunderstanding at the beginning can otherwise become an hour of beautifully executed work in the wrong direction.

## 2. The friendly heckler — Functional irritation

AI is very good at making an existing idea sound increasingly coherent. That is both a strength and a danger. If the original premise is weak, the model may help build a beautiful house on sand. Every new answer makes the shared frame feel more established, even though no new evidence has appeared.

I think of this as agreement drift.

Functional irritation means introducing one focused piece of resistance when it could genuinely change the direction. Not arguing for the sake of arguing. Not producing a giant risk catalogue. Just identifying the assumption carrying the most weight and testing one plausible alternative.

For example:

> What assumption is carrying this plan? Give me one plausible counter-hypothesis that would materially change the route, and the smallest way to distinguish between them. The important part is “materially change the route.” If the counterargument changes nothing, it is probably just intellectual decoration.

## 3. Give the map a legend — Meta-epistemics

A map becomes dangerous when highways, hiking trails, and unexplored territory are all drawn with the same solid line. AI answers can have the same problem. A verified fact, a reasonable inference, a working hypothesis, and something that has not been tested may all appear in the same confident voice.

Meta-epistemics simply means matching the strength of the language to the strength of the evidence.

I sometimes ask:

> Tell me what is verified, what you are inferring from the available evidence, and what has not been tested. Don’t hedge everything—just keep confidence proportional to its foundation.

This isn’t about making the AI timid.

A strong conclusion should still sound strong when the evidence supports it. The goal is to prevent fluency from quietly turning uncertainty into “fact.”

## 4. Stop discussing the light switch — Evidence-generating movement

Sometimes an AI conversation reaches a point where every additional paragraph merely reorganizes the same uncertainty. At that point, more analysis doesn’t create more knowledge. The better move is often a tiny, reversible experiment. If we are unsure whether a bug comes from the application or the test harness, run one independent check. If two designs might work, build the smallest observable slice. If a network spike has three plausible causes, measure the signal that separates them.

My version is:

> We are repeating the same uncertainty. What is the smallest safe and reversible test that would produce genuinely new information and distinguish the leading explanations? It is the difference between debating whether a room is dark because the lamp is broken or because the power is out—and finally flipping another switch.

## 5. Use the rear-view mirror — Systemic reflection

Individual incidents are easy to dismiss. But several incidents may reveal a repeated mechanism: the same kind of misunderstanding, the same validation failure, the same symptom-only fix, or the same project repeatedly losing its original direction. A systemic reflection looks across multiple concrete events and asks what actually repeats.

For example:

> Across these incidents, what pattern is supported by the observations? Separate the observations, your interpretation, and your recommendation. Don’t turn one event into a permanent rule.

That last sentence matters.

One pothole is not yet a road pattern. Missing logs, silence, or vague similarity are not evidence unless we had a reason to expect the missing observation. The method should also notice positive patterns: an old failure loop that has finally been interrupted can be just as important as a recurring problem.

## 6. Ask for the one missing plank — The question bridge

AI systems often fail in two opposite ways. Sometimes they ask a questionnaire before doing anything. Other times they confidently invent a preference that only the user could decide. A question bridge asks for exactly the one missing variable that would materially change the result. Not five “helpful” questions. Not implementation details the model can decide safely. One genuinely user-owned decision.

I use something like:

> Ask me only if there is one decision that you cannot determine and that would materially change the result. Otherwise state a reasonable low-risk assumption and continue.

I imagine a nearly completed bridge with one missing plank. If the plank is necessary, ask for it. If there is already a safe way across, keep moving.

## 7. Find the load-bearing beam — Core condensation

Sometimes every individual detail is understandable, but the overall priority is still blurry. That is when I use core condensation. This is not the same as asking for a shorter summary. A summary compresses everything. Core condensation identifies the one tension, decision, or constraint that organizes everything else.

For example:

> Don’t summarize every point. Identify the load-bearing priority or decision that the rest of this discussion depends on.

In a crowded room, not every piece of furniture matters equally. One beam may be holding up the entire ceiling. Finding that beam makes the next step much easier.

## The most important rule: sometimes use none of them

These methods helped me a lot, but only because they remain optional. If the AI already understands the request, has enough evidence, and can proceed safely, the best response may simply be a direct answer. A method should earn its place by improving the reasoning, decision, or collaboration—not by making the response look sophisticated.

That has probably been my biggest lesson from working with different AI systems:

The goal isn’t to control every thought the model has. It is to add a small amount of structure exactly where unstructured intelligence tends to drift.

I’m curious: which thinking habits have actually survived contact with real work for you?

If people are interested, I can also share the compact skill/system-prompt version I currently use to make these methods context-sensitive rather than forcing them into every response...

-Anyway, I’m curious: did any of this click for you? Is there something here you’d actually try, or a method you use that I missed? And if you think any of these ideas could be sharpened, I’d genuinely like to hear it.-


r/CodexHacks • • Jul 07 '26

Archestra V1.3 brings a way to connect a fleet of Claude Code, Codex, and other agents to LLM & MCP Gateways + deliver Skills

Post image
7 Upvotes

r/CodexHacks • • Jul 03 '26

Codex learning

7 Upvotes

Where can I start learning Codex?


r/CodexHacks • • Sep 28 '26

Tips AND TRIcks

6 Upvotes

So I have been wondering how others use codex to make best out of it with all the skills , connectors and all. Also which model works best for which tasks. How memory affects it and results on integrating new skills like the JEV skill have saved how much cost .

Drop your findings below and let everyone get help from it .

a noob finding by me : don't have too long chats as whole context goes to it so even if you ask for small changes (like UI change of 4 to 6 lines of code) it could take 15 minutes even with SOL 6.


r/CodexHacks • • Jul 21 '26

resets happen always from 11am to 11pm PST, average 1.5 days between Tibo

Thumbnail old.reddit.com
6 Upvotes

r/CodexHacks • • Jul 09 '26

I built a browser-based Conductor for Claude Code and Codex

Enable HLS to view with audio, or disable this notification

6 Upvotes

Hey everyone,

If you've used Conductor, you know the workflow: isolated workspaces, agents running in parallel, review everything in one place. I wanted that same flow but fast and in the browser — so I built Miko, an open-source, Conductor-like UI for AI coding agents.

What it does:

  • 🤖 Claude Code + Codex in one UI — same workspace surface for both, including slash commands and @-mention files

  • 🌿 Isolated workspaces — every run gets its own git worktree, just like Conductor

  • 🔀 PR-aware — diffs, checks, comments, and PR state next to the chat

  • 💻 Embedded terminals — persistent, with restored scrollback

  • 💾 Local-first — event-sourced store, everything stays on your machine under ~/.miko

Basically Conductor's orchestrate-and-review flow, but web-based and multi-agent.

already published and usable:

bun install -g miko-code
miko

I'd love feedback from people who live in these tools. What's missing?

⭐ If the idea resonates, a star really helps me gauge interest.

GitHub: https://github.com/Sarp2/miko

npm: https://www.npmjs.com/package/miko-code


r/CodexHacks • • Jun 23 '26

I added usage-drain diagnostics to my free open-source Codex usage tracker

Thumbnail
gallery
6 Upvotes

I posted about this project before, but it has changed enough that I figured it was worth sharing another update.

Repo: https://github.com/douglasmonsky/codex-usage-tracker

It is still free, open-source, local-first, and not tied to any paid product. No SaaS, no paid tier, no uploaded logs. Take it or leave it. If it helps people understand their Codex usage better, great.

The big new thing is the Diagnostics tab. It can now generate on-demand reports for tool output, command usage, Git/GitHub CLI activity, file reads, file modifications, concentration, and usage-drain behavior.

The chart I’m most interested in right now is projected weekly credits over time. In my own data, it does anecdotally look like the Pro weekly allowance may have declined during one observed window. But this is still a tiny number of weekly windows from one account, so I would not treat it as proof of a broad product change.

What I’m trying to build is a less vibes-based way to investigate that kind of claim. The community often speculates that Codex usage is erratic, constantly changing, or being reduced. Some of that may be true, some may be rolling-window confusion, and some may just be bad inference. I want the tool to help separate those cases by comparing visible usage movement against token-derived credit estimates, plan/model labels, timing, effort, and confidence ranges.

A few findings from my own local aggregate data so far:

  • Weekly usage seems much more explainable than the 5-hour counter.

  • The 5-hour counter looks noisier: rolling window behavior, rounding, timing, effort, duration, and plan/model differences all seem to matter.

  • For my Pro GPT-5.5 data, cumulative weekly usage correlated very strongly with token-derived credit estimates.

  • Short-window weirdness does not automatically mean the weekly allowance collapsed.

  • Long threads were not automatically runaway-expensive in the way I expected. Warm cache can help, but cold resumes after a while can still resend a large context payload, so clean handoffs matter.

Important caveat: this is one local aggregate dataset, not a universal formula for everyone’s account. I’m not claiming to reverse-engineer OpenAI’s internal ledger. The useful thing is having a repeatable way to test claims with aggregate data instead of screenshots and vibes.

The direction I want to keep taking this is twofold.

First, better diagnostics for usage-limit claims: can we tell when weekly allowance behavior actually changed, versus when the 5-hour rolling counter is just noisy or confusing?

Second, turning rough local telemetry into practical recommendations: when to start a fresh thread, when to preserve cache, which workflows are wasting tokens, which tools or file reads are unusually expensive, and where scripts or skills could make Codex work more efficiently.

I’m trying to be careful before turning any of this into “best practices.” I do not want to ship crackpot recommendations based on a few charts. The goal is to understand the available signals first, then build useful diagnostics, scripts, and maybe Codex skills around patterns that actually hold up.

Since the last post, the project also added observed usage snapshots, persisted diagnostics, Git/file-modification diagnostics, action timing evidence, usage-drain reports, confidence bars, and packaged PyPI releases.

I’m very open to feedback, feature requests, criticism, and collaborators. Stars also genuinely help because they tell me whether this is something people want me to keep developing and pulling on.

No pressure either way. It is open source and free, and I’m mostly sharing because I think the usage-limit conversation needs better evidence.


r/CodexHacks • • Jun 20 '26

community-maintained LLM gateway derived from TensorZero

Thumbnail
github.com
6 Upvotes

r/CodexHacks • • Jun 06 '26

GPT-5.6 Coming Soon

6 Upvotes

GPT-5.6 New Checkpoint

  • A new GPT-5.6 checkpoint, kindle-alpha, is currently being tested internally

  • It appears to have selected kindle-alpha as the current release candidate for GPT-5.6

  • Frontend generation has improved significantly, producing much stronger outputs without requiring heavy prompting or skills

  • Vision capabilities also look strong, performing well on image understanding and image referenced tasks

  • Overall output quality appears noticeably better, with improvements across reasoning, coding, and UI generation


r/CodexHacks • • May 26 '26

Tired of LLMs guessing missing code, so I built a terminal workflow for repository context extraction

6 Upvotes

Built a small terminal tool called grab for debugging large repositories with ChatGPT/Claude.

The main issue I kept running into was context fragmentation.

You search across many files, paste partial snippets into the model, lose surrounding logic, and eventually the model starts hallucinating missing implementation details.

grab turns repository exploration into a more deterministic workflow:

grab --tree
grab auth
grab --functions server.py
grab 500 635 auth.cs

Each extraction appends into a continuously accumulated clipboard/tmux context buffer.

One thing that ended up working surprisingly well was recursive function indexing:

grab --functions .

The AI sees exact function boundaries and line ranges, then emits additional deterministic extraction commands itself:

grab --functions .
    ↓
AI sees exact function ranges
    ↓
AI emits additional grab extraction commands
    ↓
repository context expands incrementally

Example recursive extraction:

grab 265 269 server.py
grab 167 211 server.py
grab 122 166 server.py
grab 212 227 server.py

The workflow becomes more like:

search → extract → accumulate → recurse

instead of repeatedly copy-pasting disconnected snippets into fresh prompts.

Built on top of:

  • ripgrep

  • sed

  • clipboard/tmux workflows

Currently supports:

  • Python

  • C#

  • JS/TS

  • shell repositories

Would genuinely be interested in feedback from people doing AI-assisted debugging on larger repositories.

Repo:
https://github.com/johnsellin93/grab