agentsclimarketplace

Init brain

Skill SeanningTatum/brain-axi/.claude/skills/init-brain

Scaffold a `.brain/` agent-harness directory into a project from the base template. Use when a repo has no `.brain/` yet and you want to set up the 5-subsystem harness (instructions, state, verification, scope, lifecycle) that keeps coding agents reliable across sessions. For operating an existing `.brain/`, use the `brain` skill/CLI instead.From its SKILL.md

Install
npx -y skills add SeanningTatum/brain-axi --skill init-brain

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

3 things to look at

  • 29 days oldThe repository was created 29 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.8 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

init-brain — scaffold a .brain/ harness

Lays down the base harness skeleton so an agent can work reliably across sessions. The skeleton is stack-agnostic — you fill the <...> placeholders with the target project's real commands, layers, and conventions.

When to use

  • Target repo has no .brain/ directory and you want the harness.
  • You are starting a fresh project and want agent-continuity scaffolding from day one.

Not for: reading/writing an existing .brain/ (use the brain CLI — brain, brain progress, brain features, brain docs, brain search).

The 5-subsystem model

The harness is the scaffolding around the model that stops agents forgetting context, drifting from conventions, breaking unrelated code, or stopping at "compiles but wrong."

1. Instructions   →  what to read before working   →  codebase/ rules/ recipes/ high-level-architecture/
2. State          →  what's done / in progress      →  features/feature_list.json  runs/progress.md
3. Verification   →  how to prove a change correct   →  recipes/99-verify-done.md
4. Scope          →  what counts as "this task"      →  HARNESS.md §4 + feature_list policy
5. Lifecycle      →  bootstrap / handoff / restart   →  recipes/00-before-task.md  runs/

HARNESS.md is the one-page explainer of all five — read it first, keep it current.

Skeleton layout

.brain/
  HARNESS.md                     # the 5-subsystem explainer (READ FIRST)
  CHANGELOG.md                   # architectural / brain shifts (not a code changelog)
  codebase/index.md              # programming model, testing, API conventions
  high-level-architecture/index.md   # system layers, data flow, security, integrations
  rules/index.md                 # layer-aligned do/don't rules (≤7)
  recipes/index.md               # runbooks, bookended by:
  recipes/00-before-task.md      #   init phase: frame, read brain, baseline, run note
  recipes/99-verify-done.md      #   termination check: typecheck/test/e2e/brain coherence
  features/index.md              # per-feature memory index
  features/_TEMPLATE.md          # copy per new feature
  features/feature_list.json     # machine-readable feature status (source of truth)
  runs/index.md                  # per-task continuity log
  runs/_TEMPLATE.md              # copy per run note: <YYYY-MM-DD>-<slug>.md
  runs/progress.md               # rolling session cursor (read at session start)
  transcripts/index.md           # meeting/decision notes (optional)
  emails/index.md                # archived correspondence (optional)

How to scaffold

  1. Copy the base template in this repo's .brain/ into the target repo's .brain/. It ships as a clean skeleton — every concrete instance stripped, <...> placeholders left to fill.
  2. Fill HARNESS.md — the project non-negotiables, real bootstrap/baseline/verify commands, and the layer list.
  3. Fill the index files — one row per real file you'll add under each folder. Rename the placeholder layers in rules/index.md to your architecture; genericize/replace the path → brain doc table in 99-verify-done.md.
  4. Replace command placeholders<typecheck command>, <test command>, <e2e command>, <build command> in the recipes with the project's actual commands.
  5. Reset state filesfeature_list.json (empty features + real updated date), progress.md (first checkpoint), CHANGELOG.md (one "initialized" entry).
  6. Point the root at it — add a "Brain" section to /CLAUDE.md + /AGENTS.md telling agents to read .brain/HARNESS.md first and follow retrieval-over-recall.

Operating rules the harness enforces

  • Retrieval over recall — open the matching index.md before working; never rely on training data for project patterns.
  • One in-progress feature at a timefeature_list.json status:"in-progress" count must be 1.
  • Definition of done — impl complete + verify-done green + feature MD updated + feature_list.json flipped + run note closed.
  • Two-layer stateprogress.md = "where am I now"; runs/<slug>.md = "everything I learned on this task."
  • Delete stale memory — feature ripped out → delete its MD; run abandoned → delete the note.

Pair with

  • The brain CLI (brain-axi) for querying/updating the scaffolded harness once it exists.
  • .brain/HARNESS.md — canonical reference for the model this skill installs.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,614. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.