Repo-scoped Shellbrain CLI with explicit evidence-backed writes.
Project description
Building a Brain
shellbrain is a machine-level CLI that gives agent sessions repo-scoped long-term memory.
It stores durable memories like problem, solution, fact, and preference, grounded by transcript-derived evidence from the active host session.
Install
Primary install path:
curl -L shellbrain.ai/install | bash
The installer already runs shellbrain init for you.
That makes the machine ready immediately, installs the Codex and Claude integrations, and lets repos register themselves later on first real Shellbrain use.
Manual install path:
pipx install shellbrain
shellbrain init
What Install Does
- installs the
shellbrainCLI once per machine - provisions or reuses the managed local runtime on first
init - installs the personal Codex skill
- installs the personal Claude skill
- installs the Claude global SessionStart hook in
~/.claude/settings.json - auto-registers repos later on first use inside a repo
If readiness is unclear after install, run:
shellbrain admin doctor
If doctor reports repair_needed, rerun:
shellbrain init
First Useful Command
From inside a repo, start with a concrete retrieval query:
shellbrain read --json '{"query":"Have we seen this failure mode before?","kinds":["problem","solution","failed_tactic"]}'
If direct calls fail in a tool shell, retry through a login shell first:
zsh -lc 'source ~/.zprofile >/dev/null 2>&1; shellbrain --help'
More
- Advanced/operator guide:
docs/external-quickstart.md - Codex session-start skill:
skills/shellbrain-session-start/SKILL.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shellbrain-0.1.2.tar.gz.
File metadata
- Download URL: shellbrain-0.1.2.tar.gz
- Upload date:
- Size: 126.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86606fa73790d898fc6bc8edc5df9ecf94c869ae6b2e6685baf3660d565d8dac
|
|
| MD5 |
5d86906a634c500c829df88b1f27df44
|
|
| BLAKE2b-256 |
1bc155befd8d1100521386ec4937a018178dfcc7d5fb7d671eaf209f962e015b
|
Provenance
The following attestation bundles were made for shellbrain-0.1.2.tar.gz:
Publisher:
release.yml on cucupac/shellbrain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shellbrain-0.1.2.tar.gz -
Subject digest:
86606fa73790d898fc6bc8edc5df9ecf94c869ae6b2e6685baf3660d565d8dac - Sigstore transparency entry: 1151279583
- Sigstore integration time:
-
Permalink:
cucupac/shellbrain@b40eade7942ee9f9d8201625a09140e7031bc4de -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/cucupac
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b40eade7942ee9f9d8201625a09140e7031bc4de -
Trigger Event:
push
-
Statement type:
File details
Details for the file shellbrain-0.1.2-py3-none-any.whl.
File metadata
- Download URL: shellbrain-0.1.2-py3-none-any.whl
- Upload date:
- Size: 188.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e7e2ca41ef41d29adddab41cba440c4190795a223085f405387f70f3ab96d7a
|
|
| MD5 |
fde1ffdf249ffbea096a14ad1bfe0f4d
|
|
| BLAKE2b-256 |
5ccde3d3fc4c507e7f89abdd5e5f393f163b344f3192e6c4abbd4e1852e57fc2
|
Provenance
The following attestation bundles were made for shellbrain-0.1.2-py3-none-any.whl:
Publisher:
release.yml on cucupac/shellbrain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shellbrain-0.1.2-py3-none-any.whl -
Subject digest:
1e7e2ca41ef41d29adddab41cba440c4190795a223085f405387f70f3ab96d7a - Sigstore transparency entry: 1151279820
- Sigstore integration time:
-
Permalink:
cucupac/shellbrain@b40eade7942ee9f9d8201625a09140e7031bc4de -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/cucupac
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b40eade7942ee9f9d8201625a09140e7031bc4de -
Trigger Event:
push
-
Statement type: