Skillpedia
متفرقات37k · #7577

file_reader

ما الذي تفعله

تقرأ هذه المهارة الملفات النصية العادية وتلخّص ما فيها. وهي موجهة لكل من يريد النقاط الأساسية من ملف بيانات أو سجل دون قراءة كل سطر.

متى تستخدمها

  • ✓عندما تريد ملخصًا لملف CSV أو JSON أو YAML.
  • ✓عندما تحتاج إلى أحدث الأخطاء من ملف سجل كبير.
  • ✓عندما تريد شرح المحتوى الأساسي لملف شيفرة مصدرية أو ملف إعدادات.

رابط المهارة

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/file_reader-en/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/file_reader-en/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“لخّص الأعمدة الرئيسية والصفوف الأولى من ملف CSV للمبيعات هذا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تفحص المهارة نوع الملف أولًا، ثم تقرأ الجزء الضروري فقط. للملفات المنظمة تعرض الحقول أو الأعمدة الرئيسية، وللسجلات الكبيرة تنظر إلى الأسطر الأحدث.

المحتوى التقني (ملف 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:

  1. Use read_file to fetch content.
  2. Summarize key sections or show the relevant slice requested by the user.
  3. For JSON/YAML, list top-level keys and important fields.
  4. 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):

  • PDF
  • 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة