# Why contentbit

> Why contentbit checks the pages a site serves instead of its Markdown, and where Markdown, agents, and typed blocks fit around that.

Contentbit checks the SEO of a site on its built pages, the HTML that each URL
serves, read from the build folder. This page explains that choice.

## A built page is what a crawler reads

Readers and search engines never see your Markdown. They receive the HTML that
your build writes: the `<title>` that the layout composes, the canonical URL
that the head component renders, the ids that the heading plugin adds, and
the links in the nav and the footer.

A check that reads only the Markdown has to guess what the template and the
router produce. It reports a missing h1 that the layout renders, and it misses
a broken table-of-contents anchor that only the rendered HTML shows. A finding
on a built page is a problem that a reader or a search engine would meet.

## The Markdown says where to fix it

A built page shows what is wrong. The Markdown that wrote it shows where to fix
it, once [page routes](/docs/reference/configuration#page-routes) connect each
Markdown document to its built page. A site whose content lives in a CMS has no
Markdown, and still gets every built-page check.

## Why not a crawler

A headless browser that crawls a running site sees the same pages. It is also
heavy to install and slow in CI. Contentbit reads the HTML as the server sends
it, as the first pass of a search engine does, and reports the pages whose
content renders only in the browser.

## Agents need the page, not a longer prompt

An agent that edits a page needs what the page serves, what each section says,
and how the page links to the rest of the site. `contentbit context` prints
that from the same built pages, and `contentbit check` tells the agent when an
edit broke a link or a title. The same commands run in a terminal, in an agent
loop, and in CI.

## Typed blocks keep agent Markdown valid

Pages often need structure that prose does not carry, such as a comparison,
steps, or a FAQ. Contentbit adds typed blocks to Markdown, and one registry
validates them, renders them, and writes the instructions an agent follows.
See [Typed Markdown blocks](/docs/guides/typed-blocks).
