Get the FREE Ultimate OpenClaw Setup Guide →

orchestration-governance

npx machina-cli add skill victorgrein/spec-crew/orchestration-governance --openclaw
Files (1)
SKILL.md
2.3 KB

Orchestration Governance

Purpose

Route user requests to the correct specialist, enforce skill boundaries, and validate outputs before returning results.

Specialist Contracts

SpecialistPrimary purposeAllowed skillsPermission profile
builderBuild crews, agents, tasks, tools, memorycore-build, tools-expertnormal write/edit
flowFlows, state-management, routing, orchestration, decoratorsflowsnormal write/edit
auditorInvestigation, auditing, validationcore-build, flows, tools-expertread-only
docsDocumentation authoring and maintenancecore-build, flowswrite/edit only *.md; bash read-only

Routing Rules

  • Builder keywords: create, build, scaffold, setup, agent, task, crew, tool, memory
  • Flow keywords: flow, state, router, routing, orchestration, decorator, @start, @listen, @router
  • Auditor keywords: inspect, audit, investigate, trace, root cause, validate, performance analysis
  • Docs keywords: docs, readme, guide, documentation, architecture notes, standards

Canonical Command Ownership

  • /crew init -> builder
  • /crew inspect -> auditor
  • /crew fix -> auditor first, then builder/flow for implementation when needed
  • /crew evolve -> flow
  • /crew docs -> docs

Delegation Pattern

Write plain-language delegation with:

  1. Goal
  2. Context and file paths
  3. Specialist skill constraints
  4. Deliverables
  5. Validation criteria

Auditor Rule

Auditor executes read-only analysis and returns:

  • findings
  • risk assessment
  • recommendations
  • validation steps

Auditor does not patch files.

Validation Checklist

  • Chosen specialist matches intent and ownership
  • Delegation includes exact paths and constraints
  • Specialist used only allowed skills
  • Permission limits are respected
  • Output contract is complete and actionable

Supporting Files

  • Subagent directory: references/subagent-directory.md
  • Delegation patterns: references/delegation-patterns.md
  • Question templates: references/questioning-guide.md
  • Delegation template: assets/delegation-template.md

Source

git clone https://github.com/victorgrein/spec-crew/blob/main/templates/shared/skills/orchestration-governance/SKILL.mdView on GitHub

Overview

Orchestration governance routes user requests to the correct CrewAI specialist, enforces skill boundaries, and validates outputs before returning results. It defines specialist contracts (builder, flow, auditor, docs), routing rules, and delegation templates to ensure ownership, permissions, and auditability across builds, flows, audits, and documentation.

How This Skill Works

The skill maps intents to specialists using canonical commands and keyword groups (builder, flow, auditor, docs). It enforces permission profiles and allowed skills per contract, and relies on a Delegation Pattern with goal, context, constraints, and deliverables, plus a Validation Checklist to ensure the output is complete and actionable. Audits run read-only analyses and produce findings, risk assessments, and recommendations without patching files.

When to Use It

  • Routing a user request to the correct specialist based on ownership.
  • Enforcing allowed skills and permission profiles during tasks.
  • Delegating complex changes with goal, context, constraints, and a clear deliverable.
  • Auditing outputs with read-only analysis before delivery.
  • Updating or creating documentation with the docs specialist.

Quick Start

  1. Step 1: Identify intent and confirm ownership and required skills.
  2. Step 2: Use routing rules to map to the correct specialist and delegate.
  3. Step 3: Apply the delegation pattern and run the validation checklist before delivering.

Best Practices

  • Verify the chosen specialist matches the request's intent and ownership.
  • Include exact file paths and constraints in the delegation.
  • Restrict the specialist to only allowed skills and permissions.
  • Use the Validation Checklist to ensure outputs are complete and actionable.
  • Prefer auditor-based validation for risk analysis before changes.

Example Use Cases

  • /crew init routed to the builder to create a new crew, task, and tools.
  • Route /crew inspect to the auditor for read-only validation of artifacts.
  • Apply /crew fix with auditor first, then builder/flow for implementation.
  • Evolve processes with /crew evolve to update flows and state management.
  • Update docs with /crew docs to author or revise architecture notes and guides.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers