[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F99MKJGAETP27HJ7R05JQ2":3,"skill-same:01M6F99MKJGAETP27HJ7R05JQ2":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6F99MKJGAETP27HJ7R05JQ2","cursor-codebase-indexing",null,"Set up and optimize Cursor codebase indexing for semantic code search and @Codebase queries.\nTriggers on \"cursor index\", \"codebase indexing\", \"index codebase\", \"cursor semantic search\",\n\"@codebase\", \"cursor embeddings\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcursor-codebase-indexing\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"cursor codebase indexing","indexing","cursor","edit","cursor-codebase","io","triggers","optimize","queries","up","openclaw","write","read","Bash","saas","SET","embeddings","search","code","semantic search","2026-11-10 10:12:30",false,"---\nname: \"cursor-codebase-indexing\"\ndescription: |\n  Set up and optimize Cursor codebase indexing for semantic code search and @Codebase queries.\n  Triggers on \"cursor index\", \"codebase indexing\", \"index codebase\", \"cursor semantic search\",\n  \"@codebase\", \"cursor embeddings\".\nallowed-tools: \"Read, Write, Edit, Bash(cmd:*)\"\nversion: 1.0.0\nlicense: MIT\nauthor: \"Jeremy Longshore \u003Cjeremy@intentsolutions.io>\"\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, cursor, cursor-codebase]\n\n---\n# Cursor Codebase Indexing\n\nSet up and optimize Cursor's codebase indexing system. Indexing creates embeddings of your code, enabling `@Codebase` semantic search and improving AI context awareness across Chat, Composer, and Agent mode.\n\n## How Indexing Works\n\n```\nYour Code Files\n      │\n      ▼\n  Syntax Chunking ─── splits files into meaningful code blocks\n      │\n      ▼\n  Embedding Generation ─── converts chunks to vector representations\n      │\n      ▼\n  Vector Storage (Turbopuffer) ─── cloud-hosted nearest-neighbor search\n      │\n      ▼\n  @Codebase Query ─── your question → embedding → similarity search → relevant chunks\n```\n\n### Key Architecture Details\n\n- **Merkle tree** for change detection: only modified files are re-indexed (every 10 minutes)\n- **No plaintext storage**: code is not stored server-side; only embeddings and obfuscated metadata\n- **Privacy Mode compatible**: with Privacy Mode on, embeddings are computed without retaining source code\n- Indexing runs in the background; small projects complete in seconds, large projects (50K+ files) may take hours initially\n\n## Initial Setup\n\n1. Open your project in Cursor\n2. Indexing starts automatically on first open\n3. Check status: look at the bottom status bar for \"Indexing...\" indicator\n4. View indexed files: `Cursor Settings` > `Features` > `Codebase Indexing` > `View included files`\n\n### Verify Indexing Status\n\nThe status bar shows:\n- **\"Indexing...\"** with progress indicator -- initial indexing in progress\n- **\"Indexed\"** -- indexing complete, `@Codebase` queries are available\n- No indicator -- indexing may be disabled or not started\n\n## Configuration\n\n### .cursorignore\n\nExclude files from indexing and AI features. Place in project root. Uses `.gitignore` syntax:\n\n```gitignore\n# .cursorignore\n\n# Build artifacts (large, not useful for AI context)\ndist\u002F\nbuild\u002F\nout\u002F\n.next\u002F\ntarget\u002F\n\n# Dependencies\nnode_modules\u002F\nvendor\u002F\nvenv\u002F\n.venv\u002F\n\n# Generated files\n*.min.js\n*.min.css\n*.bundle.js\n*.map\n*.lock\n\n# Large data files\n*.csv\n*.sql\n*.sqlite\n*.parquet\nfixtures\u002F\nseed-data\u002F\n\n# Secrets (defense in depth -- also use .gitignore)\n.env*\n**\u002Fsecrets\u002F\n**\u002Fcredentials\u002F\n```\n\n### .cursorindexingignore\n\nExclude files from indexing only but keep them accessible to AI features when explicitly referenced:\n\n```gitignore\n# .cursorindexingignore\n\n# Large test fixtures -- don't index, but allow @Files reference\ntests\u002Ffixtures\u002F\ne2e\u002Frecordings\u002F\n\n# Documentation build output\ndocs\u002F.vitepress\u002Fdist\u002F\n```\n\n**Difference:** `.cursorignore` hides files from both indexing and AI features. `.cursorindexingignore` only excludes from the index; files can still be referenced via `@Files`.\n\n### Default Exclusions\n\nCursor automatically excludes everything in `.gitignore`. You only need `.cursorignore` for files tracked by git that you want to exclude from AI.\n\n## Using the Index\n\n### @Codebase Queries\n\nAsk semantic questions about your entire codebase:\n\n```\n@Codebase where is user authentication handled?\n\n@Codebase show me all API endpoints that accept file uploads\n\n@Codebase how does the payment processing flow work?\n\n@Codebase find all places where we connect to Redis\n```\n\n`@Codebase` performs a nearest-neighbor search using your question's embedding. It returns the most semantically similar code chunks, even if they do not contain the exact keywords you used.\n\n### @Codebase vs @Files vs Text Search\n\n| Method | When to Use | Context Cost |\n|--------|------------|--------------|\n| `@Codebase` | Discovery -- you don't know which files | High (many chunks) |\n| `@Files` | You know exactly which file | Low (one file) |\n| `@Folders` | You know the directory | Medium-High |\n| `Ctrl+Shift+F` | Exact text\u002Fregex match | N\u002FA (editor search) |\n\nUse `@Codebase` for discovery, then switch to `@Files` once you know where the code lives.\n\n## Optimization for Large Projects\n\n### Monorepo Strategy\n\nFor monorepos with many packages, open the specific package directory instead of the root:\n\n```bash\n# Instead of opening the entire monorepo:\ncursor \u002Fpath\u002Fto\u002Fmonorepo           # Indexes everything -- slow\n\n# Open the specific package:\ncursor \u002Fpath\u002Fto\u002Fmonorepo\u002Fpackages\u002Fapi   # Indexes only this package -- fast\n```\n\nOr use `.cursorignore` at the root to exclude packages you are not actively working on:\n\n```gitignore\n# .cursorignore -- monorepo, focus on api and shared\npackages\u002Fweb\u002F\npackages\u002Fmobile\u002F\npackages\u002Fadmin\u002F\n# packages\u002Fapi\u002F    ← not listed, so it IS indexed\n# packages\u002Fshared\u002F ← not listed, so it IS indexed\n```\n\n### Re-Indexing\n\nIf search results are stale or indexing appears stuck:\n\n1. `Cmd+Shift+P` > `Cursor: Resync Index`\n2. Wait for status bar to show indexing progress\n3. If that fails, delete the local cache:\n   - macOS: `~\u002FLibrary\u002FApplication Support\u002FCursor\u002FCache\u002F`\n   - Linux: `~\u002F.config\u002FCursor\u002FCache\u002F`\n   - Windows: `%APPDATA%\\Cursor\\Cache\\`\n4. Restart Cursor and allow full re-index\n\n### File Watcher Limits (Linux)\n\nOn Linux, large projects may hit the file watcher limit:\n\n```bash\n# Check current limit\ncat \u002Fproc\u002Fsys\u002Ffs\u002Finotify\u002Fmax_user_watches\n\n# Increase (temporary)\nsudo sysctl fs.inotify.max_user_watches=524288\n\n# Increase (permanent)\necho \"fs.inotify.max_user_watches=524288\" | sudo tee -a \u002Fetc\u002Fsysctl.conf\nsudo sysctl -p\n```\n\n## Enterprise Considerations\n\n- **Data residency**: Embeddings are stored in Turbopuffer (cloud). Obfuscated filenames and no plaintext code, but metadata exists\n- **Privacy Mode**: With Privacy Mode on, embeddings are computed with zero data retention at the provider\n- **Air-gapped environments**: Indexing requires network access to Cursor's embedding API. Not available offline\n- **Indexing scope**: Only files in the currently open workspace are indexed. Closing a project removes its index from active queries\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| @Codebase returns no results | Index not built | Wait for \"Indexed\" in status bar |\n| Search misses known files | File in .gitignore or .cursorignore | Check ignore files |\n| Indexing stuck at N% | Large project or network issue | Resync index via Command Palette |\n| Stale results after refactor | Index not yet updated | Wait 10 min or manual resync |\n| High CPU during indexing | Initial embedding computation | Normal for first run; subsides |\n\n## Resources\n\n- [Codebase Indexing Docs](https:\u002F\u002Fdocs.cursor.com\u002Fcontext\u002Fcodebase-indexing)\n- [Ignore Files](https:\u002F\u002Fdocs.cursor.com\u002Fcontext\u002Fignore-files)\n- [Secure Codebase Indexing](https:\u002F\u002Fcursor.com\u002Fblog\u002Fsecure-codebase-indexing)\n\n","# Cursor Codebase Indexing\n\nSet up and optimize Cursor's codebase indexing system. Indexing creates embeddings of your code, enabling `@Codebase` semantic search and improving AI context awareness across Chat, Composer, and Agent mode.\n\n## How Indexing Works\n\n```\nYour Code Files\n      │\n      ▼\n  Syntax Chunking ─── splits files into meaningful code blocks\n      │\n      ▼\n  Embedding Generation ─── converts chunks to vector representations\n      │\n      ▼\n  Vector Storage (Turbopuffer) ─── cloud-hosted nearest-neighbor search\n      │\n      ▼\n  @Codebase Query ─── your question → embedding → similarity search → relevant chunks\n```\n\n### Key Architecture Details\n\n- **Merkle tree** for change detection: only modified files are re-indexed (every 10 minutes)\n- **No plaintext storage**: code is not stored server-side; only embeddings and obfuscated metadata\n- **Privacy Mode compatible**: with Privacy Mode on, embeddings are computed without retaining source code\n- Indexing runs in the background; small projects complete in seconds, large projects (50K+ files) may take hours initially\n\n## Initial Setup\n\n1. Open your project in Cursor\n2. Indexing starts automatically on first open\n3. Check status: look at the bottom status bar for \"Indexing...\" indicator\n4. View indexed files: `Cursor Settings` > `Features` > `Codebase Indexing` > `View included files`\n\n### Verify Indexing Status\n\nThe status bar shows:\n- **\"Indexing...\"** with progress indicator -- initial indexing in progress\n- **\"Indexed\"** -- indexing complete, `@Codebase` queries are available\n- No indicator -- indexing may be disabled or not started\n\n## Configuration\n\n### .cursorignore\n\nExclude files from indexing and AI features. Place in project root. Uses `.gitignore` syntax:\n\n```gitignore\n# .cursorignore\n\n# Build artifacts (large, not useful for AI context)\ndist\u002F\nbuild\u002F\nout\u002F\n.next\u002F\ntarget\u002F\n\n# Dependencies\nnode_modules\u002F\nvendor\u002F\nvenv\u002F\n.venv\u002F\n\n# Generated files\n*.min.js\n*.min.css\n*.bundle.js\n*.map\n*.lock\n\n# Large data files\n*.csv\n*.sql\n*.sqlite\n*.parquet\nfixtures\u002F\nseed-data\u002F\n\n# Secrets (defense in depth -- also use .gitignore)\n.env*\n**\u002Fsecrets\u002F\n**\u002Fcredentials\u002F\n```\n\n### .cursorindexingignore\n\nExclude files from indexing only but keep them accessible to AI features when explicitly referenced:\n\n```gitignore\n# .cursorindexingignore\n\n# Large test fixtures -- don't index, but allow @Files reference\ntests\u002Ffixtures\u002F\ne2e\u002Frecordings\u002F\n\n# Documentation build output\ndocs\u002F.vitepress\u002Fdist\u002F\n```\n\n**Difference:** `.cursorignore` hides files from both indexing and AI features. `.cursorindexingignore` only excludes from the index; files can still be referenced via `@Files`.\n\n### Default Exclusions\n\nCursor automatically excludes everything in `.gitignore`. You only need `.cursorignore` for files tracked by git that you want to exclude from AI.\n\n## Using the Index\n\n### @Codebase Queries\n\nAsk semantic questions about your entire codebase:\n\n```\n@Codebase where is user authentication handled?\n\n@Codebase show me all API endpoints that accept file uploads\n\n@Codebase how does the payment processing flow work?\n\n@Codebase find all places where we connect to Redis\n```\n\n`@Codebase` performs a nearest-neighbor search using your question's embedding. It returns the most semantically similar code chunks, even if they do not contain the exact keywords you used.\n\n### @Codebase vs @Files vs Text Search\n\n| Method | When to Use | Context Cost |\n|--------|------------|--------------|\n| `@Codebase` | Discovery -- you don't know which files | High (many chunks) |\n| `@Files` | You know exactly which file | Low (one file) |\n| `@Folders` | You know the directory | Medium-High |\n| `Ctrl+Shift+F` | Exact text\u002Fregex match | N\u002FA (editor search) |\n\nUse `@Codebase` for discovery, then switch to `@Files` once you know where the code lives.\n\n## Optimization for Large Projects\n\n### Monorepo Strategy\n\nFor monorepos with many packages, open the specific package directory instead of the root:\n\n```bash\n# Instead of opening the entire monorepo:\ncursor \u002Fpath\u002Fto\u002Fmonorepo           # Indexes everything -- slow\n\n# Open the specific package:\ncursor \u002Fpath\u002Fto\u002Fmonorepo\u002Fpackages\u002Fapi   # Indexes only this package -- fast\n```\n\nOr use `.cursorignore` at the root to exclude packages you are not actively working on:\n\n```gitignore\n# .cursorignore -- monorepo, focus on api and shared\npackages\u002Fweb\u002F\npackages\u002Fmobile\u002F\npackages\u002Fadmin\u002F\n# packages\u002Fapi\u002F    ← not listed, so it IS indexed\n# packages\u002Fshared\u002F ← not listed, so it IS indexed\n```\n\n### Re-Indexing\n\nIf search results are stale or indexing appears stuck:\n\n1. `Cmd+Shift+P` > `Cursor: Resync Index`\n2. Wait for status bar to show indexing progress\n3. If that fails, delete the local cache:\n   - macOS: `~\u002FLibrary\u002FApplication Support\u002FCursor\u002FCache\u002F`\n   - Linux: `~\u002F.config\u002FCursor\u002FCache\u002F`\n   - Windows: `%APPDATA%\\Cursor\\Cache\\`\n4. Restart Cursor and allow full re-index\n\n### File Watcher Limits (Linux)\n\nOn Linux, large projects may hit the file watcher limit:\n\n```bash\n# Check current limit\ncat \u002Fproc\u002Fsys\u002Ffs\u002Finotify\u002Fmax_user_watches\n\n# Increase (temporary)\nsudo sysctl fs.inotify.max_user_watches=524288\n\n# Increase (permanent)\necho \"fs.inotify.max_user_watches=524288\" | sudo tee -a \u002Fetc\u002Fsysctl.conf\nsudo sysctl -p\n```\n\n## Enterprise Considerations\n\n- **Data residency**: Embeddings are stored in Turbopuffer (cloud). Obfuscated filenames and no plaintext code, but metadata exists\n- **Privacy Mode**: With Privacy Mode on, embeddings are computed with zero data retention at the provider\n- **Air-gapped environments**: Indexing requires network access to Cursor's embedding API. Not available offline\n- **Indexing scope**: Only files in the currently open workspace are indexed. Closing a project removes its index from active queries\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| @Codebase returns no results | Index not built | Wait for \"Indexed\" in status bar |\n| Search misses known files | File in .gitignore or .cursorignore | Check ignore files |\n| Indexing stuck at N% | Large project or network issue | Resync index via Command Palette |\n| Stale results after refactor | Index not yet updated | Wait 10 min or manual resync |\n| High CPU during indexing | Initial embedding computation | Normal for first run; subsides |\n\n## Resources\n\n- [Codebase Indexing Docs](https:\u002F\u002Fdocs.cursor.com\u002Fcontext\u002Fcodebase-indexing)\n- [Ignore Files](https:\u002F\u002Fdocs.cursor.com\u002Fcontext\u002Fignore-files)\n- [Secure Codebase Indexing](https:\u002F\u002Fcursor.com\u002Fblog\u002Fsecure-codebase-indexing)\n\n",{"name":5,"tags":44,"author":45,"license":15,"version":46,"description":47,"allowed-tools":48,"compatible-with":49},[33,21,23],"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Set up and optimize Cursor codebase indexing for semantic code search and @Codebase queries.\nTriggers on \"cursor index\", \"codebase indexing\", \"index codebase\", \"cursor semantic search\",\n\"@codebase\", \"cursor embeddings\".\n","Read, Write, Edit, Bash(cmd:*)","claude-code, codex, openclaw","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcursor-codebase-indexing",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill cursor-codebase-indexing",{"tool":65,"command":66},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill cursor-codebase-indexing",{"tool":68,"command":69},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill cursor-codebase-indexing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcursor-codebase-indexing\u002FSKILL.md",true,[],[74,83,92,101,107,113],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[80,81,82],"model","model hierarchy","model hierarchy skill",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[89,90,91],"MCP","zoom","zoom mcp",{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[98,99,100,90],"sdk","zoom apps sdk","apps",{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[103],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[109],{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[115]]