Hint of the day: if your AI agent runs #radare2 oneliners, set the R2_COLOR=0 environment variable to disable colors and save a bunch of tokens!
@radareorg https://no-color.org/ also lists `radare2 -e scr.color=0` as a method. (https://github.com/jcs/no_color)
NO_COLOR: disabling ANSI color output by default

@christoff yep! You can also run ā€œr2 -Eā€ to launch $EDITOR on ~/.radare2rc and write ā€œ-e scr.color=0ā€ in there for the same behaviour. But this will affect your normal r2 executions too, and for agents, you probably want to have a custom env.sh or agents.md with that -e hint. Using the environment is a more generic temporal approach
@radareorg doh, I see the difference in that application, good distinction for that use case!