hf.check-reindex-needed

Detect stale claude-context indexing and emit reindex reminders via PreToolUse guard.

5|2|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/T-rav/hydraflow --skill hf-check-reindex-needed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf.check-reindex-needed
Source: https://github.com/T-rav/hydraflow/tree/main/.codex/skills/hf.check-reindex-needed
Command: npx skills add https://github.com/T-rav/hydraflow --skill hf-check-reindex-needed

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill detects potential staleness in claude-context indexing and issues reminders to reindex before use.

Core Features & Use Cases

  • Detects index staleness after git operations or long periods of inactivity.
  • Emits warnings to run reindexing so semantic search results stay accurate.
  • Works as a PreToolUse guard to protect AI tooling from degraded context quality.

Quick Start

Run the pre-tool check to receive a reindex reminder when claude-context indexing may be stale.

Frequently Asked Questions about hf.check-reindex-needed

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

FAQPage Schema
Why does claude-context indexing become stale after git operations?

Git operations like branch switches or merges change repository files without automatically refreshing claude-context indexing, leaving the semantic search index outdated and degrading context quality.

How do I detect when claude-context needs a reindex?

Detect reindex needs by running a PreToolUse guard that analyzes environment data and markers to identify index staleness after git operations or extended inactivity, emitting actionable warnings.

Does this reindex warning guard work across multiple git worktrees?

Yes, the staleness detection guard works across repositories and worktrees, detecting claude-context indexing issues universally within projects regardless of the active worktree.

When should I run a claude-context reindex check?

Run a claude-context reindex check before using semantic search tools, particularly after performing git operations or following extended periods of project inactivity to ensure accurate results.

What happens if I use claude-context with a stale index?

Using claude-context with a stale index degrades context quality and causes AI tooling to rely on outdated semantic search results, which a PreToolUse guard helps prevent.