/kinhin:kinhin-troubleshootfrom kinhin
Diagnoses kinhin fleet issues: stuck jobs, unregistered runners, rejected tokens, Tart crashes, Keychain prompts, disk filling, and config errors. Guides through healing, doctor, logs, and status commands.
Ships in kinhin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
kinhin heal (add --json to parse it): what the healing agent already fixed, fixes waiting for approval, and
problems only the user can fix. Never approve a fix for the user: show the entry and let them run
kinhin heal approve ID themselves.kinhin doctor (add --json to parse it). It checks Tart, disk, tokens, isolation posture and the capacity cap —
and reports each runtime's image disk usage (imageTotalGB), with imagePrune naming what
kinhin image prune would reclaim when unused images are wasting disk. Doctor is offline by default and only
says whether a token is stored; add --check-tokens to probe every account's token against its forge (a revoked
GitLab/Gitea token otherwise looks fine). A failed check makes doctor not ready and names the kinhin auth set fix.kinhin setup status and kinhin auth status.kinhin logs -n 200, and ~/Library/Application Support/Kinhin/logs/kinhin.log.kinhin status and kinhin pipeline to see what the fleet thinks is happening.kinhin doctor --bundle [FILE] writes a redacted support bundle. Tell the user to review it before
attaching it to a GitHub issue.| Symptom | Likely cause and fix |
|---|---|
tart: NOT FOUND | Install Tart (see the kinhin-install skill). |
tart: INSTALLED BUT KILLED ON LAUNCH | Un-notarized bottle. kinhin doctor prints the exact rollback commands (manual equivalents: docs/install.md#installing-tart); then re-run kinhin doctor. |
| Jobs queue but no VMs start | The job's runs-on (or tags) must include every configured label. The scaler counts only runnable jobs. Check labels and the forge's targeting rules. |
Jobs land on the wrong runtime, or queue forever after a runs-on: edit | Precedence is workflow route → repo route → runs-on: marker → default: a repo route outranks the marker, and a GitHub-hosted label (ubuntu-latest) matches no kinhin runner. kinhin workflow route <file> <runtime> --dry-run shows the fix and reconciles a conflicting route — see the kinhin-route-workflow skill. |
| VM boots but the runner never registers | The image predates the runner agent or its forge account. Re-run kinhin image prepare, then check kinhin logs -n 200. |
status says a fix needs approval (healing alert) | The healing agent queued a destructive fix (pruning images, installing a runtime). Show the entry from kinhin heal; the user runs kinhin heal approve ID or kinhin heal dismiss ID. |
| Token rejected | Re-run kinhin auth set [--account NAME]. Check the token's scopes and repo access (kinhin auth status). |
| One account detached | A bad token detaches only that account, with the reason in status. Others keep serving. Fix the token. |
| GitHub scale set: second job queued, VM has idle runners | Set runners_per_vm: 1 and size the Tart pool for two VMs (kinhin runtimes shows cap 2); restart the daemon when no jobs run. See docs/forges/github.md. |
| Config rejected, exit 3 | kinhin config validate. Usual causes: old top-level repo:/gitea:/forgejo: keys, default: host, http:// on a self-hosted forge. |
Fleet refuses to start with tart_softnet: true | Install softnet and make the resolved binary setuid root (chown root, chmod u+s). Repeat after each brew upgrade softnet. |
| First launch blocked (old or local build) | Right-click Open, or xattr -cr /Applications/kinhin.app. Official releases are notarized. |
| Remote Mac keeps prompting for the Keychain | security unlock-keychain ~/Library/Keychains/login.keychain-db, enable auto-login, keep FileVault off. |
Tart: VZErrorDomain Code=-9 / Failed to create new HostKey (tart ip: no IP address found) | Often the login keychain's password differs from the account password. Check with security unlock-keychain ~/Library/Keychains/login.keychain-db; if it says the passphrase is not correct, reset the default keychain in Keychain Access (this deletes saved passwords, so re-enter them; check the kinhin token with kinhin doctor --check-tokens). Details: troubleshooting guide and Tart FAQ, Keychain password mismatch. |
| Linux jobs queue after a reboot (apple/container or Docker) | Neither container runtime starts at login by itself. See Start at login. |
| Disk filling | Stop the fleet, then kinhin cleanup --all (review the report), then --yes. For image bloat specifically: the doctor's prune: row shows the waste, then kinhin image prune (report-only) and --yes. |
| Older images allow SSH passwords | Re-run kinhin image prepare. A fresh prepare turns that off. |
| I want to run Windows containers or a Windows VM on my Mac | Windows containers are not possible on macOS. microsoft/windows images need a Windows host kernel (Docker Desktop on Mac has none and no Windows-container mode), and "Windows in a container" projects like dockur/windows are full QEMU/KVM VMs that need /dev/kvm from a Linux host — Docker Desktop on Mac and Apple's container CLI do not provide that, and Macs have no Linux KVM to pass down. If you need Windows CI on a Mac fleet, the realistic local path is a Windows VM on Apple Silicon (substrate-probed, not implemented; gated on a bootable Windows ARM guest source and the per-forge Windows runner story). If you do not need to run Windows locally, route Windows jobs to GitHub-hosted Windows runners (windows-11-arm for public repos, or standard Windows hosted runners) with the right runs-on label instead.\n |
cleanup --yes, stop or reinstall steps without telling the user what they
remove.kinhin auth set.kinhin doctor --bundle.kinhin help for the current commands and read the troubleshooting guide.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rabinapps/kinhin --plugin kinhin9 skills in this plugin
/kinhin-add-forge-accountConnect an existing kinhin install to a CI forge account - GitHub, Gitea, Forgejo or GitLab CE. Use when the user wants kinhin to serve jobs from another repo, org, project or forge./kinhin-configureEdit or write a kinhin config.yaml safely - accounts per forge, labels, capacity, runtimes and routes, token scopes. Use when the user wants to connect a forge, change labels, runners or VM sizing, or fix a config that fails validation./kinhin-images-toolchainsBuild and manage kinhin VM and container images and per-project toolchains - image prepare, base_image pinning, Xcode images, .kinhin.yml, toolchains detect, Linux runtimes. Use when the user needs Xcode, specific tool versions, a Linux runner, or image maintenance.Other plugins' skills for the same job