Refactor skills tool integration and enhance system prompt

- Removed the skills_categories tool from the skills toolset, streamlining the skills functionality to focus on skills_list and skill_view.
- Updated the system prompt to dynamically build a compact skills index, allowing the model to quickly reference available skills without additional tool calls.
- Cleaned up related code and documentation to reflect the removal of skills_categories, ensuring clarity and consistency across the codebase.
This commit is contained in:
teknium1 2026-02-10 19:48:38 -08:00
parent 669545f551
commit 153cd5bb44
4 changed files with 94 additions and 55 deletions

View file

@ -69,7 +69,7 @@ TOOLSETS = {
"skills": {
"description": "Access skill documents with specialized instructions and knowledge",
"tools": ["skills_categories", "skills_list", "skill_view"],
"tools": ["skills_list", "skill_view"],
"includes": []
},
@ -142,7 +142,7 @@ TOOLSETS = {
# MoA
"mixture_of_agents",
# Skills
"skills_categories", "skills_list", "skill_view",
"skills_list", "skill_view",
# Browser
"browser_navigate", "browser_snapshot", "browser_click",
"browser_type", "browser_scroll", "browser_back",
@ -170,7 +170,7 @@ TOOLSETS = {
# Vision - analyze images sent by users
"vision_analyze",
# Skills - access knowledge base
"skills_categories", "skills_list", "skill_view",
"skills_list", "skill_view",
# Cronjob management - let users schedule tasks
"schedule_cronjob", "list_cronjobs", "remove_cronjob"
],
@ -185,7 +185,7 @@ TOOLSETS = {
# Vision - analyze images
"vision_analyze",
# Skills - access knowledge base
"skills_categories", "skills_list", "skill_view",
"skills_list", "skill_view",
# Cronjob - let users schedule reminders
"schedule_cronjob", "list_cronjobs", "remove_cronjob"
],
@ -204,7 +204,7 @@ TOOLSETS = {
# Vision
"vision_analyze",
# Skills
"skills_categories", "skills_list", "skill_view",
"skills_list", "skill_view",
# Cronjob management
"schedule_cronjob", "list_cronjobs", "remove_cronjob"
],