Repository navigation
feat: per-agent skills with workspace precedence (#79 1c) - #83
Merged
Merged
Conversation
loadSkills(config, agentId) layers agents/<id>/skills/ over the global dir, per-agent winning by name (workspace skills = highest precedence, per openclaw). resolveSkillsForRun rewrites container paths per root — global at /workspace/skills (ro mount), per-agent under the workspace mount at /workspace/agent/skills. Command bridge and commands.list respect the agent's skills too.
This was referenced Jun 12, 2026
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.
Last alignment piece of #79:
agents/<id>/skills/loads on top of the global skillsDir, per-agent overriding by name — the precedence openclaw's workspace doc specifies, and the #47 deferred item. No new mount: per-agent skills ride the existing workspace mount (/workspace/agent/skills); global stay at the read-only/workspace/skills. The skill bridge (/skills, user-invocable commands) andcommands.listrespect the agent's skills via ctx.agentId. Verified live: a creed living only inagents/main/skills/surfaced in Scuttle's index and was read+applied from the per-agent path. Tests 166/166 (2 new: precedence, dual path rewrite).