Skip to main content

Living knowledge map for codebases — install agent instructions across AI platforms

Project description

kb-builder

Kode Brain — a living knowledge system for evolving software projects.

Converts an imperfect, growing codebase into a structured, searchable knowledge map of domains, capabilities, concepts, flows, runtime behavior, dependencies, legacy areas, migration states, and source evidence — so humans and AI agents can understand and modify the system without rediscovering everything from scratch.

Design Documents

Document Purpose
Taxonomy Finalized node types, edge types, status labels, confidence labels
Skills Skill API contracts — inputs, outputs, guarantees
Agents Agent role boundaries — responsibilities, allowed skills, forbidden actions
Workflows Core workflow sequence diagrams
Open Decisions Unresolved architectural decisions

Schemas

File Purpose
schema/node.schema.json JSON Schema for KnowledgeNode
schema/edge.schema.json JSON Schema for KnowledgeEdge
schema/knowledge-base.schema.json Top-level graph container schema

Design Order

Per the Kode Brain spec (§20.7):

Taxonomy → Workflow → Skills → Agents → Plugin/CLI

This repository is currently at the design phase. Implementation comes after the design is validated.

Commands

/kodebrain init [path]                     Scan project, scaffold docs/kodebrain/
/kodebrain scan [path]                     Re-scan and update knowledge graph
/kodebrain query "<task or symptom>"       Query the KB by task description
/kodebrain reading-pack "<task>"           Generate + save a context pack
/kodebrain detect-legacy [--domain slug]   Flag suspected dead code
/kodebrain review [--page path]            Review KB pages for stale claims
/kodebrain update [--diff] [--files ...]   Update KB from changed files

Installation

The skill must be installed into Claude Code's skills directory:

# From the repo root
ln -s "$(pwd)" ~/.claude/skills/kodebrain

After symlinking, SKILL.md is discoverable by Claude Code and /kodebrain becomes available in any Claude Code session.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kodebrain-0.3.0.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kodebrain-0.3.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file kodebrain-0.3.0.tar.gz.

File metadata

  • Download URL: kodebrain-0.3.0.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kodebrain-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cb174d129c35268fd8c616e62d6d2c1c0d830b70ac0dfba7aee5467c343708a6
MD5 b6a1f0a9cc7c3178b5975a756a58ed4e
BLAKE2b-256 fe8e3ff31a25b41fa08138f5e192baf177856ce4da6fedbb4693f68f03721831

See more details on using hashes here.

File details

Details for the file kodebrain-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: kodebrain-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for kodebrain-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f760de1e1b7bd3d87e09e4e00eb16675d73e00451ea7645ab0df8e29787e81d5
MD5 52cd6cc02ad100db858353c8a064418e
BLAKE2b-256 b958929a875580d17098ba84403c816ac8e20326d46981dab1f62d0a23471d96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page