cortex-index

Index and reindex the current project using cortex-engine.

6|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/anotherben/claude-harness --skill cortex-index
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cortex-index
Source: https://github.com/anotherben/claude-harness/tree/main/skills/cortex-index
Command: npx skills add https://github.com/anotherben/claude-harness --skill cortex-index

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Indexing enables fast, accurate search and retrieval across the current project using cortex-engine, simplifying code discovery and analysis.

Core Features & Use Cases

  • Full project indexing and reindexing to keep Cortex up to date with code changes.
  • Works when Cortex queries are empty or stale, or when a user issues /cortex-index or natural language triggers.
  • Suitable for code navigation, quick symbol lookup, and repository-wide insights across languages and file types.

Quick Start

Run the cortex-index command to begin indexing the current project.

Frequently Asked Questions about cortex-index

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I index my code repository for fast code search?

To index a code repository for fast code search, you can use cortex-engine to index the current project. This enables quick symbol lookup and repository-wide code navigation across multiple languages and file types.

Why does my code search return empty or stale query results?

Code search queries return empty or stale results when the project index is outdated or missing. Running a full reindex of the current project using cortex-engine updates the index to reflect recent code changes and fixes stale search results.

When do I need to reindex a project?

You need to reindex a project when code search queries are empty or stale, or after significant code changes. Reindexing keeps the project index up to date, ensuring accurate code discovery and repository-wide insights.

What's the best way to update my project index after code changes?

The best way to update a project index after code changes is to run a full project reindex using cortex-engine. This deterministic workflow checks the current status, performs the reindex, and reports the total files and symbols indexed.

Does project indexing work across different programming languages and file types?

Project indexing with cortex-engine works across languages and file types within the current project. It indexes all supported files and symbols, providing repository-wide insights and quick code navigation regardless of language.