Skip to main content
AI/MLCrestApps

crestapps-core-copilot-orchestrator

Skill for GitHub Copilot orchestrator setup, GitHub OAuth mode, and BYOK mode in CrestApps.Core.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--crestapps-core-copilot-orchestrator
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/CrestApps/CrestApps.AgentSkills/HEAD/plugins/crestapps-core/skills/crestapps-core-copilot-orchestrator/SKILL.md -o .claude/skills/crestapps-core-copilot-orchestrator.md

Drops the SKILL.md into .claude/skills/crestapps-core-copilot-orchestrator.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

CrestApps.Core Copilot Orchestrator - Prompt Templates

Add the Copilot Orchestrator

You are a CrestApps.Core expert. Generate code and configuration for the Copilot orchestrator in CrestApps.Core.

Guidelines

  • Use the Copilot orchestrator when the host should run through the GitHub Copilot Extensions SDK.
  • Support the configured state explicitly with NotConfigured, GitHubOAuth, or ApiKey.
  • Use GitHub OAuth for per-user Copilot subscription access.
  • Use BYOK mode for a shared OpenAI-compatible endpoint.
  • Provide an ICopilotCredentialStore implementation when GitHub OAuth is enabled.

Registration

builder.Services
    .AddCoreAIServices()
    .AddCoreAIOrchestration()
    .AddCoreAICopilotOrchestrator();

Resolve by Name

var orchestrator = resolver.Resolve("copilot");

BYOK Configuration

{
  "CopilotOptions": {
    "AuthenticationType": "ApiKey",
    "ProviderType": "openai",
    "BaseUrl": "https://api.openai.com/v1",
    "ApiKey": "sk-...",
    "DefaultModel": "gpt-4o",
    "WireApi": "completions"
  }
}

GitHub OAuth Configuration

{
  "CopilotOptions": {
    "AuthenticationType": "GitHubOAuth",
    "ClientId": "Iv1.abc123",
    "ClientSecret": "your-client-secret",
    "Scopes": ["user:email", "read:org"]
  }
}