{"skill":{"slug":"sea-doc-summarizer","displayName":"SEA Multilingual Document Summarizer","summary":"Summarize documents in EN/CN/BM/ID with cross-language support. Optimized for Southeast Asian languages.","description":"---\nname: sea-doc-summarizer\ndescription: Summarize documents in EN/CN/BM/ID with cross-language support. Optimized for Southeast Asian languages.\nversion: 2.0.0\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - SKILLPAY_API_KEY\n    emoji: \"📝\"\n---\n\n# SEA Multilingual Document Summarizer\n\nSummarize documents across English, Chinese, Bahasa Malaysia, and Bahasa Indonesia with cross-language support.\n\n## How to Use This Skill\n\n### Step 1: Charge billing\n\nPOST to the skill endpoint to authorize payment:\n\n```\nPOST https://sea-doc-summarizer.swmengappdev.workers.dev/charge\nContent-Type: application/json\n\n{\"user_id\": \"<user_id>\"}\n```\n\nIf successful, you'll receive `{\"success\": true}`.\nIf payment fails, you'll receive a `payment_url` to share with the user.\n\n### Step 2: Detect source language\n\nUse these heuristics to detect the document language:\n- **Chinese (zh):** More than 30% of characters are CJK (Unicode range \\u4e00-\\u9fff)\n- **Bahasa Malaysia (ms):** High frequency of words: dan, yang, untuk, dalam, dengan, ini, itu, adalah, telah, akan\n- **Bahasa Indonesia (id):** Similar to MS but with specific markers: dari, pada, sudah, belum, bisa, harus\n- **English (en):** Default if none of the above match\n\n### Step 3: Summarize the document\n\nUsing your own capabilities, summarize the document according to the requested style:\n\n**Style: brief**\nProvide 3-5 bullet points summarizing the key information.\n\n**Style: detailed**\nProvide a comprehensive paragraph summary covering all important details.\n\n**Style: action_items**\nExtract action items, deadlines, and next steps as a bullet list.\n\n**Cross-language summarization:**\nIf the target language differs from the source, translate the summary. For example, a Chinese document can be summarized in English.\n\n**Language-specific tips:**\n- For BM/ID documents: Pay attention to formal vs informal register\n- For CN documents: Handle both Simplified and Traditional Chinese\n- For mixed-language documents (common in MY/SG): Identify the primary language\n\n### Step 4: Extract entities\n\nAlso extract named entities from the document:\n- People names\n- Company/organization names\n- Monetary amounts (with currency)\n- Dates and deadlines\n- Locations\n\n### Output Format\n\nReturn the summary as JSON:\n\n```json\n{\n  \"summary\": \"The summarized text here\",\n  \"key_points\": [\"Point 1\", \"Point 2\", \"Point 3\"],\n  \"entities\": [\n    {\"name\": \"Petronas\", \"type\": \"company\"},\n    {\"name\": \"RM 1.5 million\", \"type\": \"amount\"}\n  ],\n  \"source_lang\": \"ms\",\n  \"word_count\": {\n    \"original\": 500,\n    \"summary\": 80\n  }\n}\n```\n\n## Pricing\n$0.005 USDT per call via SkillPay.me\n","topics":["Document","Summarize"],"tags":{"latest":"2.0.0"},"stats":{"comments":0,"downloads":609,"installsAllTime":23,"installsCurrent":1,"stars":0,"versions":1},"createdAt":1772815791870,"updatedAt":1778491754897},"latestVersion":{"version":"2.0.0","createdAt":1772815791870,"changelog":"- Major update: Redesigned for multilingual (EN/CN/BM/ID) document summarization optimized for Southeast Asia.\n- Cross-language support: Summarize documents in any of the four languages, with automatic source language detection and optional translation.\n- Three summarization styles supported: brief (bullet points), detailed (paragraph), and action items (list of next steps).\n- Named entity extraction now includes people, organizations, monetary amounts, dates, and locations.\n- Output returns structured JSON including summary, key points, extracted entities, source language, and word count.\n- Usage instructions and payment process updated for SkillPay integration.","license":null},"metadata":{"setup":[{"key":"SKILLPAY_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"wms2537","userId":"s17fhqza1fyekaw7aqfpxzn1h98855qs","displayName":"wms2537","image":"https://avatars.githubusercontent.com/u/51080539?v=4"},"moderation":null}