Class SkillImportService
- Namespace
- Oscova.Agents.Skills
- Assembly
- Oscova.Agents.dll
Stages, validates, and installs skills into the on-disk skills directory.
public sealed class SkillImportService : ISkillImportServiceInheritance
Implements
Inherited Members
Constructors
- SkillImportService(Func<string, string>, ILogger<SkillImportService>)
-
Creates a skill importer beneath a caller-selected skills root.
Methods
- ImportAgentAuthoredMarkdownAsync(string, string, AgentAuthoredSkillContext, CancellationToken)
-
Imports a complete agent-authored SKILL.md document after stamping trusted provenance.
- ImportAsync(string, string, Stream, CancellationToken)
-
Imports a single markdown or zip skill package for the specified user.
- ReplaceAgentAuthoredMarkdownAsync(string, string, string, AgentAuthoredSkillContext, CancellationToken)
-
Replaces an existing agent-authored SKILL.md document after validating ownership provenance.