Repository navigation
feat(api): return Skill behaviors from skills.get - #553
Merged
Merged
Conversation
#520 tells chat agents to follow a Skill's markdown when they have no shell, and that path skipped the approval stop skilld run applies. The public skills.get answer now carries the behaviors the Skill page finds, and the MCP tool, /agent.md, and the skilld-registry Skill tell an agent to show any that need approval and wait before it follows the Skill. Fetch-only agents read the JSON answer, so they get the behaviors too.
1 of 6 tasks
skilld 3.6.5 published skilld-sdk 0.2.0, whose skills.get contract requires the behaviors this branch now fills.
harlan-zw
marked this pull request as ready for review
October 7, 2026 05:10
# Conflicts: # layers/mcp/shared/mcp-tools.ts
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.
🔗 Linked issue
None. Closes the gap #520 opened, which Harlan asked to fix.
❓ Type of change
📚 Description
#520 tells chat agents with no shell to follow a Skill's
markdownfromget_skill. That path skipped the approval stopskilld runapplies before remote code, credential reads, and the other behaviors that need approval.The public
skills.getanswer now carriesbehaviors, the same list the Skill page shows, with each location's path and line. The MCP server instructions, the MCP section of/agent.md, and theskilld-registrySkill tell an agent to show any behavior with tieraskand wait for approval before it follows the Skill. Theget_skilldescription only describes the field, since Claude's directory review rejects behaviour instructions in a tool description (#548). Fetch-only agents now read the JSON answer instead of the raw SKILL.md, so they get the behaviors too.Every instruction states the scope: the site matches SKILL.md and the file names only, and
skilld runchecks every file.The branch pins skilld-sdk 0.2.0, which skilld 3.6.5 published from skilld-dev/skilld#221. The contract's server schema requires
behaviors, so the pin and the presenter ship together in this pull request.