Skip to content
Français

HarnessSkillOptions

import type { HarnessSkillOptions } from "@elie-laloum/outpost";
  • nameRequired
    string
    Unique skill name of 1 to 64 letters, digits, underscores or hyphens, passed by the model to load_skill.
  • descriptionRequired
    string
    Short description listed in the system instructions so the model knows when to load the skill.
  • instructionsRequired
    HarnessInstructionSource
    Instructions returned when the skill is loaded: text or a resolver receiving the sandbox, signal and model.
  • toolsOptional
    readonly (HarnessTool<unknown> | HarnessToolset)[] | undefined
    Tools or toolsets of the skill. They are offered to the model with the other tools, but a call is denied until the skill is loaded; names must be unique across the harness.
export interface HarnessSkillOptions {
  readonly name: string;
  readonly description: string;
  readonly instructions: HarnessInstructionSource;
  readonly tools?: readonly (HarnessTool | HarnessToolset)[];
}