[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79JX5YANYQRFFNPHZED3GQP":3,"skill-same:01M79JX5YANYQRFFNPHZED3GQP":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M79JX5YANYQRFFNPHZED3GQP","diagnose-gateway",null,"Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.","leon36000\u002FOPSYS-AI","leon36000","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216249790?v=4","01M79JWJK00J10J79XZA3G4KH0","01M79JWJKTT8J3C7PZ0TX7X4PQ",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fcore\u002Fcustodian-skills\u002Fdiagnose-gateway\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: diagnose-gateway\ndescription: Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.\n---\n\n# Diagnose the Gateway\n\nThis playbook is read-only: no config writes, no service restarts, no `doctor --fix`, no killing listeners. Never print secret values; report only redacted SecretRef owner state. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.\n\n## Gather\n\n```\nopenclaw doctor --lint\nopenclaw gateway status --deep\nopenclaw config validate\nopenclaw channels status\nopenclaw models status\nopenclaw channels logs --channel \u003Cid>\n```\n\n`doctor --lint` is read-only and can exit `1` for findings: read the report and continue the remaining checks. Do not substitute ordinary `doctor` or `doctor --non-interactive`; they can copy legacy config and migrate state without `--fix`.\n\nOn managed installs, bounded recent logs: `.\u002Fscripts\u002Fclawlog.sh` (repo checkout) or the log path printed at gateway startup (`\u002Ftmp\u002Fopenclaw\u002Fopenclaw-\u003Cdate>.log` by default).\n\nCheck these signatures without guessing:\n\n- invalid config or schema errors (`config validate` names the exact key and line);\n- degraded SecretRef owners — report the owner, never ids or values;\n- expired or rejected channel authentication (`channels status` per account);\n- `EADDRINUSE`, a second gateway listener, or service\u002Fconfig port mismatch (`lsof -nP -iTCP:\u003Cport> -sTCP:LISTEN`);\n- gateway crash loops: read the last startup stack in the gateway log; a schema-valid config that still crashes startup is a bug — capture the stack and report it.\n\nCorrelate timestamps and identify the first owner-boundary failure.\n\n## Mutate\n\nNothing. Do not change config, migrate state, or alter services. Diagnostic commands may still produce incidental logs or cache bookkeeping.\n\n## Repair\n\nTranslate each finding into the next action, naming the responsible skill when one exists: `configure-channel`, `add-model-provider`, or `cloud-image-bake`. Recommend `openclaw doctor --fix --non-interactive` only as a separately approved step.\n\n## Prove\n\nRepeat the smallest read-only probe that exposes the condition and record its output, for example:\n\n```\nopenclaw gateway status --deep\nopenclaw channels status --probe\n```\n\nIf access, logs, or the gateway are unavailable, report that exact blocker rather than declaring a cause.\n\n## Report\n\nFindings in causal order with evidence for each; current gateway\u002Fconfig\u002FSecretRef\u002Fchannel\u002Fport state; one recommended next skill or operator action. State explicitly that no config\u002Fservice repairs or state migrations were performed.\n\nFurther reference: https:\u002F\u002Fdocs.openclaw.ai\u002Fgateway\u002Ftroubleshooting\n","# Diagnose the Gateway\n\nThis playbook is read-only: no config writes, no service restarts, no `doctor --fix`, no killing listeners. Never print secret values; report only redacted SecretRef owner state. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.\n\n## Gather\n\n```\nopenclaw doctor --lint\nopenclaw gateway status --deep\nopenclaw config validate\nopenclaw channels status\nopenclaw models status\nopenclaw channels logs --channel \u003Cid>\n```\n\n`doctor --lint` is read-only and can exit `1` for findings: read the report and continue the remaining checks. Do not substitute ordinary `doctor` or `doctor --non-interactive`; they can copy legacy config and migrate state without `--fix`.\n\nOn managed installs, bounded recent logs: `.\u002Fscripts\u002Fclawlog.sh` (repo checkout) or the log path printed at gateway startup (`\u002Ftmp\u002Fopenclaw\u002Fopenclaw-\u003Cdate>.log` by default).\n\nCheck these signatures without guessing:\n\n- invalid config or schema errors (`config validate` names the exact key and line);\n- degraded SecretRef owners — report the owner, never ids or values;\n- expired or rejected channel authentication (`channels status` per account);\n- `EADDRINUSE`, a second gateway listener, or service\u002Fconfig port mismatch (`lsof -nP -iTCP:\u003Cport> -sTCP:LISTEN`);\n- gateway crash loops: read the last startup stack in the gateway log; a schema-valid config that still crashes startup is a bug — capture the stack and report it.\n\nCorrelate timestamps and identify the first owner-boundary failure.\n\n## Mutate\n\nNothing. Do not change config, migrate state, or alter services. Diagnostic commands may still produce incidental logs or cache bookkeeping.\n\n## Repair\n\nTranslate each finding into the next action, naming the responsible skill when one exists: `configure-channel`, `add-model-provider`, or `cloud-image-bake`. Recommend `openclaw doctor --fix --non-interactive` only as a separately approved step.\n\n## Prove\n\nRepeat the smallest read-only probe that exposes the condition and record its output, for example:\n\n```\nopenclaw gateway status --deep\nopenclaw channels status --probe\n```\n\nIf access, logs, or the gateway are unavailable, report that exact blocker rather than declaring a cause.\n\n## Report\n\nFindings in causal order with evidence for each; current gateway\u002Fconfig\u002FSecretRef\u002Fchannel\u002Fport state; one recommended next skill or operator action. State explicitly that no config\u002Fservice repairs or state migrations were performed.\n\nFurther reference: https:\u002F\u002Fdocs.openclaw.ai\u002Fgateway\u002Ftroubleshooting\n",{"name":5,"description":7},"main","54d89d355555ba29c51a05828bb2ee9b8abbfc1d","core\u002Fcustodian-skills\u002Fdiagnose-gateway","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI","https:\u002F\u002Fgithub.com\u002Fleon36000","2026-11-08 05:46:02",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add leon36000\u002FOPSYS-AI --skill diagnose-gateway",{"tool":35,"command":36},"bunx","bunx skills add leon36000\u002FOPSYS-AI --skill diagnose-gateway",{"tool":38,"command":39},"pnpm","pnpm dlx skills add leon36000\u002FOPSYS-AI --skill diagnose-gateway","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fcore\u002Fcustodian-skills\u002Fdiagnose-gateway\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M79K66JYY28KMDVMJ4M1RBT7","procedure-demo","Procédure de test.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdepartements\u002Fm09-demo\u002Fskills\u002Fprocedure-demo\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M79K62M77K68EJYYT1HGZZYR","traiter-un-signal-critique","Procédure pour lister les signaux critiques d'une affaire et proposer leur prise en compte ou leur clôture, qui restent des décisions humaines, et pour proposer de lier une session à une affaire.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fdepartments\u002Fm10-memoire\u002Fskills\u002Ftraiter-un-signal-critique\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M79K5XV1PC7Q699VC05WPVEX","preflight-contexte-suffisant","Procédure PREFLIGHT pour vérifier qu'un dossier de contexte (événement, résumé, preuves, impact, prochaine action, références de décisions) est suffisant avant une action importante, et pour consommer un Work Completion Trigger de M4.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fdepartments\u002Fm10-memoire\u002Fskills\u002Fpreflight-contexte-suffisant\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M79K5TB07Q63XCV00FSX4AR0","journaliser-une-decision","Procédure pour journaliser une décision motivée au registre Affaires et obtenir sa référence vérifiable, ou pour signaler puis arbitrer une révision entre deux souvenirs, sans jamais fusionner ni muter un maillon existant.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fdepartments\u002Fm10-memoire\u002Fskills\u002Fjournaliser-une-decision\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M79K5PB7JFBETB3A08ACKXXS","etat-consolide-et-contradictions","Procédure pour ingérer un snapshot d'un module, reconstruire l'état consolidé de l'entreprise et présenter ses contradictions internes sans jamais les résoudre ni en inventer la cause.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fdepartments\u002Fm09-strategic-intelligence\u002Fskills\u002Fetat-consolide-et-contradictions\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M79K5K368MQEQA5TZ2FRQGMD","briefing-du-matin","Procédure pour produire le briefing du matin (décisions en attente, alertes M8, faits de la veille, manques) pour une date de référence donnée, lire ce qu'il n'a pas pu afficher, et lire les alertes de mesure de M8 avec leurs preuves, sans jamais rien y inventer, y décider ni y ajouter de diagnostic.","https:\u002F\u002Fgithub.com\u002Fleon36000\u002FOPSYS-AI\u002Fblob\u002Fmain\u002Fdepartments\u002Fm09-strategic-intelligence\u002Fskills\u002Fbriefing-du-matin\u002FSKILL.md",[],[]]