ohdearquant/khive/brain
Claude Code and agent skill by ohdearquant/khive
- community
Checking that the SKILL.md file is still in the repository.
Tune adaptive recall with brain profiles — inspect profiles and posteriors, manage lifecycle (activate/deactivate/archive/reset), emit feedback (brain.feedback / brain.auto_feedback) to shift recall weights, and wire actors to profiles via bind/unbind/resolve/bindings. Use whenever recall behavior feels off, a new tuning profile is needed, or you need to confirm which profile serves a given caller.
Install
npx vskill@latest install ohdearquant/khive/brainSKILL.md
The same SKILL.md was published earlier as ohdearquant/khive/brain.
Tune adaptive recall with brain profiles
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)").
The pattern
1. Orient: which profile is active and who does it serve?
Start every session with a single batch call to see the current state:
The built-in profile is balanced-recall-v1. Inspect current posterior values (relevance, salience, temporal weights) with:
2. Feed signal back after recall
After memory.recall returns results, emit a signal on each result you can evaluate. The convenience verb handles the common case:
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:
3. Manage lifecycle when behavior drifts
Posteriors that have drifted can be reset without losing event history:
To pause live updates while inspecting a profile, deactivate it first:
Then reactivate when ready:
To retire a profile permanently, deactivate it before archiving — the runtime rejects a direct active to archived transition:
4. Wire a new profile to actors or namespaces
When you need a separate tuning profile for a specific actor or context, create it (starts Inactive), activate it, then bind it:
Confirm the binding resolves correctly before relying on it:
Resolution priority: exact (actor+namespace+consumer_kind) then namespace wildcard, actor wildcard, and finally global wildcard. NotFound means no binding covers that combination.
Anti-patterns
- Ambiguous prefix in `brain.feedback`.
idaccepts a full UUID or a globally unique
hex prefix of at least eight characters; prefer the full UUID from recall when available.
- Archiving the only active profile. If
balanced-recall-v1is 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.
- Calling `brain.unbind()` with no args. At least one filter (
profile_id,actor,
namespace, or consumer_kind) is required. A bare call is rejected.
- Resetting mid-session.
brain.resetdiscards posteriors accumulated in the current session.
Reset between sessions or after deliberate behavioral experiments, not while actively recalling.
- Binding before activating. A binding to an
Inactiveprofile is valid but the profile will
not receive live updates until brain.activate is called.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmarketplace/khive/skills/brain/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ohdearquant/khive/brain)