# Catch agent-readiness regressions before you ship

> surfacedd-check is a free command-line agent readiness check for CI. It runs on Linux, macOS and Windows, crawls up to 500 pages of the URL you give it, scores Reach, Understand and Act with the Surfacedd app's rules, and exits 5 under your --fail-under threshold. It needs no account, keys or AI calls.

Source: https://surfacedd.com/tools/agent-readiness-cli · Updated 2026-11-19

## What does surfacedd-check do?

It answers one question on every build: can AI crawlers and agents still reach your pages, understand what they offer and use your forms? It is a single program of about 3.5 MB with three commands: `agent-readiness check <url>`, `version` and `help`. 

The rules, weights and scores are the Surfacedd app's own: the same crawler, the same bot-wall probes with seven AI agents' User-Agent tokens, and the same rule table (version 2026-11-19.1). A test in the app's repository checks three fixture sites through the app, the full `surfacedd` command and `surfacedd-check`, and fails if any score or finding differs. 

It contacts only the site you name, respects robots.txt, stores nothing and makes no AI calls, so a check costs $0. It never opens a Surfacedd database, reads no keychain and needs no licence. 

## How do I add it to CI?

### GitHub Actions

The action installs the binary, verifies its checksum, writes a job summary with the scores and a fix for each problem, and fails the step under `fail-under`. 

```yaml
name: Agent readiness
on: [pull_request]
jobs:
  agent-readiness:
    runs-on: ubuntu-latest
    steps:
      - uses: surfacedd/agent-readiness-action@v1
        with:
          url: https://staging.example.com
          fail-under: 70
```

To check a build before it's deployed, start it earlier in the job and add `allow-private: true` with a URL such as `http://localhost:3000`. Local and private addresses are refused unless you allow them.

### GitLab CI

```yaml
agent-readiness:
  stage: test
  image: alpine:3.20
  script:
    - apk add --no-cache curl
    - curl -fsSL https://surfacedd.com/install-check.sh | sh
    - surfacedd-check agent-readiness check "$STAGING_URL" --fail-under 70 --json > agent-readiness.json
  artifacts:
    when: always
    paths: [agent-readiness.json]
```

### Any other CI or a release script

```sh
curl -fsSL https://surfacedd.com/install-check.sh | sh -s -- --dir ./bin
./bin/surfacedd-check agent-readiness check https://staging.example.com --fail-under 70 --human
```

The exit code is the contract: 0 passed, 5 under the threshold (or nothing could be scored), 2 a usage mistake, 1 any other error, such as an unreachable site. 

## What does the output look like?

Real output for `https://example.com` with a threshold of 70, captured on 2026-11-19. The command exited with code 5:

```console
$ surfacedd-check agent-readiness check https://example.com --fail-under 70 --human
https://example.com/ · checked 2026-11-19 10:43 · 1 pages

Overall     47/100
Reach       94/100
Understand  0/100
Act         not scored (no rule applies)

WEIGHT  AREA        RULE                            FINDING
     2  understand  understand.organization-schema  The home page has no Organization markup.
     2  understand  understand.landmarks            1 of 1 pages lack a main or navigation landmark.
     1  reach       reach.sitemap                   No sitemap found in robots.txt or at /sitemap.xml.
     1  understand  understand.heading-order        1 of 1 pages have heading problems.
7 informational findings on emerging agent protocols are never scored (see --json).

Failed (overall 47 against --fail-under 70)

Whole-site crawls, history and step-by-step fixes: the Surfacedd app, https://surfacedd.com/features/agent-readiness
```

Act is "not scored" because the page has no forms or buttons for its rules to test; unscored categories are left out of the overall score rather than counted as zero. With `--json`, or whenever the output is piped, you get one JSON document instead, in the same `surfacedd.cli/v1` schema as the app's `surfacedd` command: the scores, `passed`, `fail_under`, and every problem with its evidence, fix and sources. 

## How do I pick a threshold?

Run the check once without `--fail-under` and note the overall score. Set the threshold a few points below it, so the build fails on a real regression rather than on a page you added. Raise it as you fix issues. The [CI guide](/guides/agent-readiness-in-ci) covers where the step goes and how to read a failure, and the [agent readiness checklist](/guides/ai-agent-readiness-checklist) explains every rule.

## Is the download safe to run?

Each release publishes a `surfacedd-check-SHA256SUMS` file with a Sigstore signature made by the release workflow. The install scripts compare the download with it and stop on a mismatch or a missing entry. The macOS build is signed with Surfacedd's Apple Developer ID and notarized. Linux builds are static, so they run on any distribution, Alpine included. 

## Limits

- **JavaScript isn't run.** Content checks read the HTML the server sends, as most crawlers do.
- **The bot-wall test isn't a verified agent.** It sends agents' User-Agent tokens from your CI runner, so a firewall that trusts verified IP ranges or signed requests may treat real agents differently.
- **Proxies are ignored.** Requests go straight to the site, so a runner that can only reach the internet through a proxy can't run the check.
- **HTTPS needs CA certificates.** Minimal images without the `ca-certificates` package can't verify certificates.
- **One URL per run,** up to 500 pages. The Windows build is x64 only.
- **It's a gate, not a report.** No history and no comparison with the last run. The app keeps both.

## Fair questions

### Is surfacedd-check really free?

Yes. It costs nothing to download or run, needs no account, licence or API keys, and makes no AI calls, so there is nothing to pay for per check. Its human output ends with one line about the Surfacedd app, which adds whole-site history and step-by-step fixes. There are no other prompts, limits or sign-ups.

### Do I need the Surfacedd app installed?

No. surfacedd-check is a separate download that never opens a Surfacedd database. If you have the app, its own `surfacedd` command runs the same check and also reads your saved results. The standalone build exists because CI runners are mostly Linux, and the app runs on Mac and Windows.

### Will it give the same score as the app?

Yes, for the same pages. It uses the app's crawler, probes, rule table and scoring formula. A test runs three fixture sites through the app, the full command and surfacedd-check and fails if anything differs. The free web checker scores only two pages, so its numbers can differ from a crawl.

### Can it check a site on localhost?

Yes, with `--allow-private` (or `allow-private: true` in the action). Local and private addresses are refused by default, so a typo can't point the crawler at an internal service. Start your build on the runner, then check `http://localhost:` and the port it listens on.

### Does it send my site or results anywhere?

No. The only requests go to the site you name. Nothing is uploaded to Surfacedd, there is no telemetry, and the report is written to your terminal or the file you redirect it to. The GitHub Action writes the job summary inside your own workflow run.

### What happens when the site is down?

You still get a report, with 0 pages checked. An unreadable robots.txt means crawlers must treat the whole site as disallowed, so every robots rule fails and the score drops to about 20, under any sensible `--fail-under`. A malformed URL or a refused private address exits with code 1 instead.
