Expand description
The command line: which command to run, with its options.
- [
entries]: commands that read or change entries by id, for agents and scripts. - [
mod@init]: a project’s.brain/, and the section telling its agents about it;deinitundoes it. - [
claude]: the Claude Code hooksinitadds: the context at each session start, and [hook]’s checks. - [
hook]:kb hook prompt|stop, which hold an agent to describing an undescribed project first, and to commenting on the task it started. - [
completions]:kb completions SHELL, tab completion, and the ids, projects and tags it offers. - [
update]:kb update, the latest release over this one, through the installer.
Structs§
- AddArgs
- Options of
add. - Entry
Args - One of the entry commands, and whether to print JSON.
- List
Args - Options of
kb list. - Program
- The binary running the command line, named in the usage text and
--version. - Report
Args - Options of
kb report.
Enums§
- Command
- What to do, as chosen on the command line.
- Entry
Command - What to do to which entry.
- Project
Part - What
projectchanges. - Text
- Text given on the command line, or
-to read it from stdin (for multi-line markdown).
Functions§
- init
- Makes
roota repository of projectname(else the one its card names, else one named after the folder): creates its.brain/and card, registers it incentral(joining the project’s other repositories if it has some), creates the project’s shared card if it’s new, and writes or refreshes the section in each agent file ofroot(creatingCLAUDE.mdif there’s none). Returns what it did, one line each. - usage
- Printed by
--helpand after a command-line error. The status, period and group names come fromStatus,UnitandGroup, so they’re only written there.