/khive:brainfrom khive
Inspects and manages Bayesian brain profiles that tune memory recall weights. Covers lifecycle (activate/deactivate/archive/reset), feedback signals (useful, wrong, etc.), and actor-to-profile binding.
Ships in khive. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The brain pack is the adaptive layer that adjusts how memory.recall ranks results. It holds
Bayesian profiles whose posteriors shift with every feedback signal. The verbs are
brain.create_profile, brain.profiles, brain.profile, brain.activate, brain.deactivate,
brain.archive, brain.reset, brain.feedback, brain.auto_feedback, brain.resolve,
brain.bind, brain.unbind, and brain.bindings. Per-verb param detail is one help=true away:
request(ops="brain.feedback(help=true)").
Start every session with a single batch call to see the current state:
request(ops="[brain.profiles(lifecycle=\"active\"), brain.resolve(consumer_kind=\"recall\")]")
The built-in profile is balanced-recall-v1. Inspect current posterior values (relevance,
salience, temporal weights) with:
request(ops="brain.profile(profile_id=\"balanced-recall-v1\")")
After memory.recall returns results, emit a signal on each result you can evaluate. The
convenience verb handles the common case:
request(ops="brain.auto_feedback(query=\"<the recall query>\", results=[{\"id\":\"<uuid-1>\"}], target_id=\"<uuid-1>\", signal=\"implicit_positive\")")
Both query (the recall query that produced the results) and results are required. A supplied
signal also requires target_id to exactly match one result; rank position never creates a
judgment. Omit signal to abstain without emitting a feedback event. For direct per-item control, use
brain.feedback. Eight signals are available: useful,
not_useful, wrong, explicit_positive, explicit_negative, implicit_positive,
implicit_negative, correction. Batch across multiple results in one call:
request(ops="[brain.feedback(id=\"<uuid-1>\", signal=\"useful\"), brain.feedback(id=\"<uuid-2>\", signal=\"not_useful\")]")
Posteriors that have drifted can be reset without losing event history:
request(ops="brain.reset()")
To pause live updates while inspecting a profile, deactivate it first:
request(ops="brain.deactivate(profile_id=\"balanced-recall-v1\")")
Then reactivate when ready:
request(ops="brain.activate(profile_id=\"balanced-recall-v1\")")
To retire a profile permanently, deactivate it before archiving — the runtime rejects a direct
active to archived transition:
request(ops="brain.deactivate(profile_id=\"balanced-recall-v1\") | brain.archive(profile_id=$prev.profile_id)")
When you need a separate tuning profile for a specific actor or context, create it (starts
Inactive), activate it, then bind it:
request(ops="brain.create_profile(name=\"research-v1\", consumer_kind=\"recall\")")
request(ops="brain.activate(profile_id=\"research-v1\")")
request(ops="brain.bind(profile_id=\"research-v1\", actor=\"researcher\", consumer_kind=\"recall\")")
Confirm the binding resolves correctly before relying on it:
request(ops="brain.resolve(consumer_kind=\"recall\", actor=\"researcher\")")
Resolution priority: exact (actor+namespace+consumer_kind) then namespace wildcard, actor
wildcard, and finally global wildcard. NotFound means no binding covers that combination.
brain.feedback. id accepts a full UUID or a globally unique
hex prefix of at least eight characters; prefer the full UUID from recall when available.balanced-recall-v1 is the sole active binding for
recall, archiving it makes brain.resolve(consumer_kind="recall") return NotFound for all
callers until a replacement is bound and activated.brain.unbind() with no args. At least one filter (profile_id, actor,
namespace, or consumer_kind) is required. A bare call is rejected.brain.reset discards posteriors accumulated in the current session.
Reset between sessions or after deliberate behavioral experiments, not while actively recalling.Inactive profile is valid but the profile will
not receive live updates until brain.activate is called.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ohdearquant/khive --plugin khive11 skills in this plugin
/commCoordinate over commCoordinate with other agents and lambdas over khive comm — be attributable (set KHIVE_ACTOR), address by actor (to="lambda:X") with a subject, triage your inbox by sender + subject, reply to thread, and inspect channel polling freshness. Use whenever you send a message, check your inbox, follow up in a conversation, read a thread, or diagnose channel delivery./digestIngest research material into the knowledge graph — papers, concepts, implementations. Extract entities, link them, verify density./expandSelf-expansion. Take a strategic gap and grow the graph to close it — create the missing entity, draft the project proposal, resolve the deferred decision, bridge the disconnected domains.Other plugins' skills for the same job