cos: Skill for Claude Code

.claude/skills/hub-handover/SKILL.md

hub-handover is a skill for Claude Code from philipyaz/cos. It costs 179 tokens per session (3,533 once invoked), scanned A, original, MIT.

A procedure for moving the main Cos machine, called the hub, from one computer to another. The hub runs the board, stored data, backups, and scheduled routines.

In plain words
What is it for?
Making a new computer the main machine, safely demoting the old computer, and checking backups, recovery keys, network access, and schema compatibility.
Why use it?
It prevents changes made after the final backup from being lost and avoids restoring data while the live board can overwrite it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

This is philipyaz/cos's own configuration. It tells Claude Code how to work on cos itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cos configures →

Reuse

Borrowing it

Nothing to install: this file belongs to philipyaz/cos. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/philipyaz/cos/main/.claude/skills/hub-handover/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/philipyaz/cos

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hub-handover

README.md
[![agentmods](https://agentmods.dev/badge/skills/philipyaz/cos/hub-handover/github.svg)](https://agentmods.dev/skills/philipyaz/cos/hub-handover)
Your own site
<a href="https://agentmods.dev/skills/philipyaz/cos/hub-handover"><img src="https://agentmods.dev/badge/skills/philipyaz/cos/hub-handover/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hub-handover

Your own site · 80×15
<a href="https://agentmods.dev/skills/philipyaz/cos/hub-handover"><img src="https://agentmods.dev/badge/skills/philipyaz/cos/hub-handover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00179 $0.03533
Opus 5 $0.00089 $0.01767
Sonnet 5 $0.00036 $0.00707
Haiku 4.5 $0.00018 $0.00353

Measured 9d ago against content hash 0dbd5c2174c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hub-handover scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/hub-handover/SKILL.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hub handover — move the hub role between machines, safely

The hub is the one machine that runs the state machine (board, store, backups, routines). Handover promotes a new machine to hub and demotes the old one (to a browser viewer, a spoke, or full retirement). The whole risk is a write that lands after the final backup (stranded forever) or a restore under a live board (silently reverted). This ceremony closes both, in order — do NOT freelance the sequence.

Reusable for any hub swap; the worked example is MacBook → Mac mini (the mini becomes the main machine; the MacBook becomes a spoke). Prereqs: both machines on the same Tailscale tailnet, the same recovery key provisioned on both (backup-recovery §1.1 / §2), and the new machine at a code checkout whose SCHEMA_VERSION is the store's schema (the migration's safe direction).

In plain terms — explain this to the user BEFORE you start

Everything below this section is written for the machine (you, the agent). This section is for the person — most people asking for this just want "make my new computer the main one without losing anything." Before you touch a single command, walk the user through what's about to happen, in their words. Don't show them the ceremony; tell them this:

  • What this does. Right now one computer is the "main" machine — it holds your real board, notes, and to-dos, and makes the nightly backups. This moves that "main" job to a different computer. The old one keeps working afterwards, just as a remote screen onto the new main — you install nothing on it to keep using it, you just open the new main's web address in a browser (a spoke is only if you also want the AI to act on the board from the old machine).
  • Why it's fussy (not just "copy the files"). In the wrong order, a to-do you add mid-switch could vanish, or an old copy could quietly overwrite newer data. The steps are ordered so nothing you've typed can be lost — that's the entire reason it looks elaborate.
  • What you need ready (I'll check these for you): both computers on the same Tailscale network; the same backup recovery password set up on both (the key that unlocks your encrypted backups); and the new computer running an up-to-date copy of the app.
  • How long — two phases. First a "try it out" period of a day or more: the new computer runs alongside the old one so you can confirm everything looks right. Then a ~30-minute switchover where I briefly stop the old machine, take one final backup, and hand the "main" role to the new computer.
  • The one rule for you. Until I say the switchover is finished, keep doing your real work on the OLD computer. Anything you type on the new one during the try-it-out period is just a rehearsal — it gets wiped when we do the real handover, so don't rely on it yet.
  • Can we undo it? Yes. If the new machine turns out wrong after the switchover, there's a clean rollback — no step here is a point of no return as long as we follow the order.

Read the full file on GitHub · 187 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 187 lines · 179 tokens per session scan A 0dbd5c2174c7

Subscribe to this mod's changes

hub-handover is a skill published in the GitHub repository philipyaz/cos (4 stars, last pushed today), licensed MIT. It adds 179 tokens to every session and 3,533 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

wiki-lint

Health-check a wiki vault. Finds orphan pages (no inbound links), dead wikilinks (point to non-existent pages), missing frontmatter fields, stale claims, empty sections, and pages absent from catalog.md. Produces a structured report with severity tiers and proposes concrete fixes — but does not auto-apply them unless…

tboome33/obsidian-mcp-router · 119 tokens

opencode-plugin-idioms

Event hook payload shapes, session lifecycle timing, toast/TUI-route render boundaries, and child-session tagging conventions for OpenCode server (@opencode-ai/plugin) and TUI (@opencode-ai/plugin/tui) plugins, grounded in the vendored OpenCode source at references/opencode.

kagan-sh/kagan · 64 tokens

meta-sync-template

Interactive flow to propagate the reference (.template) vault's plugins, snippets, and root docs to one or more configured vaults. Reads the active router config, lists every vault with online status, flags vaults missing obsidian-local-rest-api upfront, lets the user pick all or a subset, and optionally re-clones…

tboome33/obsidian-mcp-router · 159 tokens

save

File the current Claude conversation (or a specific insight from it) as a structured wiki note. Auto-detects the right type (decision, answer, session-log, technique, ADR), writes appropriate frontmatter, places the file in the correct wiki folder, and updates catalog.md, journal.md, hot.md. Use when the user says…

tboome33/obsidian-mcp-router · 112 tokens

wiki-export

Export a vault's wiki either as a single portable file (llms.txt or llms-full.txt per the llmstxt.org standard) or as an OKF knowledge bundle (Google's Open Knowledge Format v0.1 — a shareable directory of markdown files any AI agent can consume). Use when the user says "export my wiki", "make an llms.txt", "share my…

tboome33/obsidian-mcp-router · 129 tokens

self-align

Adversarial self-audit of the Kagan repo through four lenses — code quality & YAGNI, security, spec alignment, docs/AGENTS.md freshness — each finding self-assessed and reported by severity and confidence for the developer to action. Use only when explicitly asked to self-align, audit, or health-check the codebase; it…

kagan-sh/kagan · 84 tokens