file_reader
できること
このスキルは、プレーンテキストのファイルを読み、その内容を要約します。データやログのファイルの要点を、1行ずつ読まずに知りたい人向けです。
使う場面
- ✓CSV、JSON、YAMLファイルの要約がほしいとき。
- ✓大きなログファイルの最新のエラーが必要なとき。
- ✓ソースコードや設定ファイルの主な内容を、説明してほしいとき。
スキルのリンク
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/file_reader-en/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この売上のCSVファイルの主な列と、最初のいくつかの行を要約してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、まずファイルの種類を確認し、必要な部分だけを読みます。構造化されたファイルでは、最上位のフィールドや列を表示します。大きなログでは、最も新しい行を見ます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
File Reader Toolbox
Use this skill when the user asks to read or summarize local text-based files. PDFs, Office documents, images, audio, and video are out of scope for this skill and should be handled by their dedicated skills/tools.
Quick Type Check
Use a type probe before reading:
file -b --mime-type "/path/to/file"
If the file is large, avoid dumping the whole content; extract a small, relevant portion and summarize.
Text-Based Files (use read_file)
Preferred for: .txt, .md, .json, .yaml/.yml, .csv/.tsv, .log, .sql, ini, toml, py, js, html, xml source code.
Steps:
- Use
read_fileto fetch content. - Summarize key sections or show the relevant slice requested by the user.
- For JSON/YAML, list top-level keys and important fields.
- For CSV/TSV, show header + first few rows, then summarize columns.
Large Logs
If the file is huge, use a tail window:
tail -n 200 "/path/to/file.log"
Summarize the last errors/warnings and notable patterns.
Out of Scope
Do not handle the following in this skill (they are covered by other skills):
- Office (docx/xlsx/pptx)
- Images
- Audio/Video
Safety and Behavior
- Never execute untrusted files.
- Prefer reading the smallest portion necessary.
- If a tool is missing, explain the limitation and ask the user for an alternate format.
よくある質問
PDFやWordのファイルは読めますか?
いいえ。それらの形式は、別のスキルが扱います。
渡したファイルを実行しますか?
いいえ。このスキルは、信頼できないファイルを実行することは決してなく、読むだけです。
非常に大きなファイルはどうしますか?
役立つ最小の部分だけを読みます。たとえば、ログの最後の200行などです。
詳細
作者による元の説明
Read and summarize text-based file types only. Prefer read_file for text formats; use execute_shell_command for type detection when needed. PDF/Office/images/archives are handled by other skills.
repo: agentscope-ai/QwenPaw
人気
- GitHubのスター
- 37k
- ランキング
- #7577
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
terraform-skill
37kTerraformまたはOpenTofuのインフラのコードを書き、テストし、レビューできるよう支援します。モジュール、CI/CD、セキュリティスキャン、状態の問題を扱います。
computer_use
37k直接のツールでは仕事ができない場合に、エージェントがWindowsやmacOSのライブのアプリを、画面を見て、クリックし、各結果を確かめながら操作できるよう支援します。
browser
37kQwenPaw Browser SDKを通じて、ライブのWebブラウザを操作し、ページを読み、操作し、成功と主張する前に結果を確認できるよう、エージェントを支援します。
channel_message
37k適切な宛先を見つけた後で、特定のチャットチャネルやセッションに一方向のメッセージ(タスク完了の通知など)を送れるよう、エージェントを支援します。