Back to list
spences10

file-suggestion

by spences10

🦀 Claude Code toolkit for self improving skills, performance and mcp-essentials

4🍴 0📅 Jan 24, 2026

SKILL.md


name: file-suggestion description: Optimizes Claude Code file suggestions using SQLite FTS5 indexing. Provides 9x faster search with intelligent BM25 ranking. Use when setting up Claude Code performance optimizations.

File Suggestion Optimization

Replaces default file suggestion with SQLite FTS5 full-text search.

Installation

  1. Make script executable:
chmod +x ~/.claude/plugins/cache/performance/file-suggestion.sh
  1. Add to ~/.claude/settings.json:
"fileSuggestion": {
  "type": "command",
  "command": "~/.claude/plugins/cache/performance/file-suggestion.sh"
}
  1. Restart Claude Code

How It Works

  • First query builds FTS5 index (~100ms for 5k files)
  • Index cached per-repo in ~/.cache/claude-code/
  • Rebuilds automatically every 5 minutes
  • Uses git ls-files (respects .gitignore)

Benchmarks

MetricBeforeAfter
Query time28ms3ms
RankingAlphabeticalBM25 relevance
Index buildN/A~100ms

Troubleshooting

No results? Check dependencies:

which sqlite3 python3 jq

Stale index? Delete and rebuild:

rm ~/.cache/claude-code/file-index-*.db

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon