Skip to content

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 21, 2026

Description

This PR fixes a bug where the agent installer (for Claude Code and Codex) would falsely detect that vgrep is already installed if the configuration file (CLAUDE.md or AGENTS.md) contained any mention of the string "vgrep" (e.g. in comments or notes).

Changes

  • Updated the installation check in src/cli/install.rs to look for name: vgrep instead of just vgrep.
  • This ensures we only detect the actual skill definition block, avoiding false positives from casual mentions.

Verification

  • Verified that casual mentions of "vgrep" no longer prevent installation.
  • Verified that actual installation is still detected correctly.

Previously, the installer checked for any occurrence of 'vgrep' in CLAUDE.md or AGENTS.md, which caused false positives if the file contained casual mentions of vgrep. This change makes the check more specific by looking for 'name: vgrep', which is part of the actual skill definition block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants