Agent Skill · Microsoft 365 Copilot

lookup-schema

Look up Copilot Studio YAML schema definitions. Use when the user asks about schema structure, element properties, or how to use a specific YAML kind.

Provider: Microsoft 365 Copilot Path in repo: skills/lookup-schema/SKILL.md

Skill body

Lookup Schema Definition

Look up and explain a Copilot Studio YAML schema definition.

Instructions

  1. Run the schema lookup script to find the definition:
    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js lookup $ARGUMENTS
    
  2. If the definition is not found, search for similar definitions:
    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js search $ARGUMENTS
    
  3. If the definition contains $ref references that need resolution, use:
    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js resolve $ARGUMENTS
    
  4. Present the schema definition in a readable format, explaining:
    • What the element does (from the description)
    • Required properties
    • Optional properties and their types
    • Any related definitions that might be useful

Example

User: /lookup-schema SendActivity

Response should include the full schema definition and explain how to use it in YAML.

Skill frontmatter

user-invocable: false argument-hint: allowed-tools: Bash(node *schema-lookup.bundle.js *) agent: copilot-studio-advisor