OmniRank

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.
CommandWhat it doesWrites
sweepScores a site across SEO, AEO, GEO, performance and security gates. Supports --fail-on, --sarif and --junit.A JSON report under .omnirank/reports/
prescribeShows the unified diffs OmniRank could apply for findings it can locate in your source.Nothing
applyApplies the same fixes. Dry run unless --write; journaled.Source files, only with --write
undoRestores the files an apply --write changed, from its journal.Source files
schemagenerate, validate and list for schema.org JSON-LD. Values are emitted only with a recorded source.Nothing (prints to stdout)
aeoChecks one page against twelve on-page answer-engine rules and proposes sourced diffs.Nothing
packblog and product read-only checks for a blog directory or an AI and software product repository.Nothing
geoGenerates llms.txt [experimental] (not a ranking or citation lever), llms-full.txt and facts.json from a site.Those three files
connectSearch 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
doctorChecks Python, dependencies, configuration and credentials. Never prints a secret.Nothing unless --fix-gitignore is confirmed
trackSearch 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/
mcpA 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, geo and doctor --fix-gitignore after confirmation. apply is a dry run by default and refuses dirty files without --force.
How do I use it in CI?
Run omnirank sweep with --fail-on and optionally --sarif or --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.