Tutorials

Add a second machine

Bring your Base Layer and your Project to another machine, give the first machine a layer of its own, and watch a fix travel.

So far, everything has been on one machine. tackOS earns its keep on the second one: a rule you fix in one place reaches every machine, and what’s true of only one machine stays there. In this tutorial you’ll set up a second machine, give your first machine a Machine Layer, and send a fix from one to the other. It takes about thirty minutes.

This tutorial calls the first machine laptop and the new one desktop. Each machine’s name is what scutil --get LocalHostName (macOS) or hostname -s prints. Keep the names different.

You’ll need:

  • The laptop from the earlier tutorials, with your Base Layer and the kettle Project.
  • A second machine, with the kettle repo cloned on it if you want to work there.
  • Your token. GitHub shows a token only once, so if you didn’t keep it, make a new one that reaches the same repos, as in Set up your first machine.

1. Bootstrap the desktop

On the desktop, run:

Terminal
curl -fsSL https://tackOS.dev/bootstrap.sh | bash

Answer as you did on the laptop, with your existing repos:

Bootstrap asks You answer
Layer repo URLs after tackOS https://github.com/<you>/tackOS-layer-base, then an empty line
Is …/tackOS read-only? y
Is …/tackOS-layer-base read-only? Enter, for no
Project repo URLs https://github.com/<you>/tackOS-project-kettle, then an empty line

Bootstrap starts your agent on /tackOS-sync. Say yes to the plan. Sync ends with Check: ok.

2. See what came with it

On the desktop, run:

Agent
/tackOS-recap

The recap shows the kettle card, with where you left it on the laptop. The Activity Log is a git repo, so the desktop pulled the laptop’s Day Entries. Ask the agent about pushing, and it says it will ask first: the rule the Retro learned on the laptop is in your Base Layer, so the desktop has it too.

You set up nothing by hand on this machine except bootstrap’s answers.

3. Give the laptop a layer of its own

In the last tutorial, the Retro found a permission that you allowed on the laptop, Bash(npm test:*), and had nowhere to put it. That permission is true of the laptop only, so it belongs in the laptop’s Machine Layer.

On the laptop:

  1. On GitHub, create a private repo called tackOS-layer-laptop, using the laptop’s name. Add it to your token.

  2. Add a README.md whose first paragraph is its scope line:

    tackOS-layer-laptop/README.mdMarkdown
    # tackOS-layer-laptop
    
    What is true of the laptop only.
  3. Add the permission as a config fragment:

    tackOS-layer-laptop/config/claude-settings.jsonJSON
    {
      "permissions": { "allow": ["Bash(npm test:*)"] }
    }
  4. Push both files, then add the layer last in the laptop’s Loadout, so that its settings win:

    ~/.tackOS/loadouts/default/loadout.mdYAML
    ---
    layers:
      - url: https://github.com/tackOS-dev/tackOS
        read-only: true
      - url: https://github.com/<you>/tackOS-layer-base
      - url: https://github.com/<you>/tackOS-layer-laptop
    projects:
      - url: https://github.com/<you>/tackOS-project-kettle
    agents: [claude]
    ---
  5. Run /tackOS-sync.

Sync finds that Claude Code already holds the permission, so it records it as found and changes nothing. The permission now has a source in git. The next Retro no longer reports it as drift, and a rebuilt laptop gets it back.

The desktop doesn’t list this layer, so it never gets the permission. Each machine’s Loadout is its own.

4. Send a fix across

On the desktop, add a line to your Base Layer’s AGENTS.md, under Writing:

~/.tackOS/layers/base/AGENTS.mdMarkdown
Keep commit messages under 72 characters.

Commit and push it. The desktop’s agent has it at once.

Then, on the laptop, run /tackOS-recap. The recap pulls every layer, so the laptop has the rule too. It was an edit to a file the agents already link to, so no sync is needed. The footer says Layers: updated.

5. Work on both

Do a session in kettle on each machine, then run the recap on either one. Each machine writes its own Day Entries:

~/.tackOS/projects/kettle/activity/2026/TEXT
2026-12-03--you--laptop.md
2026-12-03--you--desktop.md

The recap folds the entries for the same day into one card, so you see one place where the work was left. The same works for a team: each person writes their own entries to the same Project.

What you’ve built

laptop desktop
tackOS yes yes
Base Layer, with all your rules yes yes
Machine Layer tackOS-layer-laptop none yet
The kettle Project yes yes

A rule goes in the widest layer it’s true for. Your Base Layer reaches every machine, and a Machine Layer reaches one.

Next

Keep two kinds of work apart gives one machine a second Loadout, for work that needs different layers.

To add a Local Layer for settings that must never be pushed, follow Add a Local Layer. Layers explains how layers stack.