Output will stream here when you run the agent.
Summary
The AI SEO Audit Agent evaluates a page for how readable it is to AI answer engines — ChatGPT, Claude, and Perplexity — rather than classic blue-link search. It fetches the page through context.dev (never touching the site directly), scores six categories to a 0–100 total, lists the failing checks by impact, and returns an agent-ready fix prompt you can paste straight into a coding agent. Reach for it when you want a page to get cited by AI assistants.
Installation
$ pnpm dlx shadcn@latest add @agentcn/flue/ai-seo-audit
Composition
agents/
└── ai-seo-audit.ts # Agent: fetch the page, then score and report
tools/
└── fetch-page.ts # Page Markdown + HTML via the context.dev SDK
skills/
└── seo-audit/
└── SKILL.md # Six-category rubric and scoring bandsCustomization
- Fetching. The page is fetched through context.dev —
the recipe never hits the audited site directly. Set
CONTEXT_DEV_API_KEY. - Tune the rubric. Edit
skills/seo-audit/SKILL.mdto add checks, reweight categories, or change the scoring bands. - Reshape the output. Adjust the agent instructions to emit JSON, a shorter summary, or a different fix-prompt format.
- Swap the model. Change the
modelon the agent inagents/ai-seo-audit.ts.