dimitrigilbert/ai-skills

agent-search-optimisation

Audit and plan website optimisation for AI agents, AI search, LLM discoverability, llms.txt, structured data, and sitemaps.

First seen May 23, 2026

Installation

$ npx skills add dimitrigilbert/ai-skills --skill agent-search-optimisation

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dimitrigilbert/ai-skills · top by installs.

npx skills add dimitrigilbert/ai-skills

Browse all from dimitrigilbert/ai-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 5
License LICENSE
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 4,383 B
  • docs SUMMARY.md 156 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Agent Search Optimisation

Quick start

When given a website URL, produce an evidence-based optimisation plan for AI agents and AI search.

  1. Crawl the public site surfaces:

- homepage - robots.txt - sitemap.xml and sitemap index - llms.txt / llms-full.txt if present - key navigation pages - representative article, product, project, docs, pricing, and about pages

  1. Audit agent-readiness:

- crawlability and renderability - canonical URLs - sitemap coverage - structured data - language alternates - entity clarity - answer-oriented page summaries - machine-readable indexes or APIs - internal linking and topic hubs

  1. Research current AI search best practices before making claims about current platforms.
  2. Create a prioritized roadmap with:

- quick wins - technical fixes - content changes - agent-facing data surfaces - measurement plan

Workflow

1. Clarify the goal

Infer the likely goal from the user request. Ask only when necessary.

Common goals:

  • increase AI answer citations
  • make agents understand a product or portfolio
  • expose documentation to coding agents
  • improve local/business discovery in AI search
  • prepare content for retrieval-augmented systems
  • control AI crawler access

2. Collect evidence

Check these URLs where applicable:

{site}/
{site}/robots.txt
{site}/sitemap.xml
{site}/llms.txt
{site}/llms-full.txt
{site}/.well-known/

Also inspect at least 5 representative pages when the site has enough content:

  • homepage
  • about/company/profile page
  • main collection/archive page
  • one detail page
  • one recent article/docs page

3. Score the site

Use a 0-3 score for each area:

Area 0 1 2 3
Crawlability blocked/broken partially crawlable mostly crawlable clean HTML + clear policy
Discovery no sitemap partial sitemap complete sitemap sitemap index + freshness
Structured data none basic metadata JSON-LD on some templates complete schema graph
Entity clarity vague some entities clear entities entity graph + IDs
Content extractability thin/visual prose only summaries present answer blocks + JSON
Language/canonicals absent inconsistent mostly correct canonical + hreflang complete
Agent surface none llms.txt only index/feed API/search/content endpoints
Measurement none traffic only search console AI/retrieval benchmark

4. Recommend changes

Prioritize in this order unless the site context suggests otherwise:

  1. Fix public crawl/discovery basics.
  2. Add canonical URLs, metadata, and language alternates.
  3. Add JSON-LD and entity IDs.
  4. Add answer-oriented summaries to important pages.
  5. Add topic hubs and internal links.
  6. Add llms.txt as an orientation layer.
  7. Add machine-readable content index.
  8. Add semantic search/API only when the corpus is large enough.
  9. Add measurement and recurring evaluation.

5. Deliver the plan

Structure the final answer as:

  1. Executive summary
  2. What I checked
  3. Current strengths
  4. Gaps and risks
  5. Prioritized roadmap
  6. Implementation details
  7. Measurement plan
  8. Open questions / assumptions

Output rules

  • Do not claim a file or feature exists unless verified.
  • Mark unverified items clearly.
  • Prefer durable web standards over hype.
  • Treat llms.txt as additive, not a replacement for HTML, sitemaps, metadata, or structured data.
  • Separate discovery from access control; robots.txt is not security.
  • Include concrete examples when possible.
  • Keep recommendations implementation-ready.
  • Use current web research for AI search platform behavior, crawler policies, and new conventions.
  • If the user provides a private repo or codebase, inspect implementation before suggesting exact code changes.

Advanced features

See [REFERENCE.md](REFERENCE.md) for audit criteria, schema recommendations, llms.txt guidance, roadmap templates, and API examples.

See [EXAMPLES.md](EXAMPLES.md) for output examples and reusable prompts.

Use [scripts/audit-agent-readiness.mjs](scripts/audit-agent-readiness.mjs) for a lightweight first-pass technical audit.