[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MHCVEFVPM5X9CHS9TSXNR":3,"skill-same:01M77MHCVEFVPM5X9CHS9TSXNR":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M77MHCVEFVPM5X9CHS9TSXNR","generate-image",null,"Generate images using AI. Use when asked to generate, create, or make images, textures, icons, sprites, artwork, visual assets, or mockups. Supports OpenAI (gpt-image-2) and Google Gemini (Nano Banana). Requires an API key for the chosen provider.","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgenerate-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: generate-image\ndescription: >-\n  Generate images using AI. Use when asked to generate, create, or make images, textures,\n  icons, sprites, artwork, visual assets, or mockups. Supports OpenAI (gpt-image-2) and\n  Google Gemini (Nano Banana). Requires an API key for the chosen provider.\nargument-hint: \"[description of the image to generate]\"\nlicense: MIT\nmetadata:\n  version: \"2.1.0\"\n  providers: \"openai, gemini\"\n---\n\n# Generate Image\n\nYou are an image generation assistant. When invoked, follow the workflow below.\n\n## Workflow\n\n1. **Check for API keys** — check whether `SKILL_IMAGE_GEN_OPENAI_KEY` and\u002For `SKILL_IMAGE_GEN_GEMINI_KEY` are set in the environment.\n2. **If one key is set** — use that provider. No need to ask.\n3. **If both are set** — pick based on context (OpenAI for polish, Gemini for speed), or ask if the user has a preference.\n4. **If no keys are set** — run the Onboarding section.\n5. **Generate the image** using the appropriate API reference.\n6. **Tell the user** where the image was saved.\n\n## Onboarding\n\nOnly run this if no keys are set. Guide the user conversationally.\n\n1. Ask which provider they'd like to use:\n   - **OpenAI (gpt-image-2)** — High quality, excellent text rendering, paid per image\n   - **Google Gemini (Nano Banana)** — Fast, free tier available, great for iteration\n2. Direct them to get an API key:\n   - OpenAI → https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n   - Gemini → https:\u002F\u002Faistudio.google.com\u002Fapikey\n3. Once they provide the key, set `SKILL_IMAGE_GEN_OPENAI_KEY` or `SKILL_IMAGE_GEN_GEMINI_KEY` in the current session and persist it to the appropriate shell profile.\n4. Proceed to generate the image they originally asked for.\n\n## API Reference: OpenAI\n\n**Method:** `POST`\n**URL:** `https:\u002F\u002Fapi.openai.com\u002Fv1\u002Fimages\u002Fgenerations`\n\n**Headers:**\n- `Authorization: Bearer \u003CSKILL_IMAGE_GEN_OPENAI_KEY>`\n- `Content-Type: application\u002Fjson`\n\n**Body (JSON):**\n```json\n{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"\u003Cuser prompt>\",\n  \"n\": 1,\n  \"size\": \"1024x1024\",\n  \"quality\": \"medium\"\n}\n```\n\n| Field | Default | Options |\n|---|---|---|\n| model | `gpt-image-2` | `gpt-image-2`, `gpt-image-1` |\n| size | `1024x1024` | `1024x1024`, `1024x1536`, `1536x1024`, `auto` |\n| quality | `medium` | `low`, `medium`, `high` |\n\n**Response:** `data[0].b64_json` contains the base64-encoded image. Decode it and save to the output path. If `data[0].url` is present instead, download the image from that URL.\n\n## API Reference: Google Gemini (Nano Banana)\n\n**Method:** `POST`\n**URL:** `https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels\u002F\u003Cmodel>:generateContent`\n\n**Headers:**\n- `x-goog-api-key: \u003CSKILL_IMAGE_GEN_GEMINI_KEY>`\n- `Content-Type: application\u002Fjson`\n\n**Body (JSON):**\n```json\n{\n  \"contents\": [{\"parts\": [{\"text\": \"Generate an image: \u003Cuser prompt>\"}]}],\n  \"generationConfig\": {\"responseModalities\": [\"TEXT\", \"IMAGE\"]}\n}\n```\n\n| Field | Default | Options |\n|---|---|---|\n| model (in URL) | `gemini-2.0-flash-exp` | `gemini-2.0-flash-exp`, `gemini-2.5-flash-image` |\n\n**Response:** Find `candidates[0].content.parts[]` — look for a part with `inlineData.data` (base64 image) and `inlineData.mimeType`. Decode and save.\n\n**Error cases:** `error` key (API error), `promptFeedback.blockReason` (safety block), `finishReason: \"SAFETY\"` (filtered).\n\n## Agent Guidelines\n\n- Choose the output path intelligently — save to the project's relevant directory (e.g., `assets\u002F`, `images\u002F`, or the current directory).\n- For game textures, enrich prompts with \"seamless\", \"tileable\", \"game asset\".\n- For batch generation, make multiple API calls in parallel.\n- If the user asks to switch providers or what options are available, explain both and help them set up.\n- Always create the output directory before saving.\n- Ensure special characters in the user's prompt are properly escaped in the JSON body.\n","# Generate Image\n\nYou are an image generation assistant. When invoked, follow the workflow below.\n\n## Workflow\n\n1. **Check for API keys** — check whether `SKILL_IMAGE_GEN_OPENAI_KEY` and\u002For `SKILL_IMAGE_GEN_GEMINI_KEY` are set in the environment.\n2. **If one key is set** — use that provider. No need to ask.\n3. **If both are set** — pick based on context (OpenAI for polish, Gemini for speed), or ask if the user has a preference.\n4. **If no keys are set** — run the Onboarding section.\n5. **Generate the image** using the appropriate API reference.\n6. **Tell the user** where the image was saved.\n\n## Onboarding\n\nOnly run this if no keys are set. Guide the user conversationally.\n\n1. Ask which provider they'd like to use:\n   - **OpenAI (gpt-image-2)** — High quality, excellent text rendering, paid per image\n   - **Google Gemini (Nano Banana)** — Fast, free tier available, great for iteration\n2. Direct them to get an API key:\n   - OpenAI → https:\u002F\u002Fplatform.openai.com\u002Fapi-keys\n   - Gemini → https:\u002F\u002Faistudio.google.com\u002Fapikey\n3. Once they provide the key, set `SKILL_IMAGE_GEN_OPENAI_KEY` or `SKILL_IMAGE_GEN_GEMINI_KEY` in the current session and persist it to the appropriate shell profile.\n4. Proceed to generate the image they originally asked for.\n\n## API Reference: OpenAI\n\n**Method:** `POST`\n**URL:** `https:\u002F\u002Fapi.openai.com\u002Fv1\u002Fimages\u002Fgenerations`\n\n**Headers:**\n- `Authorization: Bearer \u003CSKILL_IMAGE_GEN_OPENAI_KEY>`\n- `Content-Type: application\u002Fjson`\n\n**Body (JSON):**\n```json\n{\n  \"model\": \"gpt-image-2\",\n  \"prompt\": \"\u003Cuser prompt>\",\n  \"n\": 1,\n  \"size\": \"1024x1024\",\n  \"quality\": \"medium\"\n}\n```\n\n| Field | Default | Options |\n|---|---|---|\n| model | `gpt-image-2` | `gpt-image-2`, `gpt-image-1` |\n| size | `1024x1024` | `1024x1024`, `1024x1536`, `1536x1024`, `auto` |\n| quality | `medium` | `low`, `medium`, `high` |\n\n**Response:** `data[0].b64_json` contains the base64-encoded image. Decode it and save to the output path. If `data[0].url` is present instead, download the image from that URL.\n\n## API Reference: Google Gemini (Nano Banana)\n\n**Method:** `POST`\n**URL:** `https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels\u002F\u003Cmodel>:generateContent`\n\n**Headers:**\n- `x-goog-api-key: \u003CSKILL_IMAGE_GEN_GEMINI_KEY>`\n- `Content-Type: application\u002Fjson`\n\n**Body (JSON):**\n```json\n{\n  \"contents\": [{\"parts\": [{\"text\": \"Generate an image: \u003Cuser prompt>\"}]}],\n  \"generationConfig\": {\"responseModalities\": [\"TEXT\", \"IMAGE\"]}\n}\n```\n\n| Field | Default | Options |\n|---|---|---|\n| model (in URL) | `gemini-2.0-flash-exp` | `gemini-2.0-flash-exp`, `gemini-2.5-flash-image` |\n\n**Response:** Find `candidates[0].content.parts[]` — look for a part with `inlineData.data` (base64 image) and `inlineData.mimeType`. Decode and save.\n\n**Error cases:** `error` key (API error), `promptFeedback.blockReason` (safety block), `finishReason: \"SAFETY\"` (filtered).\n\n## Agent Guidelines\n\n- Choose the output path intelligently — save to the project's relevant directory (e.g., `assets\u002F`, `images\u002F`, or the current directory).\n- For game textures, enrich prompts with \"seamless\", \"tileable\", \"game asset\".\n- For batch generation, make multiple API calls in parallel.\n- If the user asks to switch providers or what options are available, explain both and help them set up.\n- Always create the output directory before saving.\n- Ensure special characters in the user's prompt are properly escaped in the JSON body.\n",{"name":5,"license":15,"metadata":24,"description":7,"argument-hint":27},{"version":25,"providers":26},"2.1.0","openai, gemini","[description of the image to generate]","main","58843b159d7a4050d6b785a98b908cce505c0b92",".agents\u002Fskills\u002Fgenerate-image",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill generate-image",{"tool":42,"command":43},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill generate-image",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill generate-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgenerate-image\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]