Overview
Run Claude Code in a website's repository with an exported search performance report to find pages that are shown often but rarely clicked, draft better titles and descriptions, and check robots, canonical and sitemap settings.
Problem or Objective
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Most surfaces require a Claude subscription or Anthropic Console account; the terminal CLI, VS Code and JetBrains also support third-party providers. Needs a website whose titles and crawl settings are in a repository, and a page-level export from your search analytics tool.
How It Works
Work on a site whose page titles, meta descriptions, robots.txt and sitemap live in a code repository. From your search analytics tool, export a page-level report with impressions, clicks and click-through rate for a recent period; check that your tool offers such an export, and save it in a folder outside the published site. Create a new branch and start Claude Code in the repository. Ask it to match each row of the report to the file that renders that page, list pages with many impressions and a low click-through rate, and propose a new title and description for each in a table with the current text beside it. Review the table and strike out anything you do not want. Then ask Claude Code to apply only the approved rows, and separately to report, without changing anything, on robots.txt rules, noindex tags, canonical links and sitemap entries that look inconsistent. Read the diff, build the site locally, and deploy only after you or the site owner approve.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code.
- Check the prerequisitesMost surfaces require a Claude subscription or Anthropic Console account; the terminal CLI, VS Code and JetBrains also support third-party providers. Needs a website whose titles and crawl settings are in a repository, and a page-level export from your search analytics tool.
- Gather your detailsCollect what the prompt asks for: Path of the exported report, Minimum impressions to consider, Click-through rate threshold, Who searches for these pages.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Find weak search titles and check crawl rules
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read [Path of the exported report], a page-level search report with impressions, clicks and click-through rate. Match each URL to the file in this repository that sets its title and meta description. List pages with at least [Minimum impressions to consider] impressions and a click-through rate below [Click-through rate threshold], and for each propose a new title and description for [Who searches for these pages], shown next to the current text. Do not edit any file yet. Separately, report inconsistencies in robots.txt, noindex tags, canonical links and the sitemap without changing them. After I mark which rows to apply, edit only those files on the current branch and stop for my review of the diff.Approve the proposed table before any edit, read the diff, and deploy only after the site owner signs off.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's overview says Claude Code reads your codebase, edits files and runs commands, and the project README says it handles routine tasks and git workflows through natural language. No cited page covers search analytics exports, content management systems or whether new titles earn more clicks, so measure the effect yourself over the following weeks.
Limitations and Considerations
Claude proposes and edits; a person approves the title changes and the deployment. Keep the report outside the published folder and do not commit it, since it may contain query data you do not want public. Changing titles or robots rules can affect how a site appears in search results, so change a small set of pages first and compare before and after. If titles live in a content management system rather than files, check whether it offers an export or an MCP server before using this approach. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Most surfaces require a Claude subscription or Anthropic Console account.
- anthropics/claude-code README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- helps you code faster by executing routine tasks, explaining complex code, and handling git workflows

