← スキル一覧に戻る

file-suggestion
by spences10
🦀 Claude Code toolkit for self improving skills, performance and mcp-essentials
⭐ 4🍴 0📅 2026年1月24日
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
- Make script executable:
chmod +x ~/.claude/plugins/cache/performance/file-suggestion.sh
- Add to
~/.claude/settings.json:
"fileSuggestion": {
"type": "command",
"command": "~/.claude/plugins/cache/performance/file-suggestion.sh"
}
- 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
| Metric | Before | After |
|---|---|---|
| Query time | 28ms | 3ms |
| Ranking | Alphabetical | BM25 relevance |
| Index build | N/A | ~100ms |
Troubleshooting
No results? Check dependencies:
which sqlite3 python3 jq
Stale index? Delete and rebuild:
rm ~/.cache/claude-code/file-index-*.db
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
