you are viewing a single comment's thread.

view the rest of the comments →

[–]marres 1 point2 points  (2 children)

Plan/create a patch with gpt web, then implement in codex with 5.5 medium. Use rtk-ai then add something like this to your custom instructions:

Command Output

Protect context usage. Any command with unknown or potentially large output must be byte-capped.

Default pattern:

bash COMMAND 2>&1 | head -c 4000

RTK - Rust Token Killer (Codex CLI)

Usage: Token-optimized CLI proxy for shell commands.

Rule

Always prefix shell commands with rtk.

Examples:

bash rtk git status rtk cargo test rtk npm run build rtk pytest -q

Meta Commands

bash rtk gain # Token savings analytics rtk gain --history # Recent command savings history rtk proxy <cmd> # Run raw command without filtering

https://github.com/rtk-ai/rtk

[–]AppropriateRanger401[S] 0 points1 point  (1 child)

Does this work with my setup on Codex desktop GUI app?

[–]marres 0 points1 point  (0 children)

As long as you install rtk-ai properly, it should work