用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/hristo2612/jinn --skill self-heal命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | self-heal |
| description | Diagnose and fix problems in {{portalName}}'s configuration and runtime |
This skill activates when {{portalName}} is experiencing issues, errors, or unexpected behavior. It also activates when the user asks to diagnose problems, check system health, or fix something that is not working.
Work through these checks in order. Stop and fix issues as you find them.
Read ~/.jinn/logs/gateway.log and look for:
Summarize any problems found to the user.
Read ~/.jinn/config.yaml and verify:
gateway.port field is a valid number (default 7777)gateway (with port) and engines (with a default and a config block for that engine)engines.default is one of: claude, codex, antigravityengines.<name>.model (e.g. engines.claude.model)Check that the configured AI engine is installed and accessible:
claude --version and confirm it returns a version numbercodex --version and confirm it returns a version numberengines.antigravity.bin is on the PATHIf the engine command is not found, inform the user that the engine is not installed or not on their PATH.
Look at the session registry for stuck sessions:
~/.jinn/sessions/registry.db (SQLite)running that have not been updated recently (more than 30 minutes old)~/.jinn/tmp/ contains stale files that should be cleaned upIf the gateway appears to be in a bad state (crash loops, unresponsive, port conflicts):
Tell the user to run:
jinn stop && jinn start
If temp files are stale or causing issues:
Delete all contents of ~/.jinn/tmp/ but keep the directory itself.
If any JSON file (board.json, jobs.json, etc.) is malformed:
<filename>.bak and create a fresh default (empty array [] for boards and job files).If any YAML file (config.yaml, employee personas) is malformed:
If sessions are stuck in running status:
failed or cancelled in the session registry.If the gateway cannot bind to its configured port:
lsof -i :<port>config.yaml.For understanding {{portalName}}'s architecture and component relationships, refer to the documentation in ~/.jinn/docs/ if available.