Table of Contents

Method CreateDiscoveryPrompt

Namespace
LMKit.Agents.Skills
Assembly
LM-Kit.NET.dll

CreateDiscoveryPrompt()

Creates a discovery prompt listing all available skills.

This is useful for system prompts that need to inform the agent about available skills without fully activating any of them.

public string CreateDiscoveryPrompt()

Returns

string

A formatted discovery prompt.

Examples

Creating a discovery prompt for system context:

var registry = new SkillRegistry();
registry.LoadFromDirectory("./skills");

var activator = new SkillActivator(registry);
string discoveryPrompt = activator.CreateDiscoveryPrompt();
systemPrompt = $"{basePrompt}\n\n{discoveryPrompt}";