Tutorials
Set up your first machine
Start a Base Layer with one rule in it, wire your agent to it with bootstrap, and see your first recap.
By the end of this tutorial you’ll have a Base Layer of your own with one rule in it, an agent that reads that rule in every session, and your first recap. It takes about fifteen minutes.
You’ll need:
- A machine. On a Mac, bootstrap installs whatever’s missing. On Linux, install git, Node 22.20 or later and uv first.
- A GitHub account to hold your layers. On a work machine, that’s your company’s GitHub organisation, and everything below is owned by it. Give your own machines a separate setup, so that nothing crosses between work and home.
- Claude Code, opencode or both. On a Mac, bootstrap offers to install them.
1. Start your Base Layer
Your Base Layer holds how you like to work, whatever the task. You’ll start it with one rule, so that you can watch it reach the agent.
-
On GitHub, create a private repo called
tackOS-layer-base. -
Add a file to it called
AGENTS.md, with this in it:tackOS-layer-base/AGENTS.mdMarkdown # tackOS-layer-base How I like to work, in every Loadout. ## Writing Write in British English.
The first paragraph under the title is the layer’s scope line. It says what the layer is for, and tackOS goes by it, never by the layer’s name.
2. Make a token
tackOS clones and pushes your layers with a GitHub token, so make one that reaches your Base Layer and nothing else.
- Open GitHub’s fine-grained tokens page and generate a new token.
- Set its Resource owner to the account or organisation that owns
tackOS-layer-base. - Under Repository access, choose Only select repositories and pick
tackOS-layer-base. - Under Permissions, set Contents to Read and write.
- Copy the token. You’ll paste it once, in the next step.
The public tackOS repo doesn’t need to be on the token, because anyone can read it. When you add a layer or a Project later, add its repo to this token.
3. Run bootstrap
In a terminal, run:
curl -fsSL https://tackOS.dev/bootstrap.sh | bashBootstrap asks a few questions, one at a time. Press Enter to take the answer in brackets.
| Bootstrap asks | You answer |
|---|---|
| tackOS repo to use | Enter, for the public tackOS repo |
| tackOS version | Enter, for the latest. It only asks once tackOS has releases. |
| Agents to use | claude, opencode or both |
| Install it now? | Enter, if the agent is missing |
| GitHub token | Paste the token. It isn’t shown as you type. |
| Your name, for Day Entries | Your name |
| Name for your first Loadout | Enter, for default |
| Layer repo URLs after tackOS | Your Base Layer’s URL, such as https://github.com/<you>/tackOS-layer-base, then an empty line |
| Is …/tackOS read-only? | y, because you can’t push to the public repo |
| Is …/tackOS-layer-base read-only? | Enter, for no. It’s yours, so the Retro can push to it. |
| Project repo URLs | An empty line. You have no Projects yet. |
Bootstrap writes your first Loadout, the list of layers this machine runs, to ~/.tackOS/loadouts/default/loadout.md:
---
layers:
- url: https://github.com/tackOS-dev/tackOS
read-only: true
- url: https://github.com/<you>/tackOS-layer-base
projects: []
agents: [claude]
---Then it clones tackOS and starts your agent on /tackOS-sync.
If you use opencode, add export OPENCODE_DISABLE_CLAUDE_CODE=1 to your shell profile and open a new terminal before you start it, so that opencode reads only what tackOS wires up. Sync reminds you if it’s missing.
4. Sync
Sync clones your Base Layer to ~/.tackOS/layers/base, then shows you a plan: the links it’ll make for your agent and the settings it’ll merge into the agent’s config. It changes nothing until you say yes.
Say yes. Sync wires the agent, then checks the whole Loadout. It finishes with:
Check: okIf you see a FAIL line instead, it comes with its fix. Do what it says, then ask your agent to check tackOS again.
5. Watch your rule arrive
Quit the agent, open a new terminal in any folder, and start a new session. Run:
/tackOS-overviewIt lists your Loadout: tackOS, then base, each with its rules and skills. Then ask the agent which rules it’s following from tackOS-layer-base. It quotes “Write in British English.”
In Claude Code, ls -l ~/.claude/rules shows why: a link to each layer’s AGENTS.md. They’re links, not copies, so an edit to your Base Layer reaches the agent straight away.
6. Get your first recap
Run:
/tackOS-recapThe recap pulls your layers, harvests your sessions and shows where you left each Project. You have no Projects yet, so it’s short, and its footer ends with Check: ok.
Run the recap whenever you sit down at this machine. Claude Code reminds you when it hasn’t run today.
What you’ve built
~/.tackOS/
loadouts/default/loadout.md your Loadout: tackOS, then base
loadouts/default/credentials your token
layers/tackOS/ the machinery
layers/base/ your Base LayerYour agent reads both layers’ rules in every session. To change your rule, edit ~/.tackOS/layers/base/AGENTS.md, then commit and push. This machine has it at once, and every other machine gets it at its next recap.
Next
Record your work in a Project gives the recap something to show: one stream of work, and where you left it.
To understand the ideas behind these steps, read How tackOS works.