[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECJ14311TK28X8XTMXBCPX":3,"skill-same:01M7ECJ14311TK28X8XTMXBCPX":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECJ14311TK28X8XTMXBCPX","hermes-ops-selfrepair",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002F.archive\u002Fhermes-ops-selfrepair\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# hermes-ops-selfrepair\n\n# Hermes Ops — Self-Repair\n\nWhen Hermes itself is broken (not the user's projects), fix it at the root. Two recurring failures below; add more as they emerge.\n\n## 1. Vision returns \"no image was attached\" \u002F blank\n\n**Symptom:** `vision_analyze` on a valid JPEG\u002FPNG returns \"no image was attached\" or a canned \"please upload an image\" text. The image file IS valid (check `file` \u002F `ls -la` first — non-empty, proper dimensions).\n\n**Root cause:** `auxiliary.vision` is pinned to a provider whose API key is dead\u002Fforbidden. The framework silently drops to a text-only fallback that claims no image. The dead key does NOT throw loud — it degrades to \"no image attached\", which looks like a vision bug but is an auth bug.\n\n**Verify the provider is dead (not a fluke):**\n```bash\ncd ~\u002F.hermes && grep -nE 'vision:' -A2 config.yaml\n# find the key for that provider in .env, then:\ncurl -s -o \u002Fdev\u002Fnull -w '%{http_code}\\n' -H \"Authorization: Bearer $KEY\" https:\u002F\u002Fopenrouter.ai\u002Fapi\u002Fv1\u002Fkeys\n# 401 = dead key = root cause\n```\n\n**Fix — repoint vision to a working provider (config is guard-railed, use the CLI):**\n```bash\nhermes config set auxiliary.vision.provider gemini        # uses GOOGLE_API_KEY in .env\nhermes config set auxiliary.vision.model gemini-3.6-flash\nhermes config show | grep -A1 -i vision   # confirm\n```\n- `opencode` \u002F `opencode-zen` may also work but `opencode-zen` can hit a `401 CreditsError` (no payment method) even for free models — prefer `gemini` (GOOGLE_API_KEY, free tier) when available.\n- Don't patch `config.yaml` directly — agent edits to it are refused; use `hermes config set`.\n\n**Confirm fix with a real image** before declaring done — re-run `vision_analyze` on a known screenshot.\n\n## 2. Desktop app won't launch — chrome-sandbox sudo error\n\n**Symptom (on the user's laptop, e.g. Fedora 'Admin' as user `jonathan`):**\n```\nsudo: a terminal is required to read the password\n✗ Failed to configure Electron's Linux sandbox helper: ...\u002Flinux-unpacked\u002Fchrome-sandbox\n```\n`hermes desktop` tries `sudo` internally to set the setuid bit, but the env can't prompt for a password.\n\n**Fix — set the sandbox binary to root-owned setuid 4755 as root:**\n```bash\nsudo chown root:root \u002Fhome\u002Fhermes\u002F.hermes\u002Fhermes-agent\u002Fapps\u002Fdesktop\u002Frelease\u002Flinux-unpacked\u002Fchrome-sandbox\nsudo chmod 4755 \u002Fhome\u002Fhermes\u002F.hermes\u002Fhermes-agent\u002Fapps\u002Fdesktop\u002Frelease\u002Flinux-unpacked\u002Fchrome-sandbox\nls -la ...\u002Fchrome-sandbox   # expect -rwsr-xr-x root root\n```\nThen `hermes desktop` again. The `-rwsr-xr-x` (the `s`) is the setuid bit — that's what Electron needs.\n\n**Pitfalls:**\n- The error text \"No such file or directory\" on manual chown means the binary isn't extracted yet — run `hermes desktop` once (it unpacks), THEN chown. Don't chown a path that doesn't exist.\n- `sudo hermes desktop` fails \"command not found\" — `hermes` is in user PATH, not root's. Fix the binary perms directly instead.\n- `hermes desktop -s` → \"unrecognized arguments\": `-s` isn't a flag. Ignore it.\n- The desktop install is PER-MACHINE: fixing it on CT103 does NOT fix the user's laptop (Admin). Ask which instance, or fix both.\n\n## General rules for self-repair\n- Always verify the fix end-to-end (real image read, real login 200, real launch) — never trust a config write alone.\n- Root-cause, not symptom: a \"vision broken\" report is usually a dead provider key; a \"desktop won't launch\" is a missing setuid bit. Fix the cause.\n- Config edits go through `hermes config set`, not direct file writes.\n- See `references\u002Fprovider-credits.md` for which providers are known-working vs paywalled.\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002F.archive\u002Fhermes-ops-selfrepair","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill hermes-ops-selfrepair",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill hermes-ops-selfrepair",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill hermes-ops-selfrepair","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002F.archive\u002Fhermes-ops-selfrepair\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",367,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002F.archive\u002Fhermes-ops-selfrepair\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]