Skip to content

feat: per-agent skills with workspace precedence (#79 1c) - #83

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-79-1c-skills
Jun 12, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-79-1c-skills

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

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) and commands.list respect the agent's skills via ctx.agentId. Verified live: a creed living only in agents/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).

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant