website-search
What it does
This skill adds structured data that tells Google about a site's search feature. It is for site owners whose websites have an internal search box.
When to use it
- ✓When a website has an internal search box but no structured data for it.
- ✓When a homepage should be eligible for a sitelinks search box in Google.
- ✓When checking why Google does not show a search box for a branded query.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My website has a search box. How do I tell Google about it so it might show in my brand search results?”
5 new skills a week. 1 minute to read.
How it works
The agent adds a WebSite JSON-LD block to the homepage with a search action. The action includes the search URL pattern with a placeholder for the search term.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
WebSite Search Schema
The Sitelinks Searchbox lets users search your site directly from Google's search results page, reducing friction for brand-aware users and increasing the click-through quality from branded queries.
Quick Reference
- Add
WebSiteschema withSearchActionto signal that your site has search functionality to Google - This enables Google to show a Sitelinks Searchbox below your brand's search result for branded queries
- The Searchbox only appears at Google's discretion — the schema is a signal, not a guarantee
- The
query-inputproperty must follow the formatrequired name=search_term_string
Check
Check the homepage (or primary entry URL) for a <script type='application/ld+json'> block with "@type": "WebSite" and a potentialAction of type SearchAction. Verify target is a valid search URL template and query-input is correctly set.
Fix
Add WebSite JSON-LD schema to the homepage <head>. Set url to the canonical-url homepage URL. Set potentialAction with SearchAction, target pointing to your search results URL with {search_term_string} placeholder, and query-input as required name=search_term_string.
Explain
Explain how the WebSite SearchAction schema works, what the Sitelinks Searchbox is, why Google may choose not to show it even with valid schema, and how to construct the search URL template.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to WebSite Search Schema. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/website-search
FAQ
Will Google always show the search box?
No. The skill says Google decides when to show it, so the markup is a signal rather than a guarantee.
What is the search URL template?
It is the web address of your search results, with a placeholder where the search term goes.
What format should query-input use?
The skill says it must follow the format required name=search_term_string.
Details
Original description by the author
Use when applies to sites with internal site search functionality. Use when optimizing branded search result appearance or adding structured data for the first time.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3088
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
competitive-platform-analysis
280kHelps understand your competitors. It identifies, categorizes, and filters competing companies before any deeper analysis.
competitive-report-structure
280kCreates comprehensive competitor reports. It combines information to show the overall landscape, recommendations, and helps align the team.
lead-intelligence
280kHelps your agent find and contact important people. It analyzes leads, suggests approaches, and manages outreach via email and social media.