🤖 feat: add workspace universal skills path and concurrent loading#2423
Open
ammar-agent wants to merge 1 commit intomainfrom
Open
🤖 feat: add workspace universal skills path and concurrent loading#2423ammar-agent wants to merge 1 commit intomainfrom
ammar-agent wants to merge 1 commit intomainfrom
Conversation
Add support for workspace universal skills at .agent/skills and load skill roots concurrently to reduce latency on remote runtimes. - Include <projectRoot>/.agent/skills in default root resolution (scoped as universal/global precedence) - Concurrently resolve/list all skill roots and concurrently load per-skill descriptors - Concurrently probe candidate roots in readAgentSkill while preserving precedence ordering - Extend tests for workspace universal root, fallback semantics, and default roots - Update tool/docs descriptions for the new path and precedence --- _Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `bash.00`_ <!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.00 -->
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
Follow-up to #2419: add workspace universal skill loading from
.agent/skillsand parallelize skill root/descriptor loading to reduce latency (especially for remote runtimes).Background
The initial universal-path support added
~/.agents/skills, but users also keep universal skills in workspace-level.agent/skills. Also, skill discovery/read paths were still mostly serialized, which can amplify SSH latency.Implementation
<projectRoot>/.agent/skills.mux/skills~/.mux/skills<projectRoot>/.agent/skills~/.agents/skillsreadAgentSkillto probe candidate roots concurrently while preserving precedence in selection..agent/skills.Validation
bun test src/node/services/agentSkills/agentSkillsService.test.tsmake typecheckmake static-checkRisks
Low-to-moderate. This is a behavior-preserving refactor with more concurrency and one additional root, but it touches core discovery/read flow. Tests were expanded for precedence and fallback behavior.
Generated with
mux• Model:openai:gpt-5.3-codex• Thinking:xhigh• Cost:$0.00