AI product buildersUpdated
Crawl a docs site to markdown with your AI agent
Based on a real paid run of its steps,
Give your agent a docs URL. It returns clean markdown for each page and stays inside the docs path; the prompt asks for each page's markdown in the answer. Our crawl fetched 20 of 20 pages for $0.03 in both runs; chat apps may show only some of them in full.
Before you start: set up Orthogonal
Connect Orthogonal once, in the app you use. Eligible new accounts get a one-time $5 starter credit (phone check needed). If the prompt names a CSV and you work in a chat app, attach the file to the chat.
New to Orthogonal? Create an account.
On claude.ai or Claude Desktop, go to Plugins (or Customize → Connectors) → Add → Add custom connector. Enter the name Orthogonal and this URL:
Click Continue twice, choose Sign in now, then click Add. In a chat, turn it on from + → Plugins (or Connectors).
On Team or Enterprise, an owner adds it once under Organization settings → Connectors, then you click Connect. Free plans allow one custom connector.
An agent with a terminal can also set itself up from llms.txt. Other clients (Codex and more): MCP setup docs.
Copy the flow
Why this prompt works
- Name the path to stay in
- “Follow only URLs inside that path” keeps sign-in and marketing pages out.
- Cap the pages
- A page limit keeps the crawl and the price predictable.
- Ask for failures
- A failed page should be listed, not skipped quietly.
- Cap the spend
- Under $0.05; our 20 pages cost $0.03.
How it works
- You connect Orthogonal once, as a remote MCP server in the agent you use.
- The agent gets a free price quote for a crawl call.
- It runs one crawl with a page limit and a URL pattern for the docs path.
- It pastes each page's markdown into its answer under the page's URL.
- It lists any page that failed.
The real run (Dec 1, 2026)
Sample: One docs site (our own, https://www.orthogonal.com/docs), limited to 20 pages. The same inputs were run twice on December 1, 2026.
What went wrong. Our first crawl had no URL pattern: 15 of 20 pages were docs, and the rest were the homepage, catalog and sign-in pages. With the pattern, all 20 were docs. The site has more pages than the limit, so this is a partial crawl; 66 URLs were reported as skipped. The two runs shared 19 pages, all the same length, and differed on one. We compared sampled lines from three pages with the live site: 14 of 15, 15 of 15 and 15 of 15 were there. Cost was the same both times. The prompt above was written from these runs and hasn't been run as worded.
In other agents (Dec 2, 2026, earlier prompt wording). In ChatGPT the crawl also fetched 20 of 20 pages for $0.03, but only 5 pages reached the chat in full, because the long response was cut off; Grok saved 4. The prompt above now asks for the markdown in the answer, in batches of 5 pages if it gets cut off.
Why use this flow
- Markdown an agent can use. Navigation and page chrome are stripped.
- Only the docs. A URL pattern keeps other pages out.
- One flat call. 20 pages cost $0.03 in our runs.
FAQ
How do I crawl a docs site to markdown? Connect Orthogonal to your agent, give it the docs URL and a page limit, and ask for one markdown file per page. In our Dec 1, 2026 test, 20 of 20 pages came back for $0.03.
How do I keep a crawl inside /docs? Tell the agent to follow only URLs inside /docs. In our Dec 1, 2026 test on Orthogonal, setting a URL pattern for /docs took the crawl from 15 of 20 docs pages to 20 of 20.
Is crawled markdown the same as the live page? In our Dec 1, 2026 test through Orthogonal, 44 of 45 sampled lines from three crawled pages were on the live pages.
How much does a docs crawl cost? $0.03 for 20 pages in our Dec 1, 2026 test through Orthogonal, with a free price quote before every call.
Related
Which flow should we build next?
Tell us the job you want your agent to do. We're picking the next flows with customers. Share your idea
The form asks for your email and subscribes you to the Orthogonal newsletter.