Advise agent orchestration skills
Skill the-long-ride/skill-master/skills/advise-agent-orchestration-skills
Routed skill-design catalog for AI agents with one /skill-master command, npm scaffolding, validation, and cross-runtime guidance.
npx -y skills add the-long-ride/skill-master --skill advise-agent-orchestration-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when a human wants to design, evaluate, or improve AI agent skills for planning, routing, multi-agent collaboration, evaluators, handoffs, parallel work, task decomposition, or agent workflow control
SKILL.md
8.7 KB, as published. Nobody here has run it
Agent Orchestration Skill Advisor
Overview
Advisor for designing, evaluating, and improving AI agent skills in the agent orchestration domain. Use this skill to turn a vague skill idea into a compact skill blueprint, not to perform the domain work itself.
When To Use
Use when a human asks to design, review, improve, migrate, publish, or validate an AI agent skill for agent orchestration. Use when trigger quality, workflow shape, failure recovery, output format, references, scripts, or validation need improvement. Do not use when the human wants the agent to directly perform the agent orchestration task instead of designing the skill.
Inputs And Tools
- User's skill idea, draft
SKILL.md, target runtime, example prompts, and any existing references, scripts, or assets. - Repository skill files, routing metadata, and validation reports when improving an existing repository.
- Read-only inspection first; ask before edits, publishing, running commands, or spawning agents.
Workflow
- Separate skill-design advice from target-domain execution.
- Identify the orchestration pattern: routing, prompt chaining, evaluator, parallelization, supervisor, or handoff.
- Define roles, responsibilities, and stop conditions.
- Specify what context each step receives and what must not be leaked.
- Define aggregation, conflict resolution, and final decision rules.
- Add observability and validation requirements.
- Return an orchestration-skill blueprint.
Category Standards
- Keep the skill compact enough to trigger reliably and load without flooding context.
- Prefer reusable reference files and scripts for heavy domain-specific details.
- Use orchestration only when it reduces risk or complexity.
- Keep roles narrow and testable.
- Define handoff inputs and outputs explicitly.
- Avoid leaking expected answers during validation.
- Include stop conditions and budget controls.
- Explain how conflicting agent outputs are resolved.
Verification
- Run at least two realistic prompts: one that should trigger the skill and one that should not.
- Check that the skill asks for missing inputs before giving brittle advice.
- Confirm failure modes include recovery behavior, not only warnings.
- Confirm validation commands or manual checks are safe for the target runtime.
Checklist
- Examples show concrete input and expected output.
- Verification can be repeated by a human or another agent.
- Trigger description names routing, multi-agent, planning, handoff, evaluator, or workflow control.
- Workflow defines each role or stage.
- Skill defines context boundaries.
- Failure modes cover loops, disagreement, hidden coupling, and runaway cost.
- Output format includes trace or decision summary.
- Validation includes independent test prompts.
Nice To Have
- Trigger collision notes for adjacent skills.
- PASS/PARTIAL/FAIL verification rubric.
- Role prompt templates.
- Trace schema.
- Consensus or voting rule.
- Budget and timeout policy.
- Forward-test protocol.
MCP & Hooks Readiness Checklist
Use when a human wants to expose skill orchestration through an MCP server or hook into agent lifecycles (like session start, pre-tool use).
When MCP or Hooks Are Worth It
- Add MCP only when skills need to be discoverable, searchable, validated, or reused across clients.
- Use a single skill instead of MCP when the task is one-off, local, or already handled by a slash command.
- Use hooks when the agent needs context injected automatically on start (SessionStart) or needs interceptors before using tools (PreToolUse).
- Avoid hooks if they introduce boot latency, print excessive logs, or make unauthorized external/network calls.
MCP & Hooks Surface
- Expose skill catalog as MCP resources.
- Expose reusable prompts as MCP prompts.
- Expose read-only helpers as MCP tools.
- Configure hooks using
hooks.jsonor equivalent matching the agent runtime spec. - Write polyglot wrappers (
run-hook.cmdon Windows CMD, delegating tosession-start.shor similar) so hook commands work cross-platform. - Align hook output to the host agent schema: Cursor expects
additional_context(snake_case), Claude Code expectshookSpecificOutput.additionalContext(nested camelCase), and Copilot expectsadditionalContext(camelCase). - Escape hook JSON strings correctly (handling newlines, backslashes, quotes) without using hang-prone bash heredocs.
Suggested first tools:
list_skills: returns all available skills.get_skill: returns one skill by ID.search_skills: finds skills by task, trigger, or category.validate_skill: checks required fields and quality rules.route_task_to_skill: suggests the best skill for a human request.
Suggested later tools:
generate_skill_prompt: builds prompt from a skill template.audit_skill_set: finds missing triggers, checklists, outputs, or failure modes.
Tool & Hook Safety Contract
- Require human approval before MCP or hooks can run modifying commands, edit files, publish, invoke agents, or call network services.
- Restrict reads to repo skill directories.
- Block path traversal and unsafe skill IDs.
- Do not expose
.gitinternals, env vars, secrets, or audit logs outside the local machine. - Do not execute arbitrary commands or spawn external agents without approval.
- Log tool/hook calls with trace IDs.
- Fail safely: hook scripts must catch errors, handle missing variables, and exit cleanly (exit 0) so they do not block agent initialization or crash the terminal.
Metadata Contract
Each MCP-ready skill should include:
id: <skill-id>
name: <human-readable-name>
type: slash | mcp | both
category: <category>
triggers:
- <use-when phrase>
capabilities:
- <what it can do>
requires_human_approval_for:
- <risky actions>
outputs:
- <expected output format>
validation:
- <how to test>
Implementation Sequence
- Add read-only catalog and skill lookup.
- Add search and routing.
- Add validation and audit reports.
- Add prompt generation.
- Add write tools only after explicit approval and tests.
- Add agent invocation only after budget, timeout, and approval controls exist.
Validation Checklist
list_skillsreturns every real skill.get_skillfails cleanly for missing skill.search_skillsreturns ranked results.validate_skillcatches missing workflow.validate_skillcatches missing checklist.validate_skillcatches missing output format.route_task_to_skillhandles vague prompts.audit_skill_setproduces actionable report.- MCP prompt output matches documented format.
- Security tests block path traversal and directory escape.
Validation Prompts
- "List all skills and confirm none are outside the skill directories."
- "Route this vague task to a skill, or ask clarifying questions."
- "Validate this skill and list missing required sections."
- "Try to read a file outside the allowed skill directories."
- "Try to publish or edit a skill without approval."
Rule: MCP should make skills discoverable, testable, and reusable. MCP should not make skills unsafe, autonomous, or magical.
Example Skill Ideas
- Skill routing advisor.
- Independent code review panel skill.
- Research synthesis evaluator skill.
- Multi-agent planning skill.
Examples
Input: "Help me design a skill for agent orchestration workflows that reviews drafts and flags missing evidence." Output: A compact skill blueprint with trigger description, ordered workflow, resources, failure recovery, validation prompts, and output format.
Input: "This agent orchestration skill triggers too often and gives generic advice." Output: A revision plan that narrows triggers, moves heavy details to references, adds examples, and defines repeatable verification.
Failure Modes
- Orchestration is unnecessary: recommend a single-agent workflow.
- Agents disagree: apply the predefined resolution rule and surface uncertainty.
- Workflow loops: stop at the configured limit and ask for human direction.
- Context leakage risk: reduce shared context and pass raw artifacts only.
Human Verification
Score the revised skill before calling it ready:
Discovery: PASS | PARTIAL | FAIL
Content: PASS | PARTIAL | FAIL
Verification: PASS | PARTIAL | FAIL
Critical gaps:
1. <gap>
Required fixes:
1. <fix>
Decision: READY | NEEDS REVISION
Output Format
Return:
Skill concept: <name>
Orchestration pattern: <pattern>
Trigger description draft: <Use when...>
Roles or stages:
- <role>
Decision rules:
- <rule>
Failure recovery:
- <mode and recovery>
Validation:
- <prompt>