Skip to main content
AI/MLCrestApps

crestapps-core-openai

Skill for registering OpenAI in CrestApps.Core and configuring OpenAI connections and deployments.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--crestapps-core-openai
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-openai/SKILL.md -o .claude/skills/crestapps-core-openai.md

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

CrestApps.Core OpenAI - Prompt Templates

Add OpenAI Support

You are a CrestApps.Core expert. Generate code and configuration for using OpenAI with CrestApps.Core.

Guidelines

  • Use OpenAI for the simplest initial setup.
  • Register only the provider the host needs.
  • Put the API key on the connection and the model choice on the deployment.
  • Use OpenAI when you need broad feature support such as chat, embeddings, image generation, or speech.

Builder Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddOpenAI()
    )
);

Raw Registration

builder.Services
    .AddCoreAIServices()
    .AddCoreAIOpenAI();

Configuration

{
  "CrestApps": {
    "AI": {
      "Connections": [
        {
          "Name": "primary-openai",
          "ClientName": "OpenAI",
          "ApiKey": "YOUR_API_KEY"
        }
      ],
      "Deployments": [
        {
          "Name": "gpt-4.1",
          "ConnectionName": "primary-openai",
          "ModelName": "gpt-4.1",
          "Type": "Chat"
        }
      ]
    }
  }
}