skbrain
Maturity tier: T0 (N/A, no key material). Version phase: Active v1 (1.0.0).
skbrain is the framework for an estate's operations brain: runbooks, known errors, postmortems, lessons and configuration-item definitions kept as reviewed Markdown pages in a private git repo, then projected into Postgres for retrieval. This repo is the public part: the engine, the page schema, the checks, the templates and the docs. It holds no estate data.
What it is
| Part | Where |
|---|---|
| Engine: parser, chunker, embedder client, projector, reader, secret lint, doctor | src/skbrain/ |
Instance CI check (skbrain check) |
src/skbrain/check.py |
| Instance config loader and estate guard | src/skbrain/config.py |
| Page and instance schemas | schemas/ |
| Page templates and the example estate instance | templates/ |
| Docs: schema, instance model, skrsi contract, architecture | docs/ |
An estate keeps its pages in its own private repo, skbrain-ops-<estate>, which pins
a release of this framework as a framework/ submodule. See
docs/INSTANCE-MODEL.md.
Quickstart
python3 -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest -q # the test gate
skbrain check --canon templates/instance-repo \
--repo-name skbrain-ops-example # check the example estate
python3 scripts/validate_public.py # scrub check for this repo
skbrain has no default canon. Every command that reads a canon needs --canon PATH
or SKBRAIN_CANON, and stops with an error when neither is set.
Commands
| Command | What |
|---|---|
skbrain check --canon PATH |
Hermetic CI check: no database, no network |
skbrain lint --canon PATH |
Secret lint only |
skbrain sync --canon PATH [--commit] |
Lint, parse, project into the ops schema (dry run by default) |
skbrain search QUERY |
Search the projection with the reader identity |
skbrain doctor --canon PATH |
Non-mutating health checks, including skbrain:pin |
skbrain operator explain|observe|act |
The bounded out-of-process operator contract |
Honest claims
- The check is hermetic:
tests/test_check.py::test_check_makes_no_database_or_network_usefails if it opens a socket. - The estate guard refuses
sync --commiton the wrong estate or node:tests/test_estate_guard.py. - The public tree is scrubbed by
scripts/validate_public.py, run in CI and before every tag.
Related projects / See also
- Depends on: skrsi, whose lesson schema and tag vocabulary are vendored read-only in
src/skbrain/vendor/skrsi/. - Used by: private estate canons named
skbrain-ops-<estate>, and theskosinstaller pack. - Siblings: skmemory, which owns the Postgres schema skbrain projects into.
- Standards: sk-standards, including the repo doc and docs-freshness standards.
Metadata
Release files for skbrain 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skbrain-1.0.2.tar.gz | 85.9 kB | With provenance | Details for skbrain-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skbrain-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for skbrain-1.0.2-py3-none-any.whl |
Total release size: 138.8 kB
Release files / skbrain-1.0.2.tar.gz
| Download URL | skbrain-1.0.2.tar.gz |
|---|---|
| Size | 85.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5d7d7524bbac01bfe39e2701ff561537921b009ae5ef0ec770f401fc728186c
|
|
BLAKE2b-256 checksum How to use checksums |
2922ec52494c72436aa01bae94d17ccb41953548df6c1468002563e3bfd1a54f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / skbrain-1.0.2-py3-none-any.whl
| Download URL | skbrain-1.0.2-py3-none-any.whl |
|---|---|
| Size | 52.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a49dfa57ee9ddf5d3fc6df82b9a14b9404549c8f1d3653818d52f10dc893b03
|
|
BLAKE2b-256 checksum How to use checksums |
ce968d27c63fed1f4efe88bf8c6fee4897cd73d37b193535c350b7c824b80a5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for skbrain 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for skbrain-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.