Documentation

aiseo-audit quickstart: page queries, evidence, and baselines

In brief. This is the aiseo-audit quickstart for taking one page from its first command to a saved AI SEO audit report. It explains target queries, four pipeline stages, evidence tiers, and the limits of a page-side readiness score.

Maintained by Jeff Patterson and Agency Enterprise · Updated August 30, 2026

How the aiseo-audit quickstart works: overview

The quickstart is the shortest path from a page URL to a repeatable AI SEO audit baseline.

Run one command, add the audience queries, review the earliest weak stage, and save the result before editing the page.

This order matters because a later writing change does not repair an access or retrieval problem. This means the first audit establishes the inputs before it recommends the work.

aiseo-audit quickstart: page queries, evidence, and baselines terms

Page audit

A page audit refers to one analysis of one fetched URL.

Target query

A target query refers to a question the page is meant to answer.

Baseline

A baseline is defined as the saved result used for later comparison.

Pipeline stage

A pipeline stage refers to one part of the path from page access to source attribution.

Evidence tier

An evidence tier means that each factor states the strength and scope of its research support.

Audit score

An audit score is a type of readiness measure, not a forecast of citations or traffic.

Quickstart overview

aiseo-audit is a command-line tool that checks page-side signals related to retrieval and citation readiness. It analyzes fetched HTML without calling an external model. It cannot predict whether a search engine will cite the page.

Start by running the package with npx against a public or local URL. npx executes the published package without a global install. Add the real questions the page needs to answer before acting on the recommendations.

Requirements

aiseo-audit requires Node.js 20.19 or later and npm 10 or later. It needs no account, telemetry connection, or external AI service key.

Install and run the first audit

The result is a terminal report with the overall score, grade, pipeline stages, and top three recommendations. Detailed factor rows include evidence tiers and citations.

npx aiseo-audit https://example.com

Add AI search target queries

Target queries enable Query Alignment. The audit checks terms in structural fields, terms in the body, and whether a section addresses each query’s aspects. It scores the weakest supplied query rather than averaging away a gap.

npx aiseo-audit https://example.com/guide \
  --query "how to audit ai seo" \
  --query "generative engine optimization evidence"

How to interpret the result

Inspect the four stages in order. Technical eligibility checks page fetching and extraction. Retrieval alignment checks topic and query signals. Citation fitness checks directness, evidence, and reusable answers. Provenance checks authorship, organization identity, and attribution.

Fix a failed eligibility gate before optimizing downstream factors. For pages that pass, prioritize gaps tied to the supplied queries and prefer supported or conditional evidence over low-confidence heuristics.

Key takeaways

  • In short, start with one representative URL and the queries that define success.
  • Use --out report.html for a self-contained shareable report.
  • Use --sitemap to audit a site and build a host-level profile.
  • Use --diff to establish a baseline and track changes.
  • Use --fail-under only after calibrating a threshold against your own pages.

Official sources

The official npm package [1] and GitHub repository [2] confirm that aiseo-audit uses the MIT license and one analyzer for its command line and TypeScript interfaces.

  1. aiseo-audit on npm: package, version, and installation details.
  2. agencyenterprise/aiseo-audit: source code and project documentation.

How to use this reference

  1. Choose one public or local page URL.
  2. Write the real questions that page needs to answer.
  3. Run the command and save the report.
  4. Fix the earliest weak pipeline stage.
  5. Run the same inputs again and compare the result.

Key takeaways

  • The command is the same for local and public pages.
  • The baseline is useful only when the tool version and query set stay recorded.
  • The priority is a failed technical eligibility check.
  • The score is a readiness measure, not a citation forecast.
  • The report is strongest when it accompanies a human review of the page.

Bottom line: Start with one page and save the inputs with the result.

Official sources and verification

According to the npm package page, aiseo-audit publishes its current version and installation command [1]. According to the GitHub repository, the source code and project documentation are public [2].

According to the evidence map, every scored factor records an evidence tier and pipeline stage [3]. According to the release history, major versions document scoring changes that require new baselines [4]. According to the project license, aiseo-audit uses the MIT license[5].

  1. aiseo-audit on npm: package, version, and installation details.
  2. agencyenterprise/aiseo-audit: source code and documentation.
  3. aiseo-audit evidence map: factor tiers, stages, and research sources.
  4. aiseo-audit releases: version history and migration notes.
  5. MIT license: project license text.