load-docs
ユーザーが指定したファイルやフォルダ(テキスト、PDF、画像など)を読み込み、内容を理解・分析して、質問に答えたり要約を作成したりできるように、エージェントの知識を拡充するSkill。
📜 元の英語説明(参考)
Loads documents fully into the main agent's context so the agent can answer questions, summarize, or work with that content in subsequent turns. Use whenever the user wants to ingest, read, study, review, absorb, or pull in documents — especially when they say things like "load these docs", "read all of these", "ingest this folder", "pull in these PDFs", "load all docs in X", or paste a list of file paths/URLs and ask you to read them. Handles local files (text, code, markdown, PDFs, notebooks, images), entire folders (recursively), and remote URLs. The skill is single-turn — once the agent reports "DONE", it deactivates until the user invokes it again.
🇯🇵 日本人クリエイター向け解説
ユーザーが指定したファイルやフォルダ(テキスト、PDF、画像など)を読み込み、内容を理解・分析して、質問に答えたり要約を作成したりできるように、エージェントの知識を拡充するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o load-docs.zip https://jpskill.com/download/23717.zip && unzip -o load-docs.zip && rm load-docs.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23717.zip -OutFile "$d\load-docs.zip"; Expand-Archive "$d\load-docs.zip" -DestinationPath $d -Force; ri "$d\load-docs.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
load-docs.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
load-docsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
ドキュメントの読み込み
ユーザーは、後続のターンで作業できるように、ドキュメントをコンテキストウィンドウに読み込むことを望んでいます。あなたの仕事は、指定されたすべてのドキュメントを完全に読み込み、「DONE」と伝えることです。
ユーザーが何も指定しなかった場合
ユーザーがドキュメント、フォルダー、または URL を指定せずにこのスキルを呼び出した場合、何を読み込むべきか尋ねてください。推測しないでください。短い質問を1つだけして、待機してください。
「ドキュメント」と見なされるもの
ユーザーが指定するあらゆるもの:
- ローカルファイルパス(
Readツールがサポートするあらゆる種類 — テキスト、コード、Markdown、PDF、ノートブック、画像) - フォルダー / ディレクトリ — 内部のすべてを再帰的に、適切なフィルタリング(下記参照)を適用して読み込みます
- URL —
WebFetchを使用してコンテンツを取得し、読み込みます
基本ルール:自分で完全に読み込むこと
読み込みをサブエージェントに委任しないでください。 重要なのは、コンテンツがあなたのコンテキストに読み込まれ、後続のターンでそれに関する質問に答えられるようにすることです。サブエージェントのコンテキストは、戻るときに破棄されます。
すべてのドキュメントを最初から最後まで読み込んでください。 ファイルが Read が1回の呼び出しで返す量(ツールはデフォルトで2000行で、長い行は切り捨てられる場合があります)よりも長い場合、ファイル全体をカバーするまで、チャンクサイズで offset を進めながら Read を呼び出し続けてください。最初のチャンクで止めて要点を把握したと仮定しないでください。ユーザーは、あなたが完全なコンテンツを利用できると信頼しています。
10ページを超える PDF の場合、pages パラメーターを使用してページ範囲を順に処理し(1回の呼び出しにつき最大20ページ)、PDF 全体がカバーされるまで続けます。
URL の場合、WebFetch はコンテンツを一度に返します。チャンク化する必要はありませんが、応答が明らかに切り捨てられている場合(例:ページが非常に大きい場合)、すべて取得したと偽るのではなく、このことを正直に伝えてください。
開始前にチェックリストを作成する
何も読み込む前に、読み込もうとしているすべてのドキュメントをリストアップし、TodoWrite で追跡してください。ドキュメントごとに1つの ToDo を作成します。各 ToDo は、ファイル全体(すべてのチャンク、すべてのページ)の読み込みが完了した後にのみ完了としてマークしてください。これは、追跡を見失ったり、ドキュメントをスキップしたりするのを防ぐメカニズムです。チェックリストがないと、部分的な読み込みが見過ごされてしまいます。
フォルダーの場合:まずフォルダーの内容をリストアップし(Glob または Bash ls を使用)、以下のフィルタリングルールを適用し、フィルターを通過したファイルごとに1つの ToDo を作成します。ユーザーは、読み込みを開始する前に完全なリストを確認し、範囲が間違っている場合に修正できるようにすべきです。
フォルダーのフィルタリング(適切なデフォルト)
ユーザーがフォルダーを指定した場合、再帰的にすべてのファイルを含めますが、以下は除外します:
- 隠しファイルとディレクトリ(
.で始まるものすべて —.git/、.env、.DS_Storeなど) - 依存関係ディレクトリ:
node_modules/、vendor/、venv/、.venv/、__pycache__/、dist/、build/、target/、out/ - ロックファイル:
package-lock.json、yarn.lock、pnpm-lock.yaml、Cargo.lock、poetry.lock、Gemfile.lock、composer.lock、go.sum - ドキュメントとして意味のないバイナリおよび大きなメディア:
.exe、.dll、.so、.dylib、.zip、.tar、.gz、.mp4、.mov、.mp3、.wav、.iso - ユーザーの
.gitignoreが存在し、明確な場合に除外されるものすべて
何かを含めるべきかどうかわからない場合は、含めてください。ユーザーが望んでいたものを黙ってスキップするよりも、余分な設定ファイルを読み込む方が良いです。
フィルターされたファイル数が非常に多い場合(例えば50以上)、開始する前にユーザーにその数を伝え、範囲を絞り込むかどうか尋ねてください。200個のファイルをコンテキストに読み込むことは、実際にユーザーが望んでいることであることはめったにありません。
読み込み順序
適切な順序で読み込んでください。通常はユーザーがリストした順序、またはフォルダーの場合はアルファベット順です。明確なエントリポイント(README.md、index.md、_index.md)がある場合は、それを最初に読み込み、残りのコンテキストを確立します。
完了時
すべてのチェックリスト項目が完了したら、正確に DONE とだけ応答してください。要約も、再確認も、「N個のドキュメントを読み込みました」のようなメッセージも不要です。ただ DONE とだけ伝えてください。ユーザーは次のターンで、コンテンツで実際に何をしたいかを尋ねてきます。ここでのあなたの仕事は、読み込みが完了したことの確認だけです。
このスキルの「シングルターン」の性質は、DONE と言った後、これらの指示を適用し続けないことを意味します。ユーザーの次のメッセージが「3番目のドキュメントには何がありましたか?」である場合、あなたが現在持っているコンテキストから通常通り答えてください。読み込みワークフローを再実行するわけではありません。
何か失敗した場合の対処法
- ファイルが見つからない / 権限拒否: 応答で失敗を伝え(単に「DONE」とするのではなく)、どのファイルが成功し、どのファイルが失敗したかをリストアップしてください。読み込んでいないものを読み込んだと偽らないでください。
- URL フェッチの失敗: 同様に、どの URL が読み込まれ、どの URL が読み込まれなかったかを正直に伝えてください。
- フィルターできなかったバイナリまたは読み取り不能なファイル: それをスキップし、最終メッセージで言及してください。
これらの部分的な失敗のいずれの場合でも、最終メッセージは失敗の要約の後に、DONE を単独の行で続けるべきです。これにより、ユーザーは一部の項目が読み込まれなかったとしても、スキルが完了したことを知ることができます。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Load Documents
The user wants documents pulled into your context window so you can work with them in later turns. Your job is to read every document they specified, completely, and then say "DONE".
When the user gives you nothing
If the user invokes this skill without naming any documents, folders, or URLs, ask them what to load. Don't guess. One short question, then wait.
What counts as "a document"
Anything the user points at:
- Local file paths (any type the
Readtool supports — text, code, markdown, PDFs, notebooks, images) - Folders / directories — read everything inside, recursively, with sensible filtering (see below)
- URLs — use
WebFetchto retrieve and read the content
Core rule: read it yourself, completely
Never delegate reading to a subagent. The whole point is that the content lands in your context so you can answer questions about it in later turns. A subagent's context is thrown away when it returns.
Read every document end-to-end. If a file is longer than what Read returns in one call (the tool defaults to 2000 lines and may truncate long lines), keep calling Read with offset advanced by the chunk size until you've covered the whole file. Don't stop at the first chunk and assume you've got the gist — the user is trusting you to actually have the full content available.
For PDFs longer than 10 pages, use the pages parameter to walk through page ranges (max 20 pages per call), continuing until the whole PDF is covered.
For URLs, WebFetch returns the content in one shot — you don't need to chunk, but if the response is clearly truncated (e.g., the page is enormous), note this honestly rather than pretending you got it all.
Build a checklist before you start
Before reading anything, list every document you're about to load and track them with TodoWrite. One todo per document. Mark each one completed only after you've finished reading the entire file (all chunks, all pages). This is the mechanism that prevents you from losing track and skipping documents — without the checklist, partial reads slip through.
For folders: first list the folder contents (use Glob or Bash ls), apply the filtering rules below, then create one todo per file that survives the filter. The user should see the full list before you start reading so they can correct you if you've picked up the wrong scope.
Folder filtering (sensible defaults)
When the user points at a folder, recursively include all files except:
- Hidden files and directories (anything starting with
.—.git/,.env,.DS_Store, etc.) - Dependency directories:
node_modules/,vendor/,venv/,.venv/,__pycache__/,dist/,build/,target/,out/ - Lockfiles:
package-lock.json,yarn.lock,pnpm-lock.yaml,Cargo.lock,poetry.lock,Gemfile.lock,composer.lock,go.sum - Binaries and large media that aren't meaningful as documents:
.exe,.dll,.so,.dylib,.zip,.tar,.gz,.mp4,.mov,.mp3,.wav,.iso - Anything the user's
.gitignorewould exclude, when one is present and obvious
If you're unsure whether to include something, include it — better to read an extra config file than to silently skip something the user wanted.
If the filtered file count is very large (say, 50+), tell the user the count before starting and ask if they want to narrow the scope. Loading 200 files into context is rarely what someone actually wants.
Reading order
Read in a sensible order — usually the order the user listed them, or alphabetically for folders. If there's an obvious entry point (README.md, index.md, _index.md), read that first so the rest has context.
When you're done
Once every checklist item is complete, respond with exactly DONE and nothing else. No summary, no recap, no "I've loaded N documents" — just DONE. The user will follow up in the next turn with what they actually want to do with the content; your job here is just confirmation that the load finished.
The "single-turn" nature of this skill means: after you say DONE, don't keep applying these instructions. If the user's next message is "what was in the third doc?", just answer normally from the context you now have — you're not re-running the load workflow.
What to do if something fails
- File not found / permission denied: Note the failure in your response (instead of just "DONE") and list which files succeeded vs. failed. Don't pretend you read something you didn't.
- URL fetch fails: Same — be honest about which URLs loaded and which didn't.
- Binary or unreadable file you couldn't filter out: Skip it and mention it in your final message.
In any of these partial-failure cases, your final message should be the failure summary followed by DONE on its own line, so the user knows the skill has finished even though some items didn't load.