/gabbe-brain:neuroscience-foundationsfrom gabbe-brain
Provides three neuroscience-inspired design analogies for agentic software: thalamic gating for signal routing, basal-ganglia action selection for plan choice, and neural Darwinism for evolving prompts.
Ships in gabbe-brain. 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.
Apply biological brain patterns to agentic software design: Cortico-Thalamic loops, Basal Ganglia gating, Neural Darwinism.
Offer three named analogies for agent design (a signal filter, a gated action selector, a population of prompts). They are analogies, not evidence about how agents work.
The Thalamus is a central relay; the Cortex processes. Their loop drives consciousness and attention.
Thalamic Gateway: route critical signals through a central mediator instead of direct module-to-module calls. It (1) filters — pass only high-priority signals (attention); (2) broadcasts important signals to many cortical modules at once; (3) loops — lets the Cortex (agent logic) feed back to adjust future attention.
class Thalamus:
def process_signal(self, signal):
if self.calculate_salience(signal) > THRESHOLD:
self.broadcast_to_cortex(signal)
The Basal Ganglia doesn't think of actions — it selects them, inhibiting all options and disinhibiting the most promising one by expected reward (dopamine).
Gated Action Selector: don't execute the first valid action. (1) Cortex (LLM) generates multiple plans; (2) Basal Ganglia (critic/judge) evaluates by expected utility; (3) selects/releases only the highest-value action.
Go / No-Go pathways: Direct (Go) facilitates the selected action; Indirect (No-Go) suppresses competitors.
Brain function is evolutionary — neurons that fire together, wire together.
Evolutionary Prompts: keep a population of system prompts/strategies, track each one's success rate, kill underperformers and mutate (reproduce) winners over time.
cognitive-testing.skill.A short design note: the question, the analogy chosen, the concrete rule or code, and its limit.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
neuroscience, agent-architecture, design-patterns, analogies
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-brain16 skills in this plugin
/active-inferenceFrames an agent's predict, act, compare loop as surprise minimisation (conceptual, not a solver). Use when a tool result contradicts the agent's expectation and it must choose between probing and fixing./brain-modeAdds a plan-and-review layer over the normal work loop. Picks the cheapest strategy that passes, watches a Loki run, and records one decision-log entry. Use when the human says "brain mode" or "activate brain" for a task that needs a chosen strategy and cost control./cognitive-architecturesDescribes SOAR, ACT-R and LIDA patterns (propose, evaluate, select; activation-based retrieval; workspace broadcast) as ideas for agent design. Use when designing an agent's reasoning cycle or memory retrieval and you want a named pattern as a starting point.Other plugins' skills for the same job