feat: seed starter skills from tool providers at agent startup (#70) - #70
Merged
Merged
Conversation
Tool guides (memory, MCP, web, etc.) were only accessible via on-demand tools (list_tool_guides / get_tool_guide), requiring the agent to proactively discover them. Skills are pushed into context via session index injection and per-turn BM25 recall, so the agent naturally reaches for them — but guides were not part of that flow. StarterSkillService (IHostedService) seeds the skill store on startup with a skill for each registered IToolSkillProvider that doesn't already have one. This means memory, skills, mcp, web, scheduling, and scripts guides appear in the session skill index and BM25 recall automatically, making them as discoverable as user-created skills. Seeding is additive-only: existing skills are never overwritten, so the agent and dream cycle can refine content over time without it being reset on every restart. - New StarterSkillService in RockBot.Host - Registered automatically via AgentMemoryExtensions.WithSkills() - Added RockBot.Tools.Abstractions project reference to RockBot.Host Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StarterSkillService(IHostedService) that seeds the skill store on startup with a skill for each registeredIToolSkillProviderthat doesn't already have oneAgentMemoryExtensions.WithSkills()— no call-site changes neededProblem solved
Tool guides were only accessible via on-demand tools (
list_tool_guides/get_tool_guide), requiring the agent to proactively discover them. The agent naturally reaches for skills (pushed into context via session index + BM25 recall) but rarely thought to check for guides — leading to spotty MCP skill creation and missing foundational skills for memory and skill management.Test plan
dotnet build RockBot.slnx— clean build, 0 errorsdotnet test RockBot.slnx— all tests passmemory,skills,mcp,web,scheduling,scripts🤖 Generated with Claude Code