# Function checkPermissionBoundary

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

- checkPermissionBoundary(
  capabilities: SkillCapabilities,
  requestedPermissions: readonly SkillPermission[],
  ): boolean

  Checks if requested permissions are within the skill's permission boundary.

  #### Parameters

  - capabilities: SkillCapabilities

    The skill's capability configuration

  - requestedPermissions: readonly SkillPermission[]

    Permissions being requested for an operation

  #### Returns boolean

  True if all requested permissions are allowed

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