Skip to main content

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_use fails if it opens a socket.
  • The estate guard refuses sync --commit on 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.
  • 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 the skos installer 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skbrain 1.0.1
File Size Uploaded Provenance Actions
skbrain-1.0.1.tar.gz 85.1 kB With provenance Details for skbrain-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skbrain 1.0.1
File Interpreter ABI Platform Actions
skbrain-1.0.1-py3-none-any.whl Python 3 none any Details for skbrain-1.0.1-py3-none-any.whl

Total release size: 138.0 kB

Release files / skbrain-1.0.1.tar.gz

Download URL skbrain-1.0.1.tar.gz
Size 85.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a66e7a2aea28fd3e5972dfa86ae2954adc32ede8e03e5dc5786e14bff9912bd
BLAKE2b-256 checksum
How to use checksums
3f660aa1b4f877369a467db6a8c78895d549880270dc66297a28b3342759b125
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 14, 2026.

Transparency log

Release files / skbrain-1.0.1-py3-none-any.whl

Download URL skbrain-1.0.1-py3-none-any.whl
Size 52.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e567d64add69addc08bd0ce869cdb2fad6bb8980813ec08baca1a89743d31f9
BLAKE2b-256 checksum
How to use checksums
fc6f21cbff1b088daf71b3ea0c488d9ba12fc8bbc2aeaa329691f03d610a8a33
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 14, 2026.

Transparency log

Security for skbrain 1.0.1

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.

Select from 2 files

Attestation for skbrain-1.0.1.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 14, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page