[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MKEMY4GBVQCM7AHHFAA607":3,"skill-same:01M6MKEMY4GBVQCM7AHHFAA607":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6MKEMY4GBVQCM7AHHFAA607","gen-message",null,"Generate concise message digest with image for sharing on messaging platforms (WeChat, Telegram, Slack, etc.)","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Focto-patch\u002FMorningAI\u002Fskills\u002Fgen-message\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"message","gen message","image","slack","generate","messaging","sharing","telegram","wechat","digest","with","concise","for","2026-11-10 10:12:30",false,"---\nname: gen-message\nversion: \"1.3.0\"\ndescription: Generate concise message digest with image for sharing on messaging platforms (WeChat, Telegram, Slack, etc.)\n---\n\n## Objective\n\nTransform the daily AI news report data into a concise, copy-paste-friendly **message digest** optimized for sharing on messaging platforms. Produces two output files:\n\n1. **Text digest** (`message_{DATE}.md`) — bold titles, one-line summaries, source links\n2. **Digest image** (`message_{DATE}.png`) — 9:16 portrait infographic with compact card layout\n\nThe message digest shares the **same data pipeline** as the full report — all items go through the standard collect → score → deduplicate → cross-source link → verification pipeline. The only difference is the final output format: the full report produces a detailed multi-section Markdown document, while the message digest condenses the same verified data into a compact, share-friendly format.\n\n**Factual integrity applies to all items:** Every item in the digest — regardless of score — must have a traceable, authoritative source (`source_url`). Items with score 7+ additionally require cross-source verification (`verified == true`, 2+ independent sources). Never include an item whose factual claims cannot be linked to a concrete primary source.\n\n---\n\n## Output Specs\n\n### Text File: `message_{DATE}.md`\n\n| Property | Value |\n|----------|-------|\n| Format | Markdown (renders as plain text in most messaging apps) |\n| Encoding | UTF-8 |\n| Sections | Header → Items (with source links) → Footer |\n\n### Image File: `message_{DATE}.png`\n\n| Property | Value |\n|----------|-------|\n| Format | PNG |\n| Aspect Ratio | 9:16 portrait (optimized for mobile chat) |\n| Layout | Single-column vertical card stack |\n| Content | Same items as text digest, compact visual format |\n\n---\n\n## Configuration\n\n| Variable | Type | Default | Description |\n|----------|------|---------|-------------|\n| `MESSAGE_ENABLED` | bool | `false` | Master switch for message digest generation |\n| `MESSAGE_MIN_SCORE` | float | `5` | Minimum importance score to include an item |\n| `MESSAGE_MAX_ITEMS` | int | `10` | Maximum number of items in the digest |\n| `MESSAGE_LANG` | string | (from `--lang`) | Language override for the digest |\n| `MESSAGE_IMAGE_STYLE` | string | (from `IMAGE_STYLE`) | Visual style override for the digest image |\n| `MESSAGE_LINKS` | string | `inline` | Link placement: `inline` (after each item) or `bottom` (reference list at end) |\n| `MESSAGE_CATEGORY_BALANCE` | bool | `true` | Distribute slots across content types to prevent single-type domination |\n\n---\n\n## Content Selection Rules\n\n1. **Read data**: Load `data_{DATE}.json` from the working directory (this data has already been scored, deduplicated, and cross-source verified by the collection pipeline)\n2. **Filter by score**: Only items with `importance >= MESSAGE_MIN_SCORE`\n3. **Verify & ensure source link**: Every item included in the digest **MUST** have a valid `source_url`. This is a hard requirement — **no item may appear in the digest without an accompanying source link.**\n   - If an item has a `source_url` in the data → use it directly\n   - If an item has no `source_url` but has `verify_sources` or `cross_refs` → use the best available URL from those fields\n   - If an item has no URL at all → **search for an authoritative source URL** (official blog, GitHub repo, announcement post, HuggingFace page) before including it. Construct the URL from known patterns when possible (e.g., `https:\u002F\u002Fhuggingface.co\u002F{model_id}` for HF models, `https:\u002F\u002Fgithub.com\u002F{owner}\u002F{repo}` for GitHub projects)\n   - If no credible URL can be found after the above steps → **drop the item entirely** — do NOT include it without a link\n   - For items with score 7+, additionally confirm `verified == true` (2+ independent sources)\n   - **Zero-link items are a critical formatting error** — every item in the final output must end with a source link line\n4. **Balance by category** (when `MESSAGE_CATEGORY_BALANCE` is `true`, default):\n   a. Group qualifying items by `content_type`\n   b. Apply per-type slot caps: `product` max **4**, `model` max **3**, `benchmark` max **2**, `financing` max **2**\n   c. From each type, select the highest-scoring items up to the type's cap\n   d. If a type has fewer qualifying items than its cap, its unused slots become available as overflow\n   e. Fill remaining slots (up to `MESSAGE_MAX_ITEMS` total) with the next highest-scoring items from any type, regardless of whether that type has already hit its cap\n   f. If `MESSAGE_CATEGORY_BALANCE` is `false`, skip this step and use pure top-N by score\n5. **Sort**: Final selected items by importance score descending (highest first)\n6. **Limit**: Ensure total does not exceed `MESSAGE_MAX_ITEMS`\n7. **Translate**: If data language differs from `MESSAGE_LANG`, translate summaries. Entity names (proper nouns) stay unchanged.\n\n---\n\n## Text Generation Rules\n\n### Language-Specific Headers\n\n| Language | Header Text | Item Count Format |\n|----------|-------------|-------------------|\n| `zh` | `MorningAI {DATE}` | `共 {N} 条重要更新` |\n| `en` | `MorningAI {DATE}` | `{N} notable updates today` |\n| `ja` | `MorningAI {DATE}` | `本日の注目 {N} 件` |\n\n### Emoji Markers by Score\n\n| Score Range | Emoji | Meaning |\n|-------------|-------|---------|\n| 9-10 | ? | Major \u002F breakthrough |\n| 7-8 | ⭐ | Important |\n| 5-6 | ? | Notable |\n\n### Item Format\n\nEach item follows this structure:\n\n```\n{emoji} **{Entity} {Event description}**\n{One to two sentence summary: what it IS\u002FDOES + why it matters.}\n? {source_url}\n```\n\n**Rules:**\n- Title is bold, includes entity name + concise event description\n- Summary is 1-2 sentences max — must answer TWO questions:\n  1. **What is it \u002F what does it do?** — the core capability, function, or purpose (e.g., \"Code generation model specialized for multi-file edits\", \"Open-source text-to-video model supporting 10-second 1080p clips\")\n  2. **Why is it interesting \u002F what's notable?** — the differentiator, breakthrough, or key advancement (e.g., \"first open-weight model to beat GPT-4o on SWE-bench\", \"runs locally on consumer GPUs with 8GB VRAM\")\n- **Prioritize technical substance** over popularity metrics: benchmark scores, parameter counts, context window, architecture innovations, licensing, pricing, speed improvements\n- **Do NOT lead with vanity metrics** like download counts, likes, stars, or follower counts — these say nothing about what the thing does. Only mention them if the surge itself IS the news (e.g., \"hit 100K stars in 48 hours\")\n- No score numbers displayed — the emoji conveys importance level\n- **Each item MUST end with a `? {source_url}` line** — this is non-negotiable. An item without a source link is a formatting error. If the data lacks a `source_url`, construct one from known URL patterns (HuggingFace model page, GitHub repo, official blog) or search for an authoritative link. If no URL can be found, **drop the item** rather than publishing it without a link.\n- Items separated by a blank line\n\n### Special Formatting\n\nFor GitHub Trending items or items with notable engagement metrics:\n\n```\n? **GitHub Trending: {repo-name}**\n{What it does + why it's trending.} ⭐ {star_count}(+{delta})\n? {source_url}\n```\n\nNote: even for trending items, lead with what the project does, then append the star count as supporting context — not the other way around.\n\n### Link Placement\n\n**`MESSAGE_LINKS=inline`** (default):\n\nEach item ends with a source link line:\n\n```\n? **Anthropic Releases Claude 4.5 Sonnet**\nNew mid-tier model with +18% SWE-Bench, 200K context, 40% faster output.\n? https:\u002F\u002Fanthropic.com\u002Fnews\u002Fclaude-4-5-sonnet\n```\n\n**`MESSAGE_LINKS=bottom`** (alternative — groups links at the end):\n\nLinks grouped as a numbered reference list at the bottom, items do NOT include inline links:\n\n```\n---\n[1] {Entity Event} - {URL}\n[2] {Entity Event} - {URL}\n```\n\n### Footer\n\n```\n---\nPowered by MorningAI | Full report: report_{DATE}.md\n```\n\n---\n\n## Image Generation\n\n### When to Generate\n\nGenerate `message_{DATE}.png` only if image generation is available (i.e., `IMAGE_GEN_PROVIDER` is configured and not `none`). If unavailable, skip image generation and produce text only.\n\n### Image Specifications\n\n| Property | Value |\n|----------|-------|\n| Aspect Ratio | 9:16 portrait |\n| Layout | Single-column vertical card stack |\n| Cards | One card per item, compact format |\n| Card Content | Emoji marker + bold title + one-line summary |\n| Style | From `MESSAGE_IMAGE_STYLE` or `IMAGE_STYLE` config |\n\n### Image Prompt Template\n\n```\n9:16 portrait infographic, {HEADER_TEXT} {YYYY-MM-DD}, ALL text content in {LANG}.\nPurpose: Compact message digest for mobile sharing on messaging apps.\n\nTotal news items: {N}\n\nNews cards (display EXACTLY {N} cards, compact vertical layout):\n\nCard 1: {emoji} {Entity name} {Event description}\n- {One-line summary with key metrics}\n\nCard 2: {emoji} {Entity name} {Event description}\n- {One-line summary with key metrics}\n\n(... list all {N} items ...)\n\nCRITICAL RULES:\n- ALL text on this image MUST be in {LANG}\n- Entity names are proper nouns (OpenAI, DeepSeek, Cursor) — keep as-is, do NOT translate\n- Each card has: emoji marker + bold title + one-line summary (NOT multi-line bullets)\n- Use ? for top items, ⭐ for important items, ? for regular items\n- Compact single-column vertical stack — one card below another\n- Title font: 18pt bold, summary font: 13pt regular\n- Cards separated by thin divider or subtle spacing (12px)\n- Card width fills 90% of image width\n- Do NOT display score numbers, badges, or importance markers\n- Do NOT invent items not listed\n- Maximize content area — minimize decorative elements\n- Header: \"{HEADER_TEXT} {YYYY-MM-DD}\" at top\n- Footer: small gray text \"Powered by MorningAI\" at bottom\n- Optimized for screenshot sharing in messaging apps\n\n{STYLE_BLOCK}\n\nMessage digest layout adaptation:\n- Single-column vertical stack (NOT grid layout)\n- Each card: title line + summary line only (compact, no multi-line bullets)\n- Tight vertical spacing between cards\n- Clean, uncluttered, high information density\n- Mobile-optimized: large enough text to read on phone screens\n```\n\n**Variable substitution:**\n- `{HEADER_TEXT}`: See Language-Specific Headers table above\n- `{LANG}`: \"Chinese\" for zh, \"English\" for en, \"Japanese\" for ja\n- `{STYLE_BLOCK}`: Injected from existing style presets (see `skills\u002Fgen-infographic\u002Fscripts\u002Fstyles.py`)\n\n### Image Generation Method\n\nUse the same methods as Step 4 (gen-infographic):\n\n**Option A** — Native tool (if supported):\nGenerate using built-in image generation capability with the prompt above.\n\n**Option B** — Python script:\n```bash\ncd {SKILL_DIR} && python3 skills\u002Fgen-infographic\u002Fscripts\u002Fgen_infographic.py --prompt \"{prompt}\" -o {CWD}\u002Fmessage_{YYYY-MM-DD}.png\n```\n\n---\n\n## Workflow Summary\n\n1. Check `MESSAGE_ENABLED=true` — skip if not enabled\n2. Read `data_{DATE}.json` from the working directory\n3. Read this specification and the digest template (`templates\u002Fdigest.md`)\n4. Select items: filter by score >= `MESSAGE_MIN_SCORE`, apply category balance (if enabled), sort desc, limit to `MESSAGE_MAX_ITEMS`\n5. Generate text digest → write to `{CWD}\u002Fmessage_{DATE}.md`\n6. If image generation available → build prompt from template, generate → `{CWD}\u002Fmessage_{DATE}.png`\n\n---\n\n## Example Output\n\n```\nMorningAI 2026-04-14\n\n8 notable updates today\n\n? **Anthropic Releases Claude 4.5 Sonnet**\nNew mid-tier model with +18% SWE-Bench, 200K context, 40% faster output. Available via API and claude.ai.\n? https:\u002F\u002Fx.com\u002FAnthropicAI\u002Fstatus\u002Fexample\n\n⭐ **Google Gemini 2.5 Flash Enters Public Preview**\nFlash-tier model with native multimodal reasoning, 1M context. Free tier on AI Studio.\n? https:\u002F\u002Fx.com\u002FGoogleDeepMind\u002Fstatus\u002Fexample\n\n⭐ **Cursor Background Agents Now Generally Available**\nAutonomous background agents for multi-file refactoring, test generation, and PR creation. Max 10 concurrent on Pro.\n? https:\u002F\u002Fcursor.com\u002Fchangelog\u002Fbackground-agents-ga\n\n⭐ **DeepSeek Open-Sources V3-0407 Model**\nUpdated V3 with 671B MoE architecture, MIT license. Weights available on HuggingFace.\n? https:\u002F\u002Fgithub.com\u002Fdeepseek-ai\u002FDeepSeek-V3\n\n⭐ **OpenAI Open-Sources Codex CLI**\nTerminal-based coding agent with suggest, auto-edit, and full-auto modes. MIT license.\n? https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex\n\n⭐ **LMSYS Chatbot Arena April Rankings Update**\nClaude 4.5 Sonnet enters #2 overall (ELO 1287). Gemini 2.5 Pro holds #1 in coding.\n? https:\u002F\u002Flmarena.ai\n\n⭐ **GitHub Copilot Coding Agent Public Preview**\nAutonomous agent handles issues and creates PRs in secure cloud sandbox. Free for Pro+ and Enterprise.\n? https:\u002F\u002Fgithub.blog\u002Fchangelog\u002Fcopilot-coding-agent\n\n⭐ **Windsurf Raises $200M Series C at $3B Valuation**\nLargest round in AI coding tools space. Plans to hire 200 engineers and expand enterprise features.\n? https:\u002F\u002Ftechcrunch.com\u002F2026\u002F04\u002F07\u002Fwindsurf-raises-200m\n\n---\nPowered by MorningAI | Full report: report_2026-04-14.md\n```\n\n---\n\n## Notes\n\n- The text digest reads from `data_{DATE}.json` directly — it does NOT depend on the report being generated first\n- All summaries must be condensed to 1-2 sentences — prioritize explaining what the thing IS and why it matters, not popularity metrics (downloads, likes, stars)\n- Entity names are always preserved as proper nouns regardless of language setting\n- The image is optional — if no image generation provider is configured, only the text file is produced\n- When `MESSAGE_LINKS=bottom`, the reference numbers are implicit (ordered by item appearance) — do NOT add `[1]` markers in the item body, and do NOT include `?` lines after each item\n","## Objective\n\nTransform the daily AI news report data into a concise, copy-paste-friendly **message digest** optimized for sharing on messaging platforms. Produces two output files:\n\n1. **Text digest** (`message_{DATE}.md`) — bold titles, one-line summaries, source links\n2. **Digest image** (`message_{DATE}.png`) — 9:16 portrait infographic with compact card layout\n\nThe message digest shares the **same data pipeline** as the full report — all items go through the standard collect → score → deduplicate → cross-source link → verification pipeline. The only difference is the final output format: the full report produces a detailed multi-section Markdown document, while the message digest condenses the same verified data into a compact, share-friendly format.\n\n**Factual integrity applies to all items:** Every item in the digest — regardless of score — must have a traceable, authoritative source (`source_url`). Items with score 7+ additionally require cross-source verification (`verified == true`, 2+ independent sources). Never include an item whose factual claims cannot be linked to a concrete primary source.\n\n---\n\n## Output Specs\n\n### Text File: `message_{DATE}.md`\n\n| Property | Value |\n|----------|-------|\n| Format | Markdown (renders as plain text in most messaging apps) |\n| Encoding | UTF-8 |\n| Sections | Header → Items (with source links) → Footer |\n\n### Image File: `message_{DATE}.png`\n\n| Property | Value |\n|----------|-------|\n| Format | PNG |\n| Aspect Ratio | 9:16 portrait (optimized for mobile chat) |\n| Layout | Single-column vertical card stack |\n| Content | Same items as text digest, compact visual format |\n\n---\n\n## Configuration\n\n| Variable | Type | Default | Description |\n|----------|------|---------|-------------|\n| `MESSAGE_ENABLED` | bool | `false` | Master switch for message digest generation |\n| `MESSAGE_MIN_SCORE` | float | `5` | Minimum importance score to include an item |\n| `MESSAGE_MAX_ITEMS` | int | `10` | Maximum number of items in the digest |\n| `MESSAGE_LANG` | string | (from `--lang`) | Language override for the digest |\n| `MESSAGE_IMAGE_STYLE` | string | (from `IMAGE_STYLE`) | Visual style override for the digest image |\n| `MESSAGE_LINKS` | string | `inline` | Link placement: `inline` (after each item) or `bottom` (reference list at end) |\n| `MESSAGE_CATEGORY_BALANCE` | bool | `true` | Distribute slots across content types to prevent single-type domination |\n\n---\n\n## Content Selection Rules\n\n1. **Read data**: Load `data_{DATE}.json` from the working directory (this data has already been scored, deduplicated, and cross-source verified by the collection pipeline)\n2. **Filter by score**: Only items with `importance >= MESSAGE_MIN_SCORE`\n3. **Verify & ensure source link**: Every item included in the digest **MUST** have a valid `source_url`. This is a hard requirement — **no item may appear in the digest without an accompanying source link.**\n   - If an item has a `source_url` in the data → use it directly\n   - If an item has no `source_url` but has `verify_sources` or `cross_refs` → use the best available URL from those fields\n   - If an item has no URL at all → **search for an authoritative source URL** (official blog, GitHub repo, announcement post, HuggingFace page) before including it. Construct the URL from known patterns when possible (e.g., `https:\u002F\u002Fhuggingface.co\u002F{model_id}` for HF models, `https:\u002F\u002Fgithub.com\u002F{owner}\u002F{repo}` for GitHub projects)\n   - If no credible URL can be found after the above steps → **drop the item entirely** — do NOT include it without a link\n   - For items with score 7+, additionally confirm `verified == true` (2+ independent sources)\n   - **Zero-link items are a critical formatting error** — every item in the final output must end with a source link line\n4. **Balance by category** (when `MESSAGE_CATEGORY_BALANCE` is `true`, default):\n   a. Group qualifying items by `content_type`\n   b. Apply per-type slot caps: `product` max **4**, `model` max **3**, `benchmark` max **2**, `financing` max **2**\n   c. From each type, select the highest-scoring items up to the type's cap\n   d. If a type has fewer qualifying items than its cap, its unused slots become available as overflow\n   e. Fill remaining slots (up to `MESSAGE_MAX_ITEMS` total) with the next highest-scoring items from any type, regardless of whether that type has already hit its cap\n   f. If `MESSAGE_CATEGORY_BALANCE` is `false`, skip this step and use pure top-N by score\n5. **Sort**: Final selected items by importance score descending (highest first)\n6. **Limit**: Ensure total does not exceed `MESSAGE_MAX_ITEMS`\n7. **Translate**: If data language differs from `MESSAGE_LANG`, translate summaries. Entity names (proper nouns) stay unchanged.\n\n---\n\n## Text Generation Rules\n\n### Language-Specific Headers\n\n| Language | Header Text | Item Count Format |\n|----------|-------------|-------------------|\n| `zh` | `MorningAI {DATE}` | `共 {N} 条重要更新` |\n| `en` | `MorningAI {DATE}` | `{N} notable updates today` |\n| `ja` | `MorningAI {DATE}` | `本日の注目 {N} 件` |\n\n### Emoji Markers by Score\n\n| Score Range | Emoji | Meaning |\n|-------------|-------|---------|\n| 9-10 | ? | Major \u002F breakthrough |\n| 7-8 | ⭐ | Important |\n| 5-6 | ? | Notable |\n\n### Item Format\n\nEach item follows this structure:\n\n```\n{emoji} **{Entity} {Event description}**\n{One to two sentence summary: what it IS\u002FDOES + why it matters.}\n? {source_url}\n```\n\n**Rules:**\n- Title is bold, includes entity name + concise event description\n- Summary is 1-2 sentences max — must answer TWO questions:\n  1. **What is it \u002F what does it do?** — the core capability, function, or purpose (e.g., \"Code generation model specialized for multi-file edits\", \"Open-source text-to-video model supporting 10-second 1080p clips\")\n  2. **Why is it interesting \u002F what's notable?** — the differentiator, breakthrough, or key advancement (e.g., \"first open-weight model to beat GPT-4o on SWE-bench\", \"runs locally on consumer GPUs with 8GB VRAM\")\n- **Prioritize technical substance** over popularity metrics: benchmark scores, parameter counts, context window, architecture innovations, licensing, pricing, speed improvements\n- **Do NOT lead with vanity metrics** like download counts, likes, stars, or follower counts — these say nothing about what the thing does. Only mention them if the surge itself IS the news (e.g., \"hit 100K stars in 48 hours\")\n- No score numbers displayed — the emoji conveys importance level\n- **Each item MUST end with a `? {source_url}` line** — this is non-negotiable. An item without a source link is a formatting error. If the data lacks a `source_url`, construct one from known URL patterns (HuggingFace model page, GitHub repo, official blog) or search for an authoritative link. If no URL can be found, **drop the item** rather than publishing it without a link.\n- Items separated by a blank line\n\n### Special Formatting\n\nFor GitHub Trending items or items with notable engagement metrics:\n\n```\n? **GitHub Trending: {repo-name}**\n{What it does + why it's trending.} ⭐ {star_count}(+{delta})\n? {source_url}\n```\n\nNote: even for trending items, lead with what the project does, then append the star count as supporting context — not the other way around.\n\n### Link Placement\n\n**`MESSAGE_LINKS=inline`** (default):\n\nEach item ends with a source link line:\n\n```\n? **Anthropic Releases Claude 4.5 Sonnet**\nNew mid-tier model with +18% SWE-Bench, 200K context, 40% faster output.\n? https:\u002F\u002Fanthropic.com\u002Fnews\u002Fclaude-4-5-sonnet\n```\n\n**`MESSAGE_LINKS=bottom`** (alternative — groups links at the end):\n\nLinks grouped as a numbered reference list at the bottom, items do NOT include inline links:\n\n```\n---\n[1] {Entity Event} - {URL}\n[2] {Entity Event} - {URL}\n```\n\n### Footer\n\n```\n---\nPowered by MorningAI | Full report: report_{DATE}.md\n```\n\n---\n\n## Image Generation\n\n### When to Generate\n\nGenerate `message_{DATE}.png` only if image generation is available (i.e., `IMAGE_GEN_PROVIDER` is configured and not `none`). If unavailable, skip image generation and produce text only.\n\n### Image Specifications\n\n| Property | Value |\n|----------|-------|\n| Aspect Ratio | 9:16 portrait |\n| Layout | Single-column vertical card stack |\n| Cards | One card per item, compact format |\n| Card Content | Emoji marker + bold title + one-line summary |\n| Style | From `MESSAGE_IMAGE_STYLE` or `IMAGE_STYLE` config |\n\n### Image Prompt Template\n\n```\n9:16 portrait infographic, {HEADER_TEXT} {YYYY-MM-DD}, ALL text content in {LANG}.\nPurpose: Compact message digest for mobile sharing on messaging apps.\n\nTotal news items: {N}\n\nNews cards (display EXACTLY {N} cards, compact vertical layout):\n\nCard 1: {emoji} {Entity name} {Event description}\n- {One-line summary with key metrics}\n\nCard 2: {emoji} {Entity name} {Event description}\n- {One-line summary with key metrics}\n\n(... list all {N} items ...)\n\nCRITICAL RULES:\n- ALL text on this image MUST be in {LANG}\n- Entity names are proper nouns (OpenAI, DeepSeek, Cursor) — keep as-is, do NOT translate\n- Each card has: emoji marker + bold title + one-line summary (NOT multi-line bullets)\n- Use ? for top items, ⭐ for important items, ? for regular items\n- Compact single-column vertical stack — one card below another\n- Title font: 18pt bold, summary font: 13pt regular\n- Cards separated by thin divider or subtle spacing (12px)\n- Card width fills 90% of image width\n- Do NOT display score numbers, badges, or importance markers\n- Do NOT invent items not listed\n- Maximize content area — minimize decorative elements\n- Header: \"{HEADER_TEXT} {YYYY-MM-DD}\" at top\n- Footer: small gray text \"Powered by MorningAI\" at bottom\n- Optimized for screenshot sharing in messaging apps\n\n{STYLE_BLOCK}\n\nMessage digest layout adaptation:\n- Single-column vertical stack (NOT grid layout)\n- Each card: title line + summary line only (compact, no multi-line bullets)\n- Tight vertical spacing between cards\n- Clean, uncluttered, high information density\n- Mobile-optimized: large enough text to read on phone screens\n```\n\n**Variable substitution:**\n- `{HEADER_TEXT}`: See Language-Specific Headers table above\n- `{LANG}`: \"Chinese\" for zh, \"English\" for en, \"Japanese\" for ja\n- `{STYLE_BLOCK}`: Injected from existing style presets (see `skills\u002Fgen-infographic\u002Fscripts\u002Fstyles.py`)\n\n### Image Generation Method\n\nUse the same methods as Step 4 (gen-infographic):\n\n**Option A** — Native tool (if supported):\nGenerate using built-in image generation capability with the prompt above.\n\n**Option B** — Python script:\n```bash\ncd {SKILL_DIR} && python3 skills\u002Fgen-infographic\u002Fscripts\u002Fgen_infographic.py --prompt \"{prompt}\" -o {CWD}\u002Fmessage_{YYYY-MM-DD}.png\n```\n\n---\n\n## Workflow Summary\n\n1. Check `MESSAGE_ENABLED=true` — skip if not enabled\n2. Read `data_{DATE}.json` from the working directory\n3. Read this specification and the digest template (`templates\u002Fdigest.md`)\n4. Select items: filter by score >= `MESSAGE_MIN_SCORE`, apply category balance (if enabled), sort desc, limit to `MESSAGE_MAX_ITEMS`\n5. Generate text digest → write to `{CWD}\u002Fmessage_{DATE}.md`\n6. If image generation available → build prompt from template, generate → `{CWD}\u002Fmessage_{DATE}.png`\n\n---\n\n## Example Output\n\n```\nMorningAI 2026-04-14\n\n8 notable updates today\n\n? **Anthropic Releases Claude 4.5 Sonnet**\nNew mid-tier model with +18% SWE-Bench, 200K context, 40% faster output. Available via API and claude.ai.\n? https:\u002F\u002Fx.com\u002FAnthropicAI\u002Fstatus\u002Fexample\n\n⭐ **Google Gemini 2.5 Flash Enters Public Preview**\nFlash-tier model with native multimodal reasoning, 1M context. Free tier on AI Studio.\n? https:\u002F\u002Fx.com\u002FGoogleDeepMind\u002Fstatus\u002Fexample\n\n⭐ **Cursor Background Agents Now Generally Available**\nAutonomous background agents for multi-file refactoring, test generation, and PR creation. Max 10 concurrent on Pro.\n? https:\u002F\u002Fcursor.com\u002Fchangelog\u002Fbackground-agents-ga\n\n⭐ **DeepSeek Open-Sources V3-0407 Model**\nUpdated V3 with 671B MoE architecture, MIT license. Weights available on HuggingFace.\n? https:\u002F\u002Fgithub.com\u002Fdeepseek-ai\u002FDeepSeek-V3\n\n⭐ **OpenAI Open-Sources Codex CLI**\nTerminal-based coding agent with suggest, auto-edit, and full-auto modes. MIT license.\n? https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex\n\n⭐ **LMSYS Chatbot Arena April Rankings Update**\nClaude 4.5 Sonnet enters #2 overall (ELO 1287). Gemini 2.5 Pro holds #1 in coding.\n? https:\u002F\u002Flmarena.ai\n\n⭐ **GitHub Copilot Coding Agent Public Preview**\nAutonomous agent handles issues and creates PRs in secure cloud sandbox. Free for Pro+ and Enterprise.\n? https:\u002F\u002Fgithub.blog\u002Fchangelog\u002Fcopilot-coding-agent\n\n⭐ **Windsurf Raises $200M Series C at $3B Valuation**\nLargest round in AI coding tools space. Plans to hire 200 engineers and expand enterprise features.\n? https:\u002F\u002Ftechcrunch.com\u002F2026\u002F04\u002F07\u002Fwindsurf-raises-200m\n\n---\nPowered by MorningAI | Full report: report_2026-04-14.md\n```\n\n---\n\n## Notes\n\n- The text digest reads from `data_{DATE}.json` directly — it does NOT depend on the report being generated first\n- All summaries must be condensed to 1-2 sentences — prioritize explaining what the thing IS and why it matters, not popularity metrics (downloads, likes, stars)\n- Entity names are always preserved as proper nouns regardless of language setting\n- The image is optional — if no image generation provider is configured, only the text file is produced\n- When `MESSAGE_LINKS=bottom`, the reference numbers are implicit (ordered by item appearance) — do NOT add `[1]` markers in the item body, and do NOT include `?` lines after each item\n",{"name":5,"version":37,"description":7},"1.3.0","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Focto-patch\u002FMorningAI\u002Fskills\u002Fgen-message",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill gen-message",{"tool":54,"command":55},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill gen-message",{"tool":57,"command":58},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill gen-message","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Focto-patch\u002FMorningAI\u002Fskills\u002Fgen-message\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"templates\u002Fdigest.md","REFERENCE","参考文档",4782,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Focto-patch\u002FMorningAI\u002Fskills\u002Fgen-message\u002Ftemplates\u002Fdigest.md",[69,79,87,95,103,111],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":78},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":78},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":78},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":78},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":78},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]