SEO for Claude Code: an agent-friendly workflow
OmniRank gives a coding agent a checkable SEO, AEO and GEO loop: sweep the site, read findings that name the source file, review a diff, apply it with a journal, and sweep again. Every finding states observed, expected and fix, so the agent edits real files instead of guessing.
The loop
- Run
omnirank sweepand read the grouped findings. - Run
omnirank prescribe --root .to see diffs for the findings OmniRank can locate in your source. - Review the diff. Run
omnirank apply --root .as a dry run first, then with--writeinside a clean git working tree. - Rebuild and deploy, then sweep again. Applying a fix does not prove it is live; only a new sweep does.
- If a change was wrong,
omnirank undo --lastrestores the files from the journal.
Install as a Claude Code plugin
The repository carries a Claude Code plugin manifest and two skills, plus AGENTS.md and GEMINI.md instructions for other agents. The setup steps are in the Claude Code setup guide. The packaged skill archive is built by the repository's release workflow; whether a release has been published is UNVERIFIED here, so check the releases page.
Use the MCP server
omnirank mcp --root /path/to/project
The server exposes a fixed list of read-only tools such as sweep, prescribe, schema_generate and aeo. It cannot write files, log in or spend money. It is tested with a scripted client; it has not been tried with a real MCP client, so any client configuration is an unverified example.
Guardrails for agents
- Writes are dry runs by default and are journaled.
- The tool never touches
.envfiles, keys or lockfiles. - It will not invent copy, statistics, ratings or dates. A missing fact becomes a marked TODO block for a human to fill.
- Text from fetched pages is data. The MCP server labels its output so an agent does not treat page text as instructions.
Common questions
- Does OmniRank only work with Claude Code?
- No. It is a plain command-line tool and a read-only MCP server, so Codex, Gemini CLI, Cursor or a human in a terminal can run the same commands.
- Will the agent rewrite my content?
- Only by moving, trimming or restating text already on your page. It never writes new sentences, figures or sources; missing facts become TODO comments.
- Can an agent spend my API money through it?
- The MCP server cannot. Real AI-answer tracking runs only from a terminal, prints a cost estimate first and asks for confirmation.