[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72J3Z26FKPYBX2M876FGT0T":3,"skill-same:01M72J3Z26FKPYBX2M876FGT0T":77},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M72J3Z26FKPYBX2M876FGT0T","meme-generation",null,"Generate real meme images by picking a template and overlaying text with Pillow. Produces actual .png meme files.","cocyuhao\u002Fai-dev-tooling-research-archive","cocyuhao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269083740?v=4","01M72F908ET5R76KP9NXS6Y2GJ","Hao Yu","01M72F909376KCNJVKG8MEPY2Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: meme-generation\ndescription: Generate real meme images by picking a template and overlaying text with Pillow. Produces actual .png meme files.\nversion: 2.0.0\nauthor: adanaleycio\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [creative, memes, humor, images]\n    related_skills: [ascii-art, generative-widgets]\n    category: creative\n---\n\n# Meme Generation\n\nGenerate actual meme images from a topic. Picks a template, writes captions, and renders a real .png file with text overlay.\n\n## When to Use\n\n- User asks you to make or generate a meme\n- User wants a meme about a specific topic, situation, or frustration\n- User says \"meme this\" or similar\n\n## Available Templates\n\nThe script supports **any of the ~100 popular imgflip templates** by name or ID, plus 10 curated templates with hand-tuned text positioning.\n\n### Curated Templates (custom text placement)\n\n| ID | Name | Fields | Best for |\n|----|------|--------|----------|\n| `this-is-fine` | This is Fine | top, bottom | chaos, denial |\n| `drake` | Drake Hotline Bling | reject, approve | rejecting\u002Fpreferring |\n| `distracted-boyfriend` | Distracted Boyfriend | distraction, current, person | temptation, shifting priorities |\n| `two-buttons` | Two Buttons | left, right, person | impossible choice |\n| `expanding-brain` | Expanding Brain | 4 levels | escalating irony |\n| `change-my-mind` | Change My Mind | statement | hot takes |\n| `woman-yelling-at-cat` | Woman Yelling at Cat | woman, cat | arguments |\n| `one-does-not-simply` | One Does Not Simply | top, bottom | deceptively hard things |\n| `grus-plan` | Gru's Plan | step1-3, realization | plans that backfire |\n| `batman-slapping-robin` | Batman Slapping Robin | robin, batman | shutting down bad ideas |\n\n### Dynamic Templates (from imgflip API)\n\nAny template not in the curated list can be used by name or imgflip ID. These get smart default text positioning (top\u002Fbottom for 2-field, evenly spaced for 3+). Search with:\n```bash\npython \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --search \"disaster\"\n```\n\n## Procedure\n\n### Mode 1: Classic Template (default)\n\n1. Read the user's topic and identify the core dynamic (chaos, dilemma, preference, irony, etc.)\n2. Pick the template that best matches. Use the \"Best for\" column, or search with `--search`.\n3. Write short captions for each field (8-12 words max per field, shorter is better).\n4. Find the skill's script directory:\n   ```\n   SKILL_DIR=$(dirname \"$(find ~\u002F.hermes\u002Fskills -path '*\u002Fmeme-generation\u002FSKILL.md' 2>\u002Fdev\u002Fnull | head -1)\")\n   ```\n5. Run the generator:\n   ```bash\n   python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" \u003Ctemplate_id> \u002Ftmp\u002Fmeme.png \"caption 1\" \"caption 2\" ...\n   ```\n6. Return the image with `MEDIA:\u002Ftmp\u002Fmeme.png`\n\n### Mode 2: Custom AI Image (when image_generate is available)\n\nUse this when no classic template fits, or when the user wants something original.\n\n1. Write the captions first.\n2. Use `image_generate` to create a scene that matches the meme concept. Do NOT include any text in the image prompt — text will be added by the script. Describe only the visual scene.\n3. Find the generated image path from the image_generate result URL. Download it to a local path if needed.\n4. Run the script with `--image` to overlay text, choosing a mode:\n   - **Overlay** (text directly on image, white with black outline):\n     ```bash\n     python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --image \u002Fpath\u002Fto\u002Fscene.png \u002Ftmp\u002Fmeme.png \"top text\" \"bottom text\"\n     ```\n   - **Bars** (black bars above\u002Fbelow with white text — cleaner, always readable):\n     ```bash\n     python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --image \u002Fpath\u002Fto\u002Fscene.png --bars \u002Ftmp\u002Fmeme.png \"top text\" \"bottom text\"\n     ```\n   Use `--bars` when the image is busy\u002Fdetailed and text would be hard to read on top of it.\n5. **Verify with vision** (if `vision_analyze` is available): Check the result looks good:\n   ```\n   vision_analyze(image_url=\"\u002Ftmp\u002Fmeme.png\", question=\"Is the text legible and well-positioned? Does the meme work visually?\")\n   ```\n   If the vision model flags issues (text hard to read, bad placement, etc.), try the other mode (switch between overlay and bars) or regenerate the scene.\n6. Return the image with `MEDIA:\u002Ftmp\u002Fmeme.png`\n\n## Examples\n\n**\"debugging production at 2 AM\":**\n```bash\npython generate_meme.py this-is-fine \u002Ftmp\u002Fmeme.png \"SERVERS ARE ON FIRE\" \"This is fine\"\n```\n\n**\"choosing between sleep and one more episode\":**\n```bash\npython generate_meme.py drake \u002Ftmp\u002Fmeme.png \"Getting 8 hours of sleep\" \"One more episode at 3 AM\"\n```\n\n**\"the stages of a Monday morning\":**\n```bash\npython generate_meme.py expanding-brain \u002Ftmp\u002Fmeme.png \"Setting an alarm\" \"Setting 5 alarms\" \"Sleeping through all alarms\" \"Working from bed\"\n```\n\n## Listing Templates\n\nTo see all available templates:\n```bash\npython generate_meme.py --list\n```\n\n## Pitfalls\n\n- Keep captions SHORT. Memes with long text look terrible.\n- Match the number of text arguments to the template's field count.\n- Pick the template that fits the joke structure, not just the topic.\n- Do not generate hateful, abusive, or personally targeted content.\n- The script caches template images in `scripts\u002F.cache\u002F` after first download.\n\n## Verification\n\nThe output is correct if:\n- A .png file was created at the output path\n- Text is legible (white with black outline) on the template\n- The joke lands — caption matches the template's intended structure\n- File can be delivered via MEDIA: path\n","# Meme Generation\n\nGenerate actual meme images from a topic. Picks a template, writes captions, and renders a real .png file with text overlay.\n\n## When to Use\n\n- User asks you to make or generate a meme\n- User wants a meme about a specific topic, situation, or frustration\n- User says \"meme this\" or similar\n\n## Available Templates\n\nThe script supports **any of the ~100 popular imgflip templates** by name or ID, plus 10 curated templates with hand-tuned text positioning.\n\n### Curated Templates (custom text placement)\n\n| ID | Name | Fields | Best for |\n|----|------|--------|----------|\n| `this-is-fine` | This is Fine | top, bottom | chaos, denial |\n| `drake` | Drake Hotline Bling | reject, approve | rejecting\u002Fpreferring |\n| `distracted-boyfriend` | Distracted Boyfriend | distraction, current, person | temptation, shifting priorities |\n| `two-buttons` | Two Buttons | left, right, person | impossible choice |\n| `expanding-brain` | Expanding Brain | 4 levels | escalating irony |\n| `change-my-mind` | Change My Mind | statement | hot takes |\n| `woman-yelling-at-cat` | Woman Yelling at Cat | woman, cat | arguments |\n| `one-does-not-simply` | One Does Not Simply | top, bottom | deceptively hard things |\n| `grus-plan` | Gru's Plan | step1-3, realization | plans that backfire |\n| `batman-slapping-robin` | Batman Slapping Robin | robin, batman | shutting down bad ideas |\n\n### Dynamic Templates (from imgflip API)\n\nAny template not in the curated list can be used by name or imgflip ID. These get smart default text positioning (top\u002Fbottom for 2-field, evenly spaced for 3+). Search with:\n```bash\npython \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --search \"disaster\"\n```\n\n## Procedure\n\n### Mode 1: Classic Template (default)\n\n1. Read the user's topic and identify the core dynamic (chaos, dilemma, preference, irony, etc.)\n2. Pick the template that best matches. Use the \"Best for\" column, or search with `--search`.\n3. Write short captions for each field (8-12 words max per field, shorter is better).\n4. Find the skill's script directory:\n   ```\n   SKILL_DIR=$(dirname \"$(find ~\u002F.hermes\u002Fskills -path '*\u002Fmeme-generation\u002FSKILL.md' 2>\u002Fdev\u002Fnull | head -1)\")\n   ```\n5. Run the generator:\n   ```bash\n   python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" \u003Ctemplate_id> \u002Ftmp\u002Fmeme.png \"caption 1\" \"caption 2\" ...\n   ```\n6. Return the image with `MEDIA:\u002Ftmp\u002Fmeme.png`\n\n### Mode 2: Custom AI Image (when image_generate is available)\n\nUse this when no classic template fits, or when the user wants something original.\n\n1. Write the captions first.\n2. Use `image_generate` to create a scene that matches the meme concept. Do NOT include any text in the image prompt — text will be added by the script. Describe only the visual scene.\n3. Find the generated image path from the image_generate result URL. Download it to a local path if needed.\n4. Run the script with `--image` to overlay text, choosing a mode:\n   - **Overlay** (text directly on image, white with black outline):\n     ```bash\n     python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --image \u002Fpath\u002Fto\u002Fscene.png \u002Ftmp\u002Fmeme.png \"top text\" \"bottom text\"\n     ```\n   - **Bars** (black bars above\u002Fbelow with white text — cleaner, always readable):\n     ```bash\n     python \"$SKILL_DIR\u002Fscripts\u002Fgenerate_meme.py\" --image \u002Fpath\u002Fto\u002Fscene.png --bars \u002Ftmp\u002Fmeme.png \"top text\" \"bottom text\"\n     ```\n   Use `--bars` when the image is busy\u002Fdetailed and text would be hard to read on top of it.\n5. **Verify with vision** (if `vision_analyze` is available): Check the result looks good:\n   ```\n   vision_analyze(image_url=\"\u002Ftmp\u002Fmeme.png\", question=\"Is the text legible and well-positioned? Does the meme work visually?\")\n   ```\n   If the vision model flags issues (text hard to read, bad placement, etc.), try the other mode (switch between overlay and bars) or regenerate the scene.\n6. Return the image with `MEDIA:\u002Ftmp\u002Fmeme.png`\n\n## Examples\n\n**\"debugging production at 2 AM\":**\n```bash\npython generate_meme.py this-is-fine \u002Ftmp\u002Fmeme.png \"SERVERS ARE ON FIRE\" \"This is fine\"\n```\n\n**\"choosing between sleep and one more episode\":**\n```bash\npython generate_meme.py drake \u002Ftmp\u002Fmeme.png \"Getting 8 hours of sleep\" \"One more episode at 3 AM\"\n```\n\n**\"the stages of a Monday morning\":**\n```bash\npython generate_meme.py expanding-brain \u002Ftmp\u002Fmeme.png \"Setting an alarm\" \"Setting 5 alarms\" \"Sleeping through all alarms\" \"Working from bed\"\n```\n\n## Listing Templates\n\nTo see all available templates:\n```bash\npython generate_meme.py --list\n```\n\n## Pitfalls\n\n- Keep captions SHORT. Memes with long text look terrible.\n- Match the number of text arguments to the template's field count.\n- Pick the template that fits the joke structure, not just the topic.\n- Do not generate hateful, abusive, or personally targeted content.\n- The script caches template images in `scripts\u002F.cache\u002F` after first download.\n\n## Verification\n\nThe output is correct if:\n- A .png file was created at the output path\n- Text is legible (white with black outline) on the template\n- The joke lands — caption matches the template's intended structure\n- File can be delivered via MEDIA: path\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"description":7},"adanaleycio","2.0.0",{"hermes":27},{"tags":28,"category":29,"related_skills":33},[29,30,31,32],"creative","memes","humor","images",[34,35],"ascii-art","generative-widgets","main","f4a24bd1ab047411d4ae57ee9a96701a7706e779","hermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive","https:\u002F\u002Fgithub.com\u002Fcocyuhao","Beijing Wuzi University","2026-05-12 10:57:02",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill meme-generation",{"tool":49,"command":50},"bunx","bunx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill meme-generation",{"tool":52,"command":53},"pnpm","pnpm dlx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill meme-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002FSKILL.md",true,[57,63,69,73],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"EXAMPLES.md","REFERENCE","参考文档",1076,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002FEXAMPLES.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002F.gitignore","SCRIPT","脚本",8,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002Fscripts\u002F.gitignore",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Fgenerate_meme.py",16645,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002Fscripts\u002Fgenerate_meme.py",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Ftemplates.json",4154,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fcreative\u002Fmeme-generation\u002Fscripts\u002Ftemplates.json",[78,85,93,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M72JQ593HE3SRJD3446CCKA8","web-access","所有联网操作必须通过此 skill 处理，包括：搜索、网页抓取、登录后操作、网络交互等。 触发场景：用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容（小红书、微博、推特等）、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fweb-access\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M72JKXJYFT2RBJ2HP5ZRA853","last30days","Multi-query social research across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, and the web. Intelligent query planning with Gemini\u002FOpenAI fallback.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Flast30days-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Flast30days-skill\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M72JKMRQSD0ZY66KQ863HVY5","writing-plans","Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M72JKHCV8DT6VWSD4KS5YWT9","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M72JKD7VX7EQM38R704F3KT1","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M72JKA9XXB92FS8JHPCYW8CM","subagent-driven-development","Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[]]