Brain grbrain / yoni Date 2026-07-30 Status Proposal Measured on live workspace

Boot Cleanup: moving the OS into the skills

Today the whole operating-system.md is loaded on every single session, including the 905 lines about leadership and flow states that only /coaching needs. This is the proposed split: what stays in the boot, what moves into the skill that actually uses it. Nothing is deleted — every line keeps existing, it just gets loaded when it is relevant.

What was measured

4,982
lines in the boot file
220 KB
loaded every session
26
chapters
~450
lines actually needed always

Measured on the live workspace on 30 July 2026, not estimated. The file is pulled in by the last line of CLAUDE.md, so it enters the context in full before the first word of any conversation — an email to a candidate, a quick question, a coaching session, all identical.

$ wc -lc boot/operating-system.md
   4982   225838   boot/operating-system.md

$ tail -1 CLAUDE.md
@boot/operating-system.md
Why it matters: at roughly 4 characters per token, that single file is around 56,000 tokens of the preamble. It is the main reason the brain runs out of room and starts compacting mid-conversation — 61 compactions in July, one every 3.5 messages.

The split, chapter by chapter

Green rows stay in the boot. Everything else moves to the skill that uses it, and is loaded only when that skill runs.

Chapter Lines Destination
Quick-Reference Card32bootkeep
YONAX OS Architecture — Les 6 couches143boot, rewritten as a ~40-line index: which chapter now lives in which skillkeep
1. Founding beliefs47bootkeep
2. Decision framework — les 7 filtres55bootkeep
3. Decision process253/coachingmove
4. Energy model (version courte)16bootkeep
5. Time management96/coachingmove
6. Tribe OS — la culture Generations33bootkeep
7. Questions systématiques16bootkeep
8. Personality paradoxes66/coachingmove
9. Non-negotiables79bootkeep
10. Conflict resolution13bootkeep
11. Règles comportementales pour Yonax17bootkeep
12. Relationships & trust260/coachingmove
13. The weight of decisions & the solitude of leadership285/coachingmove
14. Flow states & performance conditions273/coachingmove
15. Leadership & management philosophy137builder / management skill — to be decidedmove
16. Commercial philosophy200/redaction + new /clientmove
17. Client reading & diagnosis342/redaction + new /clientmove
18. Commercial mistakes115/redaction + new /clientmove
19. Client meeting method144/redaction + new /clientmove
20. Émotional & relational self347/coachingmove
21. Yonax builder OS394builder / management skill — to be decidedmove
22. Yonax recruitment OS416/assessment, /candidat, /deliverymove
23. Candidate evaluation engine373/assessmentmove
24. Recruitment brain v2790/assessment, /deliverymove

Totals

DestinationChaptersLines
Stays in the bootQuick-Reference, Architecture (as index), 1, 2, 4, 6, 7, 9, 10, 11451
/coaching3, 5, 8, 12, 13, 14, 201,580
Commercial — /redaction + new /client16, 17, 18, 19801
Recruitment — /assessment, /candidat, /delivery22, 23, 241,579
Builder / management15, 21531
Result: the boot goes from 220 KB to roughly 22 KB. Chapters 13, 14 and 20 alone are 905 lines — 18% of the file — and they are only used by /coaching. Today they load on every email to a candidate.

The second problem: files nothing reads

A file that no skill declares as a source is never read again. Writing it feels like remembering something; in practice it disappears. Out of four "remember this" requests in the last ten days, three produced files that nothing reloads.

Found while measuring: boot/conditional-rules.md — 31 KB — is not imported by CLAUDE.md and is not mentioned by any other file in the workspace. Zero references. It was written, and since then nothing has ever opened it.

The pattern that does work is already in this brain. /analyse-profil names its source file inside its own SKILL.md, so the file gets reloaded every time the skill runs:

.claude/skills/analyse-profil/SKILL.md
  → "Le rapport est stocké dans wiki/career-patterns/index.md"

The same mechanism carries the split. Each extracted chapter becomes its own file under wiki/os/, and the skill that needs it declares it in a Sources block at the top:

.claude/skills/coaching/SKILL.md

## Sources
- wiki/os/decision-process.md
- wiki/os/flow-states.md
- wiki/os/weight-of-decisions.md
Rule to adopt: a file that no skill declares as a source does not exist. Every time something is worth remembering, it needs both a file and the skill that will open it.

How the move is done

#StepStatus
1Full backup of the workspace before touching anythingdone, 30 July
2Mechanical split: 24 chapters into wiki/os/, byte for byte, no rewritingready
3Reduced boot + index of where each chapter wentready
4Sources block added to each destination skillready
5Decide what to do with conditional-rules.mdneeds Yoni
6Open a session and measure the preamble before and afterverification
Timing: this should happen before the brains for the 5-10 test users are built, otherwise the same structure gets replicated on all of them.

Open questions for the session

QuestionWhy it needs Yoni
Chapters 15 and 21 — leadership and builder OS. Existing skill, or a new one?They do not map onto any skill that exists today. Either a new /strategy, or they fold into /coaching.
Should the commercial chapters get their own /client skill?801 lines currently spread across client reading, meeting prep and past mistakes.
conditional-rules.md — who was supposed to read it?If it has an owner it gets wired to a skill. If not, it moves to wiki/ and stops weighing on the boot.
How does GR Recruitment know-how reach the colleagues' brains?Position taken on 30 July: skills plus project runway, no company brain sitting above the others.