# Crestapps Core Orchestration

> Skill for the default CrestApps.Core orchestration pipeline, tool calling, progressive scoping, retrieval, and streaming responses.

- **Type:** Skill
- **Install:** `agentstack add skill-crestapps-crestapps-agentskills-crestapps-core-orchestration`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [CrestApps](https://agentstack.voostack.com/s/crestapps)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [CrestApps](https://github.com/CrestApps)
- **Source:** https://github.com/CrestApps/CrestApps.AgentSkills/tree/main/plugins/crestapps-core/skills/crestapps-core-orchestration
- **Website:** https://crestapps.com/

## Install

```sh
agentstack add skill-crestapps-crestapps-agentskills-crestapps-core-orchestration
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# CrestApps.Core Orchestration - Prompt Templates

## Configure the Default Orchestrator

You are a CrestApps.Core expert. Generate code and guidance for the default orchestration pipeline in CrestApps.Core.

### Guidelines

- Use the default orchestrator when the host needs tool calling, retrieval, streaming, and response routing in one pipeline.
- Register orchestration through `AddAISuite(...)` or `AddCoreAIOrchestration()`.
- Inject `IOrchestrator` for the active orchestrator and `IOrchestratorResolver` when the host chooses among named orchestrators.
- Let the orchestrator handle progressive tool scoping instead of manually injecting very large tool sets.

### Raw Registration

```csharp
builder.Services
    .AddCoreAIServices()
    .AddCoreAIOrchestration()
    .AddCoreAIOpenAI();
```

### Streaming Example

```csharp
public sealed class ChatService(IOrchestrator orchestrator)
{
    public async IAsyncEnumerable StreamAsync(OrchestrationContext context)
    {
        await foreach (var update in orchestrator.ExecuteStreamingAsync(context))
        {
            if (!string.IsNullOrEmpty(update.Text))
            {
                yield return update.Text;
            }
        }
    }
}
```

### Important Services

| Service | Purpose |
|---|---|
| `IOrchestrator` | Main agentic execution loop |
| `IOrchestratorResolver` | Resolve named orchestrators |
| `IToolRegistry` | Merge tools from all providers |
| `IAIToolsService` | Tool metadata and access control |
| `IOrchestrationContextBuilder` | Build orchestration context through handlers |

### Default Scoping Guidance

- No scoping overhead below the configured threshold.
- Token-based relevance scoping for medium tool counts.
- LLM planning for very large tool sets or MCP-heavy catalogs.
- Let planning failures degrade gracefully to token-based scoping.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [CrestApps](https://github.com/CrestApps)
- **Source:** [CrestApps/CrestApps.AgentSkills](https://github.com/CrestApps/CrestApps.AgentSkills)
- **License:** MIT
- **Homepage:** https://crestapps.com/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-crestapps-crestapps-agentskills-crestapps-core-orchestration
- Seller: https://agentstack.voostack.com/s/crestapps
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
