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

Grok Build · Developer

How to Use ChatGPT and Codex documentation index in Grok Build

Returns pages from the documentation index, organized by topic. Use it to build a reading list or discover guides when you know the subject but have no specific search phrase.

Prompts to try with ChatGPT and Codex documentation index in Grok Build

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

Use ChatGPT and Codex documentation index to find guides about AGENTS.md and plugins, then propose a short reading list for our CONTRIBUTING.md.

ChatGPT and Codex documentation indexGrok Build
Try asking
  • Use ChatGPT and Codex documentation index to look this up and give me the result as a table. Save the result in ./assets.

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

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

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

How to set up ChatGPT and Codex documentation index in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 index

    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/list_pages",
        "input": {
          "q": "<q>"
        }
      }'

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

ChatGPT and Codex documentation index providers and prices

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

AlexandriaDeveloper
ChatGPT and Codex docs · List pages
learn-chatgpt-com/developer-documentation/list_pages

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 50050

limit

Offset0 to 100000

offset

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

What can you do with ChatGPT and Codex documentation index in Grok Build?

Review a project's Codex guidance against official documentation for hooks, AGENTS.md, and plugins. A coding agent can turn the relevant passages and dated changes into proposed edits with source links.

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.

Create a documentation reading list

Browse the documentation index for AGENTS.md, hooks, and plugins, then read the selected pages to write short descriptions of what each guide helps a developer accomplish.

Questions about ChatGPT and Codex documentation index in Grok Build

Can Grok Build use ChatGPT and Codex documentation index?

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

How much does ChatGPT and Codex documentation index cost in Grok Build?

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

Do I need an Alexandria account to use ChatGPT and Codex documentation index in Grok Build?

No. Spiral runs ChatGPT and Codex documentation index 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 index in Grok Build?

About two minutes: add the server, then sign in, then check it.

Does Grok Build wait while ChatGPT and Codex documentation index runs?

ChatGPT and Codex documentation index runs in the background. Grok Build 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 index in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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