extract-document-data
ما الذي تفعله
تستخرج هذه المهارة معلومات محددة من مستندات مثل كشوف الرواتب والفواتير والعقود. تنظّم البيانات في شكل قائمة (JSON)، وتذكر دائمًا رقم الصفحة التي وردت فيها كل معلومة، دون اختلاق بيانات غير موجودة.
متى تستخدمها
- ✓تنظيم بيانات الفواتير للمحاسبة.
- ✓استخراج المعلومات من العقود للتحليل.
- ✓تحويل الإيصالات إلى صيغة رقمية سهلة الاستخدام.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/extract-document-data/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“استخرج اسم صاحب العمل وصافي الراتب وتاريخ الدفع من كشف الراتب هذا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ترسل المستند (مثل ملف PDF) وتحدد المعلومات التي تريدها. تقرأ المهارة المستند وتجد البيانات، وتُعيد قائمة بكل معلومة والصفحة التي وُجدت فيها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Extract Document Data
Extract structured JSON from documents with per-value grounding: every extracted value cites where it came from (page number, confidence), and values that aren't clearly present are reported in not_found rather than hallucinated. Uses the Stipple API (free anonymous tier).
When to use
- Parsing payslips, invoices, bank statements, receipts, or contracts
- Converting unstructured documents to JSON for downstream systems
- Any extraction where hallucinated values are worse than missing values (lending, accounting, compliance)
Instructions
Get the document. URL or local file path (PDF, PNG, JPEG, DOCX).
Choose the extraction mode:
- Ad-hoc fields — tell the API exactly which fields you want:
curl -X POST https://www.stipple.sh/v1/extract \ -F "file=@payslip.pdf" \ -F 'fields=[{"name":"employer_name"},{"name":"net_pay"},{"name":"pay_date"}]' \ -H "Authorization: Bearer $STIPPLE_API_KEY" - Template — use a built-in schema:
payslip,tax_invoice,bank_statement,receipt,contract - Schema-free — omit
fieldsand let the model extract what it finds
- Ad-hoc fields — tell the API exactly which fields you want:
Interpret the response.
{ "mode": "schema_free", "document_type": "payslip", "pages_read": 1, "fields": { "employer_name": {"value": "Acme Cleaning Pty Ltd", "confidence": 0.95, "page": 1}, "net_pay": {"value": "2845.10", "confidence": 0.97, "page": 1} }, "not_found": ["ytd_tax"] }- Every value carries
confidence(the model's self-report) andpage(grounding) not_found[]lists requested fields the model couldn't find — absences are reported, never guessedpages_readshows how many pages were processed (page limits apply per document)
- Every value carries
Report honestly. This is extraction, not verification — values are what the document shows, not proof it's genuine:
- "Employer: Acme Cleaning Pty Ltd (confidence 0.95, page 1)"
- "ytd_tax: not found in document" — never "ytd_tax: 0" or a guess
- For "is this document genuine?", pair with the
verify-documentskill first
Output format
Payslip fields (grounded, not guessed):
Employer Acme Cleaning Pty Ltd (confidence 0.95, page 1)
Employee J. Citizen (confidence 0.98, page 1)
Net pay 2,845.10 (confidence 0.97, page 1)
Superannuation 268.20 (confidence 0.93, page 1)
not_found: ytd_tax
(absences are reported, never hallucinated)
Limitations and Safety
- Invoices, statements, payslips, and contracts often contain sensitive personal, financial, or commercial data. Obtain explicit approval before uploading them to a hosted third party, minimize the submitted content, and confirm current retention, residency, access, and deletion terms.
- Confidence and page grounding do not prove that an extracted value is correct or that the source document is authentic. Reconcile consequential values against the original document and authoritative systems before payment, lending, accounting, compliance, or legal action.
- Keep the original file and extraction response so a human reviewer can reproduce and correct disputed fields.
Notes
- Costs 1 credit per page read by the model (minimum 1); free weekly allowance applies
- Templates:
payslip,tax_invoice,bank_statement,receipt,contract— pass as thetemplateform field - Tables are extracted with structure preserved; multi-page documents are processed page by page
- Pairs with
verify-document(run first, for authenticity) — an extracted value from a tampered document is still wrong - Free key at https://www.stipple.sh for metering beyond the anonymous allowance
الأسئلة الشائعة
ماذا يحدث إذا لم تكن المعلومة موجودة في المستند؟
تبلغ المهارة بأن البيانات غير موجودة، بدلًا من اختلاق قيمة.
هل تتحقق هذه المهارة من أصالة المستند؟
لا، هي تستخرج فقط المعلومات الظاهرة في المستند. أما التحقق من الأصالة فيحتاج إلى أداة أخرى.
هل يمكنني استخراج البيانات من أي نوع من المستندات؟
تعمل بشكل أفضل مع مستندات مثل الفواتير وكشوف الرواتب والكشوف البنكية والإيصالات والعقود. وقد لا تعمل بالقدر نفسه مع أنواع أخرى.
التفاصيل
الوصف الأصلي من المؤلف
Extract structured, grounded fields from documents — values cite their page, missing values abstain instead of hallucinating. Use for parsing invoices, payslips, statements, contracts.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #4581
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
tavily
394kيساعد وكيلك على البحث في الويب عبر Tavily وسحب النص من صفحات محددة، مع خيارات للعمق والنطاقات والتواريخ.
blogwatcher
394kيتيح لوكيلك متابعة المدونات وخلاصات RSS أو Atom، والتحقق منها بحثًا عن المقالات الجديدة، وتعليم المقالات التي قرأتها.
data-scraper-agent
280kيساعد وكيلك على جمع البيانات تلقائيًا من أي مصدر عام. يمكن جدولته وإثراء المعلومات وحفظ النتائج. مفيد لمراقبة البيانات الإلكترونية وتتبعها.