/agentdb-learning:agentdb-routefrom agentdb-learning
Consults a Thompson Sampling bandit to select the best RL algorithm, compression tier, or skill composition for the current task. Useful at task start when multiple approaches are viable.
Ships in agentdb-learning. 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.
Ask the Thompson Sampling bandit which approach to use for the current task.
agentdb_learning_route(
task: <description>
candidates?: [<skill_id> | <algo>, ...] // omit to consider everything
context?: { stack, project, ... }
)
Returns: { picked, expectedReward, confidence, alternatives: [...] }
Thompson Sampling: each candidate has a Beta(α, β) posterior over reward. The bandit samples once from each, picks the highest sample. Exploration emerges naturally — uncertain candidates get tried until their posterior tightens.
Four bandit decision points across AgentDB:
The router unifies them: it returns the picked candidate AND a decisionTrace showing which decision points fired.
const { picked } = await agentdb_learning_route(...)
const result = await runWith(picked)
agentdb_bandit_update(arm: picked, reward: result.reward)
The agentdb-feedback skill (this plugin) wraps the close-loop step.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ruvnet/agentdb --plugin agentdb-learning3 skills in this plugin
/agentdb-feedbackClose the learning loop — record reward signal for an action AgentDB suggested. Use after using anything from agentdb_pattern_search / reflexion_recall / skill_search / learning_route. The bandit needs the signal to improve./agentdb-learnTrain one of AgentDB's 9 RL algorithms on a stream of episodes. Use when the user has accumulated successful/failed episodes and wants to derive a policy, or when a task type is repeated enough to benefit from RL routing.Other plugins' skills for the same job