fleet-maintenance
БесплатноЗапускает вложенные скриптыНе проверенMac fleet inventory and upkeep with full/worker profiles: collect installed apps and packages, compare desired versus observed state, audit local-account…
от steipete★ 7 577 звёзд на GitHubОб этом скилле
Fleet Maintenance
Maintain Peter's Macs while protecting ambiguous local work. Package updates are explicitly allowed during active sessions and may disrupt the software being upgraded. Use $remote-mac for inventory/SSH and $xcode-sync for all Xcode work.
Desired state
- Read
~/Projects/manager/fleet/inventory.jsonfor desired software and local-account escrow references. Readreferences/fleet-schema.mdbefore changing its schema or adopting packages. - Keep exactly two profiles unless Peter explicitly changes the model:
full: daily-driver Macs with the complete development, communication, media, and agentic toolset.worker: lean remote Macs that mainly run Codex, Claude, OpenClaw nodes, and supporting agent infrastructure.
- Treat profile policy as
minimum: install required entries and report extras without removing them. Never silently turn observed software into desired state. - Keep topology, SSH routing, and handed-off status in
~/Projects/manager/computers.yaml. Do not duplicate live topology in this skill. - Keep passwords, recovery keys, and private keys in 1Password. The inventory stores opaque item IDs only. Invoke
$one-passwordbefore anyopcommand; apendingreference is not an error during package maintenance. - Require the classic OpenSSH mesh named by
ssh_meshon both profiles. The manager fleet setup document owns the canonical peer list and live proof. Use the symmetric Tailscale TCP 22 grant plus per-hostauthorized_keys; macOS GUI Tailscale clients cannot act as Tailscale SSH servers. Distribute public keys only, keep private keys host-local, verify both directions withBatchMode=yesand a finite timeout, and leave offline or provider-blocked directions pending. - Require the stable 1Password CLI integrity baseline on every fleet Mac. Require the file-backed service-account profile block unless that host has a documented
requirement_exceptionssecurity boundary in inventory. Audit eligible hosts withscripts/op-profile-audit.sh; audit token-exempt hosts withscripts/op-profile-audit.sh --cli-only. Repair only after$one-passwordis loaded and the mode-0600 token file is provisioned; never print or store the token in inventory. - Require the agent skill mirror on every fleet Mac. Audit it with
scripts/agent-skill-links-audit.sh; its--repairinvokes broad canonical sync only when both canonical repos exist. Sync preserves real directories and files, accepting same-directory local ownership and reporting other real destination conflicts. Forreason=nested-self-link, invoke the reviewed sync owner directly by absolute path with--repair-nested-self-links --dry-run -- NAME..., then omit--dry-runto remove only validated nested leaves; preserve the real Claude skill directories and Codex backlinks. This narrow loop check is not an exhaustive graph validator. Seereferences/fleet-schema.mdfor scope and~/Projects/manager/docs/fleet-setup.mdfor fleet setup. - Require the shared global Git ignore on every fleet Mac. Audit it with
scripts/global-gitignore-audit.sh;--repaircreates~/.config/git/ignore, preserves unrelated entries, adds the inventory's macOS metadata patterns, and pointscore.excludesFileat it. An already-configured alternate excludes file requires manual review so existing rules are never discarded. - Require Claude Code and Claude Desktop coding sessions to omit AI attribution. Audit
~/.claude/settings.jsonwithscripts/claude-attribution-audit.sh;--repairpreserves unrelated settings while disabling commit trailers, pull-request footers, and remote-session links. - Require the official Codex and Claude Code CLIs on both profiles. Package ownership comes from the profile's
codexandclaude-codeHomebrew casks; the separateclaudecask is Claude Desktop and does not satisfy the CLI requirement. Audit versions and non-interactive authentication withscripts/agent-cli-audit.sh; use--livefor bounded, tool-free, non-persistent model turns. Never copy normal Claude OAuth credentials between Macs: refresh each host independently through$anthropicand leave locked-Keychain, account-selection, or offline cases pending. - Require Octopool as the GitHub cache on both profiles with
requirements.github_cache: "octopool". Package presence alone is insufficient:scripts/octopool-audit.shmust prove that non-interactive and login zsh resolveghthrough the Octopool shim, the client login has complete identity metadata, and every configured pool identity is healthy. Use--repairto log in through the existing authenticated stable-path GitHub CLI, install the zsh shim, and repair macOS login PATH ordering when needed; it never installs packages or prints credentials.
Use the deterministic profile tool:
node skills/fleet-maintenance/scripts/fleet-profile.mjs collect
node skills/fleet-maintenance/scripts/fleet-profile.mjs \
plan --fleet ~/Projects/manager/fleet/inventory.json \
Установить fleet-maintenance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fleet-maintenance?
Mac fleet inventory and upkeep with full/worker profiles: collect installed apps and packages, compare desired versus observed state, audit local-account escrow references, update Homebrew/global packages, safely sync repos and Xcode, and report disk, service, backup, update, and security health.
Как установить скилл fleet-maintenance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fleet-maintenance запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic