/local-doc-search:local-searchfrom local-doc-search
このスキルは、ユーザーが「PCの中の資料を探して」「保存してある書類から調べて」「あの文書どこだっけ」「去年の請求書を見つけて」のように、自分のPCに保存されたドキュメント (Markdown/テキスト/PDF/Word/PowerPoint) を探したい場合に使用する。全文検索と意味検索を組み合わせて該当箇所を特定し、必要な範囲だけを読んで回答する
Ships in local-doc-search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
list_search_pathsで検索対象が登録済みか確認する
rootsが空、またはtotal_chunksが0の場合、local-search-setupスキルへ誘導し、ここで終了するsearch_hybridsearch_fulltextsearch_semanticsearch_fulltextで0件ならsearch_semanticに切り替えるpath_prefixやextensionsで絞り込んでいたら外すReadで読む
Read(file_path=<text_path>, offset=<start_line - 5>, limit=<end_line - start_line + 15>)offsetは1未満にしないfile_path (元のファイル) を使う
text_pathはPDFやWord文書から抽出したキャッシュの内部パスであり、ユーザーには見せないfile_pathを提示するnotesに内容がある場合、検索の制約として簡潔に伝えるReadせずに内容を推測して回答しないWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
npx claudepluginhub flupinochan/metalmental-claude --plugin local-doc-search