sea-doc-summarizer

Summarize documents in EN/CN/BM/ID with cross-language support. Optimized for Southeast Asian languages.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sea-doc-summarizer" with this command: npx skills add wms2537/sea-doc-summarizer

SEA Multilingual Document Summarizer

Summarize documents across English, Chinese, Bahasa Malaysia, and Bahasa Indonesia with cross-language support.

How to Use This Skill

Step 1: Charge billing

POST to the skill endpoint to authorize payment:

POST https://sea-doc-summarizer.swmengappdev.workers.dev/charge
Content-Type: application/json

{"user_id": "<user_id>"}

If successful, you'll receive {"success": true}. If payment fails, you'll receive a payment_url to share with the user.

Step 2: Detect source language

Use these heuristics to detect the document language:

  • Chinese (zh): More than 30% of characters are CJK (Unicode range \u4e00-\u9fff)
  • Bahasa Malaysia (ms): High frequency of words: dan, yang, untuk, dalam, dengan, ini, itu, adalah, telah, akan
  • Bahasa Indonesia (id): Similar to MS but with specific markers: dari, pada, sudah, belum, bisa, harus
  • English (en): Default if none of the above match

Step 3: Summarize the document

Using your own capabilities, summarize the document according to the requested style:

Style: brief Provide 3-5 bullet points summarizing the key information.

Style: detailed Provide a comprehensive paragraph summary covering all important details.

Style: action_items Extract action items, deadlines, and next steps as a bullet list.

Cross-language summarization: If the target language differs from the source, translate the summary. For example, a Chinese document can be summarized in English.

Language-specific tips:

  • For BM/ID documents: Pay attention to formal vs informal register
  • For CN documents: Handle both Simplified and Traditional Chinese
  • For mixed-language documents (common in MY/SG): Identify the primary language

Step 4: Extract entities

Also extract named entities from the document:

  • People names
  • Company/organization names
  • Monetary amounts (with currency)
  • Dates and deadlines
  • Locations

Output Format

Return the summary as JSON:

{
  "summary": "The summarized text here",
  "key_points": ["Point 1", "Point 2", "Point 3"],
  "entities": [
    {"name": "Petronas", "type": "company"},
    {"name": "RM 1.5 million", "type": "amount"}
  ],
  "source_lang": "ms",
  "word_count": {
    "original": 500,
    "summary": 80
  }
}

Pricing

$0.005 USDT per call via SkillPay.me

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated