External repo layout
Setup files
.github/
answerlens/
brand.yaml
competitors.yaml
prompts.yaml
runtime.yaml
workflows/
answerlens.ymlThis is the same layout used by examples/consumer-repo.
Audit product pages, review the report, and fix what AI assistants cannot read clearly.
CI handoff
Use this page after the demo and one real-site run. It shows the files to copy, where secrets belong, and how to review the first CI result.
CI setup
The setup gives you the same report set in CI: site settings, competitors, prompts, runtime defaults, and a pinned Action.
Start with one useful local audit so the reports already make sense.
Open quickstartMove the .github/answerlens files and workflow into the repository you want to audit.
Open sourcesKeep non-secret eval defaults in runtime.yaml and keep provider keys in secrets.
Open runtimeRun the reviewed stable release tag in pull requests or workflow_dispatch runs.
Open workflowExternal repo layout
.github/
answerlens/
brand.yaml
competitors.yaml
prompts.yaml
runtime.yaml
workflows/
answerlens.ymlThis is the same layout used by examples/consumer-repo.
File roles
brand.yaml: product name, domain, proof-page hints, and optional site_display_name.competitors.yaml: the declared comparison set for the category you actually sell into.prompts.yaml: buyer, comparison, and citation questions for your real audience.runtime.yaml: non-secret eval defaults for provider, model, locale, samples, timeout, and optional base URL.answerlens.yml: the GitHub Actions workflow that runs AnswerLens in CI and uploads the same report files, pinned to the current stable Action release.The current starter workflow uses YSCJRH/ai-visibility-auditor@v0.3.2; after a newer release, update that pin only after reviewing the release notes.
Keep API keys in GitHub secrets or local environment variables, not in runtime.yaml.
Copyable sources
Review flow
Use this for the audit overview and PR summary.
Use this to inspect coverage, checks, and scoring.
Use this as the fix list after review.
Then use pr-snippet.md for GitHub copy and run.json for machine-readable metadata.
Public example
Example site: Example Product public site
This public example runs the starter files against the sample site so external teams can inspect the reports before wiring their own site.
Set up your repo
After the files are copied, keep the first run intentionally small:
runtime.yaml and keep API keys in secrets.profile: fast-first-eval.profile: perplexity-cross-check as a temporary override.What this connects to