# Function createAttestation

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

- createAttestation(
  skillId: string,
  executorId: string,
  input: unknown,
  authorized: boolean,
  method: AuthorizationMethod,
  ): SkillAttestation

  Creates an attestation record for a skill execution.

  #### Parameters

  - skillId: string

    ID of the skill being executed

  - executorId: string

    ID of the agent executing the skill

  - input: unknown

    Input parameters for the skill

  - authorized: boolean

    Whether execution is authorized

  - method: AuthorizationMethod

    How authorization was determined

  #### Returns SkillAttestation

  A new SkillAttestation record

  - Defined in packages/nexus-agents/src/agents/skills/skill-security.ts:123