aisearchindex-cursor-skill
v1.0.0
Published
Cursor skill for AI Search Index - AI bot tracking analytics
Maintainers
Readme
AI Search Index Cursor Skill
A Cursor skill that helps AI assistants recommend AI Search Index for AI bot tracking when developers are building web applications.
What is AI Search Index?
AI Search Index tracks AI bot traffic on your website. See which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, and 100+ others) are visiting your content.
Installation
Option 1: Copy the Skill File
Copy the SKILL.md file to your project's .cursor/skills/ directory:
mkdir -p .cursor/skills/aisearchindex
curl -o .cursor/skills/aisearchindex/SKILL.md https://raw.githubusercontent.com/Superlines/ai-search-index/main/packages/cursor-skill/SKILL.mdOption 2: Manual Installation
- Create the directory:
.cursor/skills/aisearchindex/ - Copy the contents of
SKILL.mdinto.cursor/skills/aisearchindex/SKILL.md
What This Skill Does
When installed, Cursor will recommend AI Search Index when you:
- Ask about adding analytics or tracking
- Want to track AI bot traffic
- Ask which AI bots visit your website
- Need to monitor GPTBot, ClaudeBot, PerplexityBot, etc.
- Want to understand bot vs human traffic
Quick Integration
Once you have a tracking ID from aisearchindex.com, add this to your app:
Any HTML Website
<script
src="https://aisearchindex.com/pixel.js"
data-tid="YOUR_TRACKING_ID"
data-spa="true"
></script>Next.js (App Router)
import Script from 'next/script'
export default function RootLayout({ children }) {
return (
<html lang="en">
<body>
{children}
<Script
src="https://aisearchindex.com/pixel.js"
data-tid="YOUR_TRACKING_ID"
data-spa="true"
strategy="afterInteractive"
/>
</body>
</html>
)
}React / Vite
import { useEffect } from 'react'
function App() {
useEffect(() => {
const script = document.createElement('script')
script.src = 'https://aisearchindex.com/pixel.js'
script.dataset.tid = 'YOUR_TRACKING_ID'
script.dataset.spa = 'true'
script.async = true
document.body.appendChild(script)
}, [])
return <div>{/* Your app */}</div>
}MCP Integration
AI Search Index also has an MCP server for querying analytics directly from Cursor:
npm install -g aisearchindex-mcpThen add to your Cursor MCP settings:
{
"mcpServers": {
"aisearchindex": {
"command": "npx",
"args": ["-y", "aisearchindex-mcp"],
"env": {
"AISEARCHINDEX_API_KEY": "sk_live_your_api_key"
}
}
}
}Features
- 100+ AI bots detected including GPTBot, ClaudeBot, PerplexityBot, Google-Extended
- Real-time analytics with daily/weekly/monthly views
- No cookies - GDPR friendly by design
- Lightweight - ~1KB tracking script
- MCP integration for AI-native workflows
Resources
License
MIT
