[PR #5444] [MERGED] Show agent skills, flows, and MCP tools in chat tools menu #5446

Closed
opened 2026-06-05 15:21:23 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5444
Author: @shatfield4
Created: 4/14/2026
Status: Merged
Merged: 4/22/2026
Merged by: @timothycarambat

Base: masterHead: 5370-feat-show-agent-skills-in-tools-menu-in-main-chat


📝 Commits (10+)

  • 20a11f6 show agent skills, flows, and MCP tools in collapsible sections in chat tools menu
  • 408ea1c Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat
  • d7df261 fix tools menu toggle disabled bypass, add border-none to buttons, and useMemo improvements
  • 67a64e3 Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat
  • 578fdeb replace mcp server cache with loading state for mcp servers
  • 0d9eec1 Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat
  • 9e91f96 enable sub-skill management
  • 7f59a6f refactor
  • d227501 Translations for chat tools menu improvements (#5448)
  • 617c5f3 Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat

📊 Changes

35 files changed (+987 additions, -134 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillRow/index.jsx (+17 -10)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillSection/index.jsx (+57 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/index.jsx (+232 -121)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/skillRegistry.js (+81 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useAgentSkillsState.js (+182 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useSkillSections.js (+187 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useSubSkillPreferences.js (+78 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/index.jsx (+1 -1)
📝 frontend/src/locales/ar/common.js (+6 -0)
📝 frontend/src/locales/ca/common.js (+6 -0)
📝 frontend/src/locales/cs/common.js (+6 -0)
📝 frontend/src/locales/da/common.js (+6 -0)
📝 frontend/src/locales/de/common.js (+6 -0)
📝 frontend/src/locales/en/common.js (+6 -0)
📝 frontend/src/locales/es/common.js (+6 -0)
📝 frontend/src/locales/et/common.js (+6 -0)
📝 frontend/src/locales/fa/common.js (+6 -0)
📝 frontend/src/locales/fr/common.js (+6 -0)
📝 frontend/src/locales/he/common.js (+6 -0)
📝 frontend/src/locales/it/common.js (+6 -0)

...and 15 more files

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #5370

Translations PR: https://github.com/Mintplex-Labs/anything-llm/pull/5448

Description

  • Groups agent skills, custom skills, agent flows, and MCP server tools into collapsible sections in the tools menu
  • Adds search input when total tool count exceeds threshold (10 tools)
  • Load MCP servers in bg with caching
  • Full keyboard navigation through section headers and items, with scroll into view
  • Improve UX for toggle switches by making row clickable to enable/disable tool

Visuals (if applicable)

Screenshot 2026-04-15 at 1 28 51 PM Screenshot 2026-04-15 at 1 29 42 PM

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5444 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/22/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `5370-feat-show-agent-skills-in-tools-menu-in-main-chat` --- ### 📝 Commits (10+) - [`20a11f6`](https://github.com/Mintplex-Labs/anything-llm/commit/20a11f66290918329e4f7f788d46cb2d629f5e1e) show agent skills, flows, and MCP tools in collapsible sections in chat tools menu - [`408ea1c`](https://github.com/Mintplex-Labs/anything-llm/commit/408ea1cfe55b064f8cdf0a17be38ac6e477d4507) Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat - [`d7df261`](https://github.com/Mintplex-Labs/anything-llm/commit/d7df261bec859c46b7ab3064e742f43607b72110) fix tools menu toggle disabled bypass, add border-none to buttons, and useMemo improvements - [`67a64e3`](https://github.com/Mintplex-Labs/anything-llm/commit/67a64e31616bd03b19cfb7e1cdb9001a6fc7a8f3) Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat - [`578fdeb`](https://github.com/Mintplex-Labs/anything-llm/commit/578fdebaa44928c25b349c417c34a536f5a01450) replace mcp server cache with loading state for mcp servers - [`0d9eec1`](https://github.com/Mintplex-Labs/anything-llm/commit/0d9eec1c371f12bd02ae6762df910c948e870231) Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat - [`9e91f96`](https://github.com/Mintplex-Labs/anything-llm/commit/9e91f96db9dcc6c27847e78960f5fe4a1454e2c1) enable sub-skill management - [`7f59a6f`](https://github.com/Mintplex-Labs/anything-llm/commit/7f59a6fae9353ef032bb51a648c88e2f78eb70d8) refactor - [`d227501`](https://github.com/Mintplex-Labs/anything-llm/commit/d2275011e5f9d18a92a4d9595a6b976106208ed1) Translations for chat tools menu improvements (#5448) - [`617c5f3`](https://github.com/Mintplex-Labs/anything-llm/commit/617c5f3e3976ea5370e948e1e720cbb47bdf3472) Merge branch 'master' into 5370-feat-show-agent-skills-in-tools-menu-in-main-chat ### 📊 Changes **35 files changed** (+987 additions, -134 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillRow/index.jsx` (+17 -10) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillSection/index.jsx` (+57 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/index.jsx` (+232 -121) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/skillRegistry.js` (+81 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useAgentSkillsState.js` (+182 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useSkillSections.js` (+187 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/useSubSkillPreferences.js` (+78 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/index.jsx` (+1 -1) 📝 `frontend/src/locales/ar/common.js` (+6 -0) 📝 `frontend/src/locales/ca/common.js` (+6 -0) 📝 `frontend/src/locales/cs/common.js` (+6 -0) 📝 `frontend/src/locales/da/common.js` (+6 -0) 📝 `frontend/src/locales/de/common.js` (+6 -0) 📝 `frontend/src/locales/en/common.js` (+6 -0) 📝 `frontend/src/locales/es/common.js` (+6 -0) 📝 `frontend/src/locales/et/common.js` (+6 -0) 📝 `frontend/src/locales/fa/common.js` (+6 -0) 📝 `frontend/src/locales/fr/common.js` (+6 -0) 📝 `frontend/src/locales/he/common.js` (+6 -0) 📝 `frontend/src/locales/it/common.js` (+6 -0) _...and 15 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #5370 Translations PR: https://github.com/Mintplex-Labs/anything-llm/pull/5448 ### Description <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> - Groups agent skills, custom skills, agent flows, and MCP server tools into collapsible sections in the tools menu - Adds search input when total tool count exceeds threshold (10 tools) - Load MCP servers in bg with caching - Full keyboard navigation through section headers and items, with scroll into view - Improve UX for toggle switches by making row clickable to enable/disable tool ### Visuals (if applicable) <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> <img width="961" height="626" alt="Screenshot 2026-04-15 at 1 28 51 PM" src="https://github.com/user-attachments/assets/2a8a0239-8b20-49e6-9539-1e7b0573780f" /> <img width="1068" height="619" alt="Screenshot 2026-04-15 at 1 29 42 PM" src="https://github.com/user-attachments/assets/b97cfb71-9149-44db-aae6-a384c9cacb07" /> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated (if applicable) - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:23 -04:00
yindo closed this issue 2026-06-05 15:21:23 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5446