feat: add agent skills and use_agent to /strands command#48
Open
agent-of-mkmeral wants to merge 1 commit intostrands-agents:mainfrom
Open
feat: add agent skills and use_agent to /strands command#48agent-of-mkmeral wants to merge 1 commit intostrands-agents:mainfrom
agent-of-mkmeral wants to merge 1 commit intostrands-agents:mainfrom
Conversation
Contributor
|
I don't want to set up separate workflows. it should be under the same strands command so it works in all repos where we have strands command already |
Contributor
Integrates new capabilities directly into the existing /strands command instead of a separate /strands-beta workflow, so all repos with /strands get the new features automatically. Changes to existing files: - process-input.cjs: Add adversarial-test and release-digest modes - agent_runner.py: Add use_agent tool + AgentSkills plugin loading - action.yml: Checkout and copy agent-skills to working directory New files: - agent-skills/task-adversarial-tester/SKILL.md - agent-skills/task-release-digest/SKILL.md New /strands commands: - /strands adversarial-test — Break PRs with edge case tests - /strands release-digest — Generate release digests with sub-agents Existing commands unchanged. Skills load gracefully — if agent-skills/ directory doesn't exist or AgentSkills plugin isn't available, the agent works exactly as before.
7e65ade to
d2cc8ed
Compare
Author
|
Reworked per your feedback — everything is now integrated into the existing What changedBefore (6 new files, 0 modifications):
After (3 modifications, 2 new files):
How it worksAny repo with
If the |
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
Adds agent skills (SKILL.md format) and
use_agent(sub-agent orchestration) to the existing/strandscommand. All repos that already have/strandsset up get the new capabilities automatically — no new workflows or actions needed.Changes to Existing Files
process-input.cjsadversarial-testandrelease-digestmode routingagent_runner.pyuse_agenttool +AgentSkillsplugin loadingaction.ymlagent-skills/and copy to working directoryNew Files
agent-skills/task-adversarial-tester/SKILL.mdagent-skills/task-release-digest/SKILL.mduse_agentsub-agentsNew Commands
/strands adversarial-test/strands release-digestExisting commands (
/strands,/strands implement,/strands review,/strands refine,/strands release-notes) are unchanged.Design
/strandscommand. No new workflows, actions, or parsers needed.AgentSkillsplugin oragent-skills/directory aren't available, the agent works exactly as before. No breaking changes.SKILL.mdformat from AgentSkills plugin. Existing modes still use SOPs.use_agentincluded — Enables orchestrator patterns where the agent spawns sub-agents for parallel work.Closes the intent from #43. cc @mkmeral