Зарубин ФилиппandClaude Opus 4.8 86ea4e2643 docs: claude-starter эталон — наполнить specs/src/evals/docs + INDEX
Дрейф эталона устранён: structure.md обещает форму проекта, но starter
нёс пустые .gitkeep. Теперь:
- specs/src/evals/docs — короткий README с назначением (юзер видит, что
  класть) вместо немого .gitkeep.
- + INDEX.md (роутер по проекту, structure.md rule 5); CLAUDE.md упоминает.
- удалены стрэй root src/.gitkeep evals/.gitkeep (athena-os не приложение,
  0 ссылок, не в карте).

business/ai-clone/plans — личная канва владельца, в generic-public эталон
не включены (приходят адаптацией bootstrap-project / из overlay).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 15:46:43 +03:00

Athena — a portable agent operating system

Athena

Set up your entire AI workspace on a brand-new Mac with one command.
From the rules your assistant follows to the live tools it runs — rebuilt in minutes, identically, every time.

🇬🇧 English · 🇷🇺 Русский


Two steps and you're done.

Step 1 — paste this into Terminal. It'll ask for your Mac password once; that's fine.

curl -fsSL https://raw.githubusercontent.com/zarubinphil/athena/main/preinstall.sh | bash

That brings in Homebrew, a few CLIs, and Claude Code. It's the only part you do by hand — Homebrew wants a password, and an agent can't type one.

Step 2 — grab the repo, open Claude, and just answer what it asks.

git clone https://github.com/zarubinphil/athena ~/athena && cd ~/athena
claude
# then type:  /setup-os

From here /setup-os builds the system layer by layer and pops up a question whenever there's a choice — GitHub? Firecrawl? a knowledge vault? Say no to anything you don't want; you can add it any time later.

Already know your way around? cp athena.config.example.sh athena.config.sh, then ./bootstrap.sh runs the engine straight, no Claude needed (--dry-run to look first).


What is this, really?

A modern AI assistant is only as good as the workspace around it — the rules it follows, the habits it has, the projects it can see, the notes it can recall, the tools it can reach. Build that workspace by hand and it slowly sprawls into hundreds of small files scattered across your machine. Then you buy a new Mac, and you get to rebuild all of it from memory. It never comes out quite the same.

Athena packs that whole workspace into a single, repeatable recipe. Run one command and it lays everything back down in the right order: the tools, the rules, the projects, the knowledge, the background helpers. Like restoring a phone from a backup — but for your entire way of working with AI.

It isn't built from scratch on a hunch. Athena stands on proven ideas from people who do this seriously:

  • The Knowledge part follows the synthesis-on-write approach popularized by Andrej Karpathy — you don't just dump notes, you distill them as you save, so what you keep is genuinely useful later.
  • The setup is driven by chezmoi, the well-known dotfile manager, so your configuration is versioned and portable instead of hand-copied.
  • The whole thing is idempotent — a fancy word for safe to run again and again. It converges to the same result; it never piles up duplicates.

The payoff is simple: a correct system, stood up from zero in minutes, that keeps supporting your work — and quietly saves you tokens every day (more on that below).


What happens when you run it

One command turns an empty Mac into a complete system

You start with an empty Mac and type one command. Athena does the rest, step by step — every step automatic, ordered, and checked. If anything fails to start, the run stops and tells you; you never end up with a half-built machine that pretends it's fine.

Step-by-step: empty Mac to working system


The big idea: three planes, never mixed

The three planes: Consciousness, Knowledge, Work

Everything you own lives in exactly one of three "planes." Keeping them apart is what stops the mess: temporary clutter never pollutes your rules, secrets never touch your code, and notes never get lost inside project folders.

Consciousness, Knowledge and Work — the three planes

Plane In plain terms Where it lives
Consciousness how your assistant thinks and behaves ~/.claude · ~/.codex · ~/.agents
Knowledge your personal, distilled library ~/Мозг
Work your actual projects and files ~/Проекты · ~/Хранилище · ~/Архив

The rules for what goes where live inside the system itself, so it grows tidily instead of turning into a junk drawer.


How it builds: six calm layers

Six layers stacking into one system

The setup script builds your machine from the ground up in ordered layers — like assembling floors of a building. Each layer is safe to repeat, and you can run just one if you want.

The layers, from Base to Checks

Layer What it sets up
0 · Base the core command-line tools (claude, codex, git, node, python…)
0b · Tools extra tools like bots, placed before the rules so they can wire themselves up
1 · Consciousness your assistant's rules, habits, and helpers
2 · Registry a searchable map of every skill and tool, so the right one is found fast
3 · Work clones and installs your projects
4 · Knowledge restores your personal library
5 · Runtime secrets (kept in the macOS Keychain) and background helpers
6 · Checks runs final checks to prove the whole thing actually works
./bootstrap.sh --only=1     # run a single layer
./bootstrap.sh --dry-run    # show everything, change nothing

Share the structure, keep your secrets

A public stream and a private stream merging into one

Here's the tricky part of sharing a personal setup: the structure is worth opening up, but the contents — your secrets, your private notes — are not. Athena solves it by blending two sources at setup time: a public skeleton (this repo) and your own private layer. They merge into one, and your private layer always wins.

Public skeleton plus private layer blend into your machine

  • Skip the private layer → you still get a complete, working public-only setup.
  • Add it → your personal details are layered in on top.
  • A built-in guard fails the build if any personal data ever slips into a public file. The boundary is enforced, not just hoped for.

This repository is the public skeleton. It contains zero personal data — no secrets, no private content, no hardcoded paths.


Why it saves you tokens

A tidy index lighting one direct path to the right answer

Every time an AI assistant has to rediscover its own tools, re-read scattered instructions, or wander around looking for the right skill, it burns tokens — and tokens are money and time. Athena gives the assistant a tidy index of everything it can do, so it walks straight to the right tool instead of searching.

Without a map: wandering. With Athena: a direct path.

Less wandering means fewer tokens spent on overhead and more spent on your actual problem. The structure does the remembering, so the assistant doesn't have to.


Why it's efficient (in short)

  • One command, idempotent. Nothing to skip or misremember; re-running converges instead of duplicating.
  • Fail-closed. A half-finished setup never reports success — if something doesn't start, the run fails loudly.
  • Provable. Built-in checks confirm both assistants see the same tools, every helper is valid, and no personal data leaked.
  • Token-aware by design. The tool map routes to the right capability first, so reasoning goes to the task, not to overhead.
  • Tidy as it grows. Clear rules for what-goes-where keep the system legible for years.

What's in the repo (and what isn't)

In the repo (safe to share) Not in the repo
the setup script, tool list, checks secret values (Keychain / ~/.secrets)
layout rules, skills, helpers your private notes (your own repo)
config templates, a project starter your personal config & project list

A personal instance = your filled-in config + your private layer, on top of this public skeleton.


Commands

shellcheck bootstrap.sh smoke/*.sh   # lint
./bootstrap.sh --dry-run             # dry run (preview, change nothing)
./bootstrap.sh --only=<0|0b|1..6>    # run a single layer
smoke/smoke.sh                       # final checks

Go deeper: docs/FEATURES.en.md documents every function in detail. See specs/ for the plan, docs/decisions/ for architecture decisions, and CLAUDE.md for the map.


Athena — goddess of wisdom and strategy. Your system, made portable.

S
Description
Portable agent OS for Claude Code and Codex with reproducible dotfiles, guardrails, smoke tests, and project workflows.
Readme MIT
49 MiB
Languages
Shell 41.3%
JavaScript 32.7%
Python 21.7%
Go Template 3.9%
Ruby 0.4%