Synapse.Orchestrator.Skill (Synapse v0.1.1)

View Source

Data structure representing a discovered skill artefact.

Skills are intentionally lightweight: metadata is always available, while the body (instructions) is loaded on demand to support progressive disclosure.

Summary

Types

source()

@type source() :: :synapse | :claude

t()

@type t() :: %Synapse.Orchestrator.Skill{
  allowed_tools: [String.t()],
  body: String.t() | nil,
  body_loaded?: boolean(),
  dependencies: [String.t()],
  description: String.t(),
  id: String.t(),
  instructions_path: String.t(),
  metadata: map(),
  name: String.t(),
  path: String.t(),
  source: source(),
  version: String.t() | nil
}