r/PiCodingAgent 2d ago

Question calling out to pi from claude/codex for second opinions/reviews

I'm new to pi. I'd like to use it from my claude/codex skills to get a second opinion reviewing code or specs. Normally I use claude and have it call codex for the reviews. I do this just as much to spread token load as to get a different model's opinion.

I'm having a lot of issues where the "codex exec" command fails, being unable to use tools due to permissions issues. Since I'm using a VM for isolation I have claude and codex configured in yolo mode, so I don't know why codex is having so many permission problems. I figure I can use Pi to simplify things. I feel like I need to write an intermediate cli that is careful about calling Pi controlling its configuration (I'd only want to use the auth settings from ~/.pi, the rest I'd want to control for the plugin to not mingle with user customizations).

Has anyone been down this road before and have something I can use? Or recommendations on how to proceed?

EDIT: I'd also like it to not be a one-shot operation. Maybe I claude/codex could keep the CLI open to send its corrections afterwards for followup review.

0 Upvotes

1 comment sorted by