- Installing SureRank
- SureRank Onboarding Guide
- How to Activate Your SureRank Pro License
- SureRank Dashboard Overview
- General Settings
- Advanced Settings
- Search Console – SureRank
- Managing URL Redirection in SureRank
- SureRank Feature Management – Quick Guide
- Robots.txt Feature in SureRank
- How to Migrate from Rank Math to SureRank
- How to Migrate from Yoast to SureRank
- How to Migrate from SEOPress to SureRank SEO
- How to Migrate from Squirrly SEO to SureRank
- How to Migrate from All in One SEO (AIOSEO) to SureRank
- How to Migrate from Slim SEO to SureRank
- How to Migrate from The SEO Framework to SureRank
- Migration Failed: How to Diagnose
- After You Migrate: Verification and Cleanup Checklist
- Sitemaps in SureRank
- How to Enable Video Sitemap in SureRank Pro
- How to Enable the News Sitemap in SureRank
- How to Show the HTML Sitemap on Your Site in SureRank Pro
- How to Regenerate the Sitemap After Excluding a Post Type in SureRank
- Change the Sitemap URL in SureRank
- How to Enable Author Sitemap in SureRank
- How to Exclude Post Types from the Sitemap
- How to Enable the Author Sitemap and Why Authors Are Excluded (Pro)
- Editing Meta Box
- SureRank – Page SEO ChecksÂ
- Enabling Page SEO Checks in WordPress
- Image Alt Text – Automatic Optimization
- Link Manager
- Using the SureRank Front-End Meta Box
- How to Edit the Meta Title and Description for a Single Page or Post
- Controlling Indexing with Robot InstructionsÂ
- How to Set Global Title and Description Templates with Variables
- How to Set a Canonical URL and How the Canonical Field Works
- How to Fix WWW and Non-WWW Version Redirects to Improve Your SEO
- How to Fix: No H1 Heading Found on Your Homepage
- How to Fix Missing H2 Headings on Your Homepage
- Re-run Checks Button in SureRank
- Fix Critical Error: Another SEO Plugin Detected in SureRank
- Fix Warning: Site Tagline Is Not Set in SureRank
- How to Fix: Robots.txt Contains Invalid Rules in SureRank
- How to Fix Multiple SEO Plugins Detected on Your Site
- How to Fix: Homepage is Not Indexable by Search Engines
- Warning: Homepage Does Not Contain Internal Links
- How to Fix: Search Engine Title is Missing on the Page
- Page Level SEO: Broken Links Detected
- How to Fix Missing Alt Text on Images
- How to Fix Page URLs That Are Too Long
- Page Level SEO Warning: No Links Found on This Page
- Page Level SEO Warning: No Images or Videos Found
- Page Level SEO Warning: Missing Search Engine Description
- Page Level SEO Warning: No Subheadings Found on This Page
- Page Level SEO Warning: Canonical Tag is Missing
- Page Level SEO Warning: Open Graph Tags Missing
- What is Google Search Console and how does SureRank use it?
- Recommended Image Sizes
- SureRank – SEO Check Severity Guide
- Using SureRank with Other SEO Plugins – Best Practices
- Import/Export Feature – SureRank Plugin
- What is llms.txt and Does SureRank Support It?
- Does SureRank offer a keyword rank-tracking feature?
- Does SureRank Come With Google Analytics Integration?
- Email Summary in SureRank
- SureRank Role Manager
- Fixing a Fatal Error After Updating SureRank
- SureRank Server Requirements
- Search Engines Not Indexing Your WordPress Site?
- Sitemap Not Showing in SureRank
- Fixing robots.txt Issues in SureRank
- Why a Working Link Is Flagged as Broken (404)
- Which Pages Are Included in Your SureRank Sitemap
- Fixing False SEO Audit Warnings Caused by Caching
- Fixing “Couldn’t Fetch” for Your Sitemap in Google Search Console
- Troubleshooting: Favicon and Logo in Google Search Results (Supported Formats and CDN Gotchas)
- Customize XML Sitemap Top Bar with surerank_sitemap_top_bar_data
- Analyze ACF Field Content with SureRank
- Preserve Modified Date During Updates surerank_freeze_modified_date
- Customize Final Title Tag surerank_final_title
- Customize Post Type Archive Title Output surerank_post_type_archive_title
- Customize Archive Page Title with surerank_archive_title
- Customize the Search Results Page Title surerank_search_title
- Customizing the 404 Page Title surerank_not_found_title
- Customizing the Title Separator surerank_title_separator
- Disable SureRank’s Document Title Integration
- Customize Homepage Pagination Format surerank_homepage_pagination_format
- Customize SEO Title Length Check Threshold surerank_title_length
- Show or Hide Pagination in SureRank SEO Titles surerank_show_pagination
- Show or Hide Site Name in SEO Title surerank_show_site_name
- Customize Robots Meta Tags surerank_robots_meta_array
- Add “noindex” to Paginated Pages surerank_noindex_paginated_pages
- Customize Meta Description Length surerank_description_length
- Customize Product Category Rewrite Rules surerank_product_category_rewrite_rules
- Remove Product Category Base surerank_remove_product_category_base
- Customize Category URL Structure surerank_remove_category_base
- Disable Permalinks in RSS Feeds surerank_disable_permalink_in_feed
- Customize URL Length Check Threshold surerank_url_length
- Control SureRank Feed Noindex Header surerank_disable_feed_indexing
- Open External Links in New Tab
- Enabling the AI (MCP) Integration and Connecting an AI Client
- Regenerating the SureRank Sitemap Cache with WP-CLI
- Show Meta Title and Description in Post Lists surerank_show_meta_in_admin_list
- Customize Blocked Link Statuses surerank_link_manager_blocked_statuses
- Change the MCP Server Card surerank_pro_mcp_server_card
- Add Entries to the API Catalog surerank_pro_api_catalog_entries
- Add Entries to the AI Catalog surerank_pro_ai_catalog_entries
- Add or Remove Agent Skills surerank_pro_agent_skills
- What Is AI Ready in SureRank?
- How to Fix the Indexing and Snippet Rules Result in SureRank AI Ready Checks
- How to Fix the Home Page Text Without JavaScript Result in SureRank AI Ready Checks
- How to Handle the OAuth Discovery Result in SureRank AI Ready Checks
- How to Handle the A2A Agent Card Result in SureRank AI Ready Checks
- How to Handle the Web Bot Auth Result in SureRank AI Ready Checks
- How to Fix the Site Slow and Site Unreachable Results in SureRank AI Ready Checks
- How to Fix the llms.txt Result in SureRank AI Ready Checks
- How to Fix the Content Signals Result in SureRank AI Ready Checks
- How to Fix the MCP Server Card Result in SureRank AI Ready Checks
Add or Remove Agent Skills surerank_pro_agent_skills
Hook: surerank_pro_agent_skills
Description: The surerank_pro_agent_skills filter changes the skills that SureRank Pro lists in the Agent Skills index at /.well-known/agent-skills/index.json. A skill is a short instruction file that tells an AI agent how to do one task on the site. By default the index has skills for reading the site as Markdown, using the REST API, and connecting to the MCP server. The filter can add a skill of your own, or remove a built-in skill.
Source: inc/modules/ai-readability/agent-skills.php (SureRank Pro)
Usage: Use this filter to add, change, or remove skills. The filter receives one value, $skills, which is an array, and it must return an array. Each skill is listed under its name, and it has two parts:
description: one sentence that says what the skill does.body: the full text of the skill file, including the lines at the top between---marks.
SureRank serves the body at /.well-known/agent-skills/<name>/SKILL.md and adds a digest of the text to the index on its own.
Note:
This filter is available in SureRank Pro, version 1.12.0 or later, and it needs the Publish an Agent Skills Index switch to be on. See How to Publish Agent Discovery Files in SureRank.
Example: Add a Skill
If you’re looking to teach agents one task on your site, add the code below. Replace the name, the description, and the text with your own. The name in the first lines of the body should match the name used as the key.
// Add a skill to the Agent Skills index.
add_filter( 'surerank_pro_agent_skills', 'my_agent_skill' );
function my_agent_skill( $skills ) {
// The key is the name of the skill. It becomes part of the address of its SKILL.md file.
$skills['check-store-hours'] = array(
// One sentence that says what the skill does.
'description' => 'Find the opening hours of the store.',
// The full text of the SKILL.md file, including the lines between the --- marks at the top.
'body' => "---\nname: check-store-hours\ndescription: \"Find the opening hours of the store.\"\n---\n\n# Check the store hours\n\n- The opening hours are on the page at https://example.com/contact/.\n",
);
// Always return the array.
return $skills;
}Example: Remove a Built-in Skill
If you’re looking to stop listing a built-in skill, add the code below. To remove a different skill, replace use-rest-api with its name: read-site-content or connect-mcp-server.
// Remove a built-in skill from the Agent Skills index.
add_filter( 'surerank_pro_agent_skills', 'my_remove_skill' );
function my_remove_skill( $skills ) {
// Remove the skill by its name.
unset( $skills['use-rest-api'] );
// Always return the array.
return $skills;
}You can add the example code to your child theme’s functions.php file or use a plugin like Code Snippets to safely insert custom code. Using a code snippet plugin is recommended for easier management and to ensure the code remains active even if you switch themes.
Expected Outcome
After you add the first example, open https://example.com/.well-known/agent-skills/index.json in a browser. Replace example.com with your domain. The index now lists the new skill with its name, description, address, and digest.

Open the address shown in the url line to read the skill file. After you add the second example instead, the removed skill is missing from the index, and its file shows “page not found”.
Notes
- Give every skill both a
descriptionand abody. A skill without a body shows an error message in the index and its file cannot be opened. - The name becomes part of the address of the skill file, so it is recommended to use only lowercase letters, numbers, and hyphens. SureRank does not check the name, and a name with a space or a slash gives an address that does not work.
- The
connect-mcp-serverskill is in the list only while the MCP server card is published. - The AI catalog lists the Agent Skills index as one entry. It does not list each skill.
- SureRank does not check the skills that the filter returns. Check the index and the skill file in a browser after each change.
Related Docs
We don't respond to the article feedback, we use it to improve our support content.