Langsung ke konten
Skillpedia
Web scraping48k ยท #4581

extract-document-data

Fungsinya

Tool ini mengambil informasi spesifik dari dokumen seperti slip gaji, faktur (invoice), atau kontrak. Data disusun dalam format daftar (JSON) dan selalu menunjukkan halaman asal setiap informasi, tanpa mengarang data yang tidak ada.

Kapan dipakai

  • โœ“Menyusun data faktur untuk keperluan akuntansi.
  • โœ“Mengambil informasi dari kontrak untuk dianalisis.
  • โœ“Mengubah kuitansi menjadi format digital yang mudah digunakan.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/extract-document-data/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/extract-document-data/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œAmbil nama perusahaan pemberi kerja, gaji bersih, dan tanggal pembayaran dari slip gaji ini.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda mengirimkan dokumen (misalnya PDF) dan menentukan informasi apa yang ingin diambil. Tool akan membaca dokumen, menemukan datanya, lalu mengembalikan daftar berisi setiap informasi beserta halaman tempat informasi itu ditemukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

  1. Get the document. URL or local file path (PDF, PNG, JPEG, DOCX).

  2. 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 fields and let the model extract what it finds
  3. 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) and page (grounding)
    • not_found[] lists requested fields the model couldn't find โ€” absences are reported, never guessed
    • pages_read shows how many pages were processed (page limits apply per document)
  4. 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-document skill 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 the template form 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
Pertanyaan umum

Apa yang terjadi jika informasi tidak ada di dalam dokumen?

Tool akan melaporkan bahwa data tersebut tidak ditemukan, alih-alih mengarang nilai.

Apakah tool ini memverifikasi keaslian dokumen?

Tidak, tool ini hanya mengambil informasi yang terlihat di dalam dokumen. Untuk memverifikasi keaslian, diperlukan tool lain.

Apakah saya bisa mengambil data dari semua jenis dokumen?

Tool ini bekerja paling baik untuk dokumen seperti faktur, slip gaji, rekening koran, kuitansi, dan kontrak. Untuk jenis dokumen lain, hasilnya mungkin kurang optimal.

Detail

Deskripsi asli dari pembuat

Extract structured, grounded fields from documents โ€” values cite their page, missing values abstain instead of hallucinating. Use for parsing invoices, payslips, statements, contracts.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4581
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa