[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AZDM809MQ9TBTHWKAPA03Z":3,"skill-same:01M7AZDM809MQ9TBTHWKAPA03Z":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7AZDM809MQ9TBTHWKAPA03Z","gemini-vision-router",null,"Route image vision through Gemini REST as a vision fallback.","dbillion\u002Fhermes-skills-public","dbillion","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49393855?v=4","01M7AVH8QPGCM8WKWS22TRT0T6","Oludayo Adeoye","01M7AVH8RD1JJWA0YS9CFEWAV9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fcreative\u002Fgemini-vision-router\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gemini-vision-router\ndescription: \"Route image vision through Gemini REST as a vision fallback.\"\nversion: 1.0.0\nauthor: curator\nlicense: MIT\nplatforms: [linux, macos, windows]\n---\n\n# Gemini Vision Router (fallback when native vision fails)\n\n`vision_analyze` can fail two ways: it can't read `file:\u002F\u002F` local paths (404),\nand the backend often returns **429 Too Many Requests**. Gemini's REST vision\nAPI uses a *separate* quota and can read local images as base64 — route image\nunderstanding through it instead.\n\n## Key location\nThe Gemini API key lives in the Gemini CLI config (do NOT print it):\n`\u002Fhome\u002Fdeeone\u002F.gemini\u002Fsettings.json` → `security.auth.apiKey`.\n\n## Minimal working call\n```python\nimport json, base64, urllib.request, urllib.error\n\nwith open(\"\u002Fhome\u002Fdeeone\u002F.gemini\u002Fsettings.json\") as f:\n    KEY = json.load(f)[\"security\"][\"auth\"][\"apiKey\"]\nwith open(IMG, \"rb\") as f:\n    b64 = base64.b64encode(f.read()).decode()\n\nurl = f\"https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels\u002F{MODEL}:generateContent?key={KEY}\"\nbody = json.dumps({\n    \"contents\": [{\"parts\": [\n        {\"text\": PROMPT},\n        {\"inline_data\": {\"mime_type\": \"image\u002Fpng\", \"data\": b64}},\n    ]}]\n}).encode()\nreq = urllib.request.Request(url, data=body, headers={\"Content-Type\": \"application\u002Fjson\"})\nwith urllib.request.urlopen(req, timeout=60) as r:\n    resp = json.loads(r.read().decode())\ntext = \"\".join(p.get(\"text\",\"\") for p in resp[\"candidates\"][0][\"content\"][\"parts\"])\n```\n\n## Working models (verified)\n- `gemini-flash-latest` — vision works (used successfully this session).\n- `gemini-2.5-flash`, `gemini-2.0-flash` — also valid vision models.\n- `gemini-1.5-flash` — **gone for new users (404)**; avoid.\n- List available: `GET https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels?key=KEY`\n  then filter `supportedGenerationMethods` containing `generateContent`.\n\n## Pitfalls\n- **Never echo the key** to chat\u002Fterminal — read it programmatically and only\n  print the description.\n- **Image generation** (separate from vision) via `gemini-2.5-flash-image`,\n  `gemini-3-*-image`, `nano-banana-*` often **429s** even when vision is fine.\n  For generating images, prefer NotebookLM `infographic create` (separate quota)\n  — see `notebooklm-visual-workflow`.\n- `responseModalities: [\"IMAGE\",\"TEXT\"]` is for image *generation*; for vision\n  you only need `parts` with `text` + `inline_data`.\n- No `aspectRatio` field in `generationConfig` for these models — put\n  orientation in the prompt text instead (it 400s otherwise).\n","# Gemini Vision Router (fallback when native vision fails)\n\n`vision_analyze` can fail two ways: it can't read `file:\u002F\u002F` local paths (404),\nand the backend often returns **429 Too Many Requests**. Gemini's REST vision\nAPI uses a *separate* quota and can read local images as base64 — route image\nunderstanding through it instead.\n\n## Key location\nThe Gemini API key lives in the Gemini CLI config (do NOT print it):\n`\u002Fhome\u002Fdeeone\u002F.gemini\u002Fsettings.json` → `security.auth.apiKey`.\n\n## Minimal working call\n```python\nimport json, base64, urllib.request, urllib.error\n\nwith open(\"\u002Fhome\u002Fdeeone\u002F.gemini\u002Fsettings.json\") as f:\n    KEY = json.load(f)[\"security\"][\"auth\"][\"apiKey\"]\nwith open(IMG, \"rb\") as f:\n    b64 = base64.b64encode(f.read()).decode()\n\nurl = f\"https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels\u002F{MODEL}:generateContent?key={KEY}\"\nbody = json.dumps({\n    \"contents\": [{\"parts\": [\n        {\"text\": PROMPT},\n        {\"inline_data\": {\"mime_type\": \"image\u002Fpng\", \"data\": b64}},\n    ]}]\n}).encode()\nreq = urllib.request.Request(url, data=body, headers={\"Content-Type\": \"application\u002Fjson\"})\nwith urllib.request.urlopen(req, timeout=60) as r:\n    resp = json.loads(r.read().decode())\ntext = \"\".join(p.get(\"text\",\"\") for p in resp[\"candidates\"][0][\"content\"][\"parts\"])\n```\n\n## Working models (verified)\n- `gemini-flash-latest` — vision works (used successfully this session).\n- `gemini-2.5-flash`, `gemini-2.0-flash` — also valid vision models.\n- `gemini-1.5-flash` — **gone for new users (404)**; avoid.\n- List available: `GET https:\u002F\u002Fgenerativelanguage.googleapis.com\u002Fv1beta\u002Fmodels?key=KEY`\n  then filter `supportedGenerationMethods` containing `generateContent`.\n\n## Pitfalls\n- **Never echo the key** to chat\u002Fterminal — read it programmatically and only\n  print the description.\n- **Image generation** (separate from vision) via `gemini-2.5-flash-image`,\n  `gemini-3-*-image`, `nano-banana-*` often **429s** even when vision is fine.\n  For generating images, prefer NotebookLM `infographic create` (separate quota)\n  — see `notebooklm-visual-workflow`.\n- `responseModalities: [\"IMAGE\",\"TEXT\"]` is for image *generation*; for vision\n  you only need `parts` with `text` + `inline_data`.\n- No `aspectRatio` field in `generationConfig` for these models — put\n  orientation in the prompt text instead (it 400s otherwise).\n",{"name":5,"author":24,"license":15,"version":25,"platforms":26,"description":7},"curator","1.0.0",[27,28,29],"linux","macos","windows","master","f341c46fed021656175d5c9ccc67a72126e50bfb","skills\u002Fcreative\u002Fgemini-vision-router","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public","https:\u002F\u002Fgithub.com\u002Fdbillion","I enjoy writing codes,teaching programming, solving problems, tasted automation in Python and never looked back😋😋😋💞","2026-10-14 03:31:55",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add dbillion\u002Fhermes-skills-public --skill gemini-vision-router",{"tool":43,"command":44},"bunx","bunx skills add dbillion\u002Fhermes-skills-public --skill gemini-vision-router",{"tool":46,"command":47},"pnpm","pnpm dlx skills add dbillion\u002Fhermes-skills-public --skill gemini-vision-router","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fcreative\u002Fgemini-vision-router\u002FSKILL.md",true,[],[52,59,66,75,82,89],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7B25T0V7RBKES86Y3RTXQRN","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7B25DSBBMZRHVD28MAX7N5X","gemini-vision-fallback","Vision fallback: Gemini REST API if vision_analyze blocked.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fvision\u002Fgemini-vision-fallback\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7B22XW9QXT2ZWWXVZDFWYZP","twitter-cli","Use twitter-cli for ALL Twitter\u002FX operations — reading tweets, posting, replying, quoting, liking, retweeting, following, searching, user lookups. Invoke whenever user requests any Twitter interaction.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Ftwitter-cli\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7B22QMWY1B4F7BC114RG4S6","prism-scan","Structural analysis through dynamically generated cognitive lenses. Generates the optimal analytical lens for the specific code\u002Fartifact, then executes it. Finds conservation laws, structural invariants, and concrete bugs that vanilla analysis misses. Use on any code file, system design, or text artifact.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-scan\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7B22JA5XCAP1ACT6V50WYR1","prism-reflect","Constraint transparency: analyzes an artifact structurally, then analyzes what its own analysis concealed. Produces a conservation law AND a constraint report showing what was maximized, what was sacrificed, and what to investigate next. The only AI skill that knows what it can't see.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-reflect\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7B22EB15M75M4X3C52YGDCC","prism-full","Full Prism: multi-pass structural analysis with mandatory adversarial self-correction. Designs custom analytical passes, executes them with chaining, then attacks its own findings before synthesizing. Use for maximum depth on important code or artifacts.","https:\u002F\u002Fgithub.com\u002Fdbillion\u002Fhermes-skills-public\u002Fblob\u002Fmaster\u002Fskills\u002Fts-superhermes-prism-full\u002FSKILL.md",[],[]]