OmniRank command reference
OmniRank has 22 commands; the twelve core ones are below and omnirank --help lists the rest. Most are read-only: sweep, prescribe, schema, aeo, pack and doctor change nothing. Of the twelve, only apply with the write flag, undo, geo and some connector sends change anything, after confirmation or a dry run. Exit code 2 means a usage or input error.
| Command | What it does | Writes |
|---|---|---|
sweep | Scores a site across SEO, AEO, GEO, performance and security gates. Supports --fail-on, --sarif and --junit. | A JSON report under .omnirank/reports/ |
prescribe | Shows the unified diffs OmniRank could apply for findings it can locate in your source. | Nothing |
apply | Applies the same fixes. Dry run unless --write; journaled. | Source files, only with --write |
undo | Restores the files an apply --write changed, from its journal. | Source files |
schema | generate, validate and list for schema.org JSON-LD. Values are emitted only with a recorded source. | Nothing (prints to stdout) |
aeo | Checks one page against twelve on-page answer-engine rules and proposes sourced diffs. | Nothing |
pack | blog and product read-only checks for a blog directory or an AI and software product repository. | Nothing |
geo | Generates llms.txt [experimental] (not a ranking or citation lever), llms-full.txt and facts.json from a site. | Those three files |
connect | Search Console, GA4, Bing Webmaster, IndexNow, Yandex and a Naver checklist. Reads by default; writes are dry runs unless --send and need confirmation. | Provider-side, only when confirmed |
doctor | Checks Python, dependencies, configuration and credentials. Never prints a secret. | Nothing unless --fix-gitignore is confirmed |
track | Search Console history deltas, and with track ai and your own API keys, samples AI answers for your brand. Prints a cost estimate and asks before spending. | Local files under .omnirank/ |
mcp | A read-only MCP server over stdio with a fixed allow-list of tools. | Nothing |
Gate a build
omnirank sweep --config omnirank.config.json --fail-on h1 canonical schema
The repository also contains a composite GitHub Action that runs a sweep and exposes SARIF and JUnit paths. It is listed on the GitHub Marketplace as OmniRank Sweep, and the SARIF display in the Security tab has not been verified on a real repository.
Full flag lists live in the repository docs. Run omnirank <command> --help for the exact flags of your version.
Common questions
- Which commands can change my files?
- Only
apply --write,undo,geoanddoctor --fix-gitignoreafter confirmation.applyis a dry run by default and refuses dirty files without--force. - How do I use it in CI?
- Run
omnirank sweepwith--fail-onand optionally--sarifor--junit. A failing named gate exits with code 1. - Where do my credentials go?
- Only into environment variables or the provider's own login flow. They are not stored in the configuration file and are masked in output.