Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Developer

How to Use ChatGPT and Codex documentation search in Gemini

Returns matches from OpenAI's documentation search restricted to the ChatGPT Learn site. Use it to locate guidance for a specific question before reading the relevant page or section.

Prompts to try with ChatGPT and Codex documentation search in Gemini

Copy an example into Gemini, or ask in your own words.

Use ChatGPT and Codex documentation search to find official explanations of Codex hooks and show the most relevant source links.

ChatGPT and Codex documentation searchGemini
Try asking
  • Use ChatGPT and Codex documentation search to look this up and give me the result as a table.

  • Pull the latest numbers from ChatGPT and Codex documentation search and tell me what changed since last week.

  • Check ChatGPT and Codex documentation search and summarize what you find in three bullet points.

  • Pull the newest data from ChatGPT and Codex documentation search and give me the result as a table.

How to set up ChatGPT and Codex documentation search in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run ChatGPT and Codex documentation search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "learn-chatgpt-com/developer-documentation/search_docs",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Gemini finds ChatGPT and Codex documentation search on Spiral, shows the price and runs it.

ChatGPT and Codex documentation search providers and prices

Spiral runs ChatGPT and Codex documentation search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
ChatGPT and Codex docs · Search docs
learn-chatgpt-com/developer-documentation/search_docs

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 5010

Results to return (default 10).

Every API field of ChatGPT and Codex docs · Search docs is on its tool page: open its card above.

What can you do with ChatGPT and Codex documentation search in Gemini?

Get an explanation of a ChatGPT or Codex feature backed by official source passages. A chat app can organize the relevant reading and explain how dated updates relate to the guidance.

Review an onboarding guide

Map the relevant ChatGPT Learn topics, find guidance for the guide's claims, read the source passages, and check dated updates for changes that require a rewrite.

Prepare a Codex migration assessment

Find the documentation for the workflow being migrated, assemble the related reading list, inspect exact instructions, and use changelog entries to explain relevant changes over time.

Maintain a support knowledge base

Compare support answers with official passages, discover missing documentation topics, and review release notes for fixes that make an old workaround unnecessary.

Build a topic-specific update briefing

Use hooks or plugins as the briefing topic. Combine dated announcements with a map of relevant guides and source passages that explain how the documented behavior works.

Check a hooks implementation

Locate the official hooks guidance and read the relevant sections before reviewing a project's lifecycle handlers. Use the passages to explain which implementation choices need attention.

Questions about ChatGPT and Codex documentation search in Gemini

Can Gemini use ChatGPT and Codex documentation search?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run ChatGPT and Codex documentation search like any built-in tool.

How much does ChatGPT and Codex documentation search cost in Gemini?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need an Alexandria account to use ChatGPT and Codex documentation search in Gemini?

No. Spiral runs ChatGPT and Codex documentation search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up ChatGPT and Codex documentation search in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while ChatGPT and Codex documentation search runs?

ChatGPT and Codex documentation search runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

What documentation does this source cover?

It covers the ChatGPT and Codex guides and references published on ChatGPT Learn. The documentation index identifies a combined export for those two products.

Does the documentation search cover the wider web?

The search uses OpenAI's own documentation search restricted to the ChatGPT Learn site. It is suitable for finding official guidance rather than community discussions or third-party tutorials.

Can the documentation be read as Markdown?

Yes. ChatGPT Learn publishes Markdown versions by appending .md to documentation page URLs, and provides llms.txt as its complete documentation index.

How often does the source publish feature summaries?

The documentation index describes What's new as a weekly digest. That describes the feature summary, rather than a guaranteed refresh schedule for every guide.

Where does OpenAI document smaller fixes and API changes?

What's new points to the ChatGPT and Codex changelog for versioned updates, bug fixes, and minor improvements. It links a separate API changelog, so ChatGPT and Codex update entries should not be treated as a complete API change history.

Get started

Start using ChatGPT and Codex documentation search in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options