# Function getSkillSetForTask

Skills module exports (Voyager-style skill library) - Issue #528 Split from agents.ts for file size compliance (Issue #285)

- getSkillSetForTask(
  agent: IAgent,
  task: Task,
  loader: ISkillLoader,
  ): Result<LoadedSkillSet, SkillLoaderError>

  Gets the full loaded skill set for a task execution.

  Unlike `getSkillsForTask`, this returns the complete `LoadedSkillSet` including execution order and missing required information.

  #### Parameters

  - agent: IAgent

    The agent that will execute the task

  - task: Task

    The task to get skills for

  - loader: ISkillLoader

    The skill loader to use

  #### Returns Result<LoadedSkillSet, SkillLoaderError>

  Result with LoadedSkillSet or SkillLoaderError on failure

  - Defined in packages/nexus-agents/src/agents/skills/skill-loader-integration.ts:98