Skip to Content
GuidesUse casesAsk another AI

Ask another AI for a second opinion

One model proposes, another looks for the hole. ChatGPT asks Claude Code on your computer a question, reads the answer, and carries on the conversation. No integration between the two vendors is needed: both use what is already installed and signed in on your computer.

When to use this

A plan, a piece of code or an argument you want checked by a second model that has not seen the first one’s reasoning.

Before you start

  • ChatGPT connected to CMDOP, with the agent risk class switched on for it (grant risk classes), and the computer allowing Claude Code in its ceiling.json (Ask an AI agent on a machine).
  • Claude Code installed and signed in on that computer, under the same user. The model behind it runs at Anthropic, not on your computer, and its use counts against your own Claude account.

Steps

  1. Ask ChatGPT to put the question to Claude, for example: “Ask Claude Code on my laptop to find the weakest point in this plan: …”.
  2. ChatGPT calls agent_prompt with the question and reads the reply from text.
  3. Ask ChatGPT to answer back or ask a follow-up; it passes the session back, so Claude keeps the thread.

The asked agent answers in words or reads files; it never changes files or runs commands. Without the agent class you can still do this with exec_run and claude -p, but then the program acts on your computer under its own permission settings.

Safety

  • If the other program refuses, or asks for a confirmation, bring that back to the person. Do not rephrase the request, claim the person already allowed it, or repeat it until the program agrees.
  • Send no secrets in the prompt: it leaves your computer for the other vendor.
  • Each call uses the person’s own subscription with the other vendor. A program being installed on the computer does not mean the model runs there.

Check

Your page lists each agent_prompt under ChatGPT, with how it ended; the prompt and the answer are not stored (the record of calls).

If it fails

  • denied: agent is off for ChatGPT or on this computer, or Claude Code is not in the ceiling’s agents allow.
  • not_found: Claude Code is not installed for that user.
  • busy: Claude is still answering the previous question.
  • tool_refused: Claude tried to use a tool on a text_only run; ask in a way it can answer in words.

Ask an AI agent on a machine · Let ChatGPT run commands · Revoke an agent