For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
346
Sponsor

AI SEO Audit

Runs a deterministic AI-SEO audit on a page through context.dev — scoring ~30 checks across six categories into a 0–100 total, returning failing checks and an agent-ready fix prompt.

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), then runs a deterministic rubric of ~30 checks across six categories to a 0–100 total. The model doesn't eyeball the score — audit_page computes it in lib/rules.ts, so the same page always yields the same result. The agent presents the breakdown, 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/langgraph/ai-seo-audit

Composition

├── index.ts
├── instructions.md
├── lib/agent-fix-prompt.ts
├── lib/audit-types.ts
├── lib/audit.ts
├── lib/rules.ts
├── lib/url.ts
├── skills/seo-audit/SKILL.md
├── tools/audit_page.ts

Customization

  • Edit index.ts to change the model, description, or system prompt.
  • Add route-local tools under tools/; tool input and output types are inferred from TypeScript.
  • Run dawn verify before deploying generated LangGraph artifacts.