/kinhin:kinhin-installfrom kinhin
Installs kinhin and its Tart prerequisite on Apple Silicon Macs for autoscaling ephemeral CI runners. Covers local, rented, and remote Mac setups.
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 turns an Apple Silicon Mac into an autoscaling pool of ephemeral self-hosted CI runners: one fresh VM or container per job, deleted afterwards. This skill covers install and first run.
Beta status (tell the user): GitHub, Gitea, Forgejo and GitLab CE are supported. Gitea, Forgejo and GitLab CE have run real jobs on every runtime; GitHub on Tart macOS VMs and apple/container. Buildkite, Azure DevOps and Bitbucket are planned. Findings are welcome as GitHub issues ("Forge report").
kinhin-configure skill).Check the machine first: uname -m must print arm64, and sw_vers -productVersion must be 15 or newer.
kinhin setup repair tart
(The kinhin CLI comes from step 2, so install kinhin first if the command is missing.) If kinhin doctor later
reports tart: INSTALLED BUT KILLED ON LAUNCH, the bottle is un-notarized; kinhin doctor prints the exact rollback
commands, and the manual brew equivalents are in docs/install.md#installing-tart.
curl -fsSL https://github.com/RabinApps/kinhin/releases/latest/download/install.sh | bash
... | bash -s -- v0.1.0 (use a real release tag).scripts/install.sh and the DMG, then bash install.sh /path/to/kinhin-<version>-arm64.dmg.checksums.txt and the code signature, copies kinhin.app to
/Applications, and symlinks the kinhin CLI into the first writable of /opt/homebrew/bin, /usr/local/bin,
~/.local/bin. Overrides: REPO, INSTALL_DIR, BIN_DIR.xattr -cr /Applications/kinhin.app. Official releases are notarized.Only needed for Linux jobs. Use apple/container first; choose Docker only if the user already runs a Docker provider.
kinhin setup repair container # apple/container (recommended): CLI + service, with the default Linux kernel
kinhin setup repair docker # Docker: Docker Desktop by default; --method orbstack or --method colima
The manual equivalent of the apple/container repair is brew install container followed by
container system start --enable-kernel-install. The --enable-kernel-install flag is required; without it container run
fails. Details: docs/install.md#installing-a-linux-runtime.
Run these in order, stopping to fix any failure before the next step:
kinhin config init writes a commented starter config to
~/Library/Application Support/Kinhin/config.yaml.accounts: and labels (use the kinhin-configure skill), then kinhin config validate.kinhin auth set stores the token in the Keychain. Never put tokens in the config or on the command line if you
can avoid it. --token-stdin reads it from stdin; --token X still works but prints a warning.kinhin doctor checks Tart, disk, the token and the capacity cap.kinhin image prepare builds the base image. It runs once, is slow and uses roughly 40 to 60 GB.kinhin start runs in the foreground. kinhin daemon install installs a LaunchAgent that survives reboots.runs-on: [self-hosted, macos, arm64] and watch with kinhin watch or kinhin status.On the Mac that already works: kinhin config export kinhin-config.yaml. On the new Mac, after installing:
kinhin config import kinhin-config.yaml, then store each token it lists with kinhin auth set --account NAME, then
kinhin setup status for the images to prepare. Tokens and images are never copied. Over SSH in one step:
kinhin config export | ssh other-mac kinhin config import - --yes (ask before --yes replaces an existing config).
From your own machine:
ssh admin@host 'bash -s' < scripts/bootstrap-rented-mac.sh
The script is idempotent: it checks arm64 and macOS 15+, installs Tart and kinhin if missing, runs
kinhin config init if there is no config, and prints next steps. It never touches a token.
Then, on the Mac:
security unlock-keychain ~/Library/Keychains/login.keychain-db in the SSH session, or the Keychain stays locked.kinhin daemon install from a VNC or Screen Sharing session.kinhin image prepare.kinhin cleanup --all --yes, kinhin daemon uninstall, then
bash install.sh --uninstall. The config and Keychain token are kept. Delete the config directory and the Keychain
entries by hand if the user wants them gone.kinhin help and kinhin <command> --help over this page.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./kinhin-mobile-fastlaneSet up fastlane store releases (TestFlight, App Store, Google Play) for iOS, Android, Flutter, React Native, Expo, Capacitor, Kotlin Multiplatform or .NET MAUI projects, and run them from a kinhin runner - `kinhin mobile init` scaffolding, lanes, App Store Connect API keys, match, Play service accounts, the mobile-release workflow, and Expo EAS. Use when the user wants to ship a mobile app, automate TestFlight or Play uploads, or fix a failing fastlane lane./kinhin-operateRun and monitor a kinhin fleet - start, stop, pause, status, logs, pipeline view, daemon, cleanup, the healing journal, scaling and capacity. Use when the user asks about fleet status, what kinhin fixed on its own, scaling runners, running kinhin as a daemon, or freeing disk./kinhin-route-workflowChoose the right kinhin runtime for a workflow (macOS tart vs appleContainer vs Docker vs tart Linux vs host) and route it with one command, `kinhin workflow route`. Use when the user wants a workflow or CI job to run on a different runtime — appcontainer, a Linux container, Docker, a Linux VM, host, or "somewhere cheaper".Other plugins' skills for the same job