Skip to main content

SKILL_LIMITS

@retinue/monorepo


@retinue/monorepo / backend/src / SKILL_LIMITS

Variable: SKILL_LIMITS

const SKILL_LIMITS: object

Defined in: backend/src/skills/index.ts:45

Limits mirroring the constraints already enforced on workspace_agent_skills, so a ported tenant skill cannot violate them on the way in.

Type Declaration​

descriptionMaxLength​

readonly descriptionMaxLength: 1024 = 1024

descriptionMinLength​

readonly descriptionMinLength: 20 = 20

instructionsMaxLength​

readonly instructionsMaxLength: 20000 = 20_000

maxLoadedPerRun​

readonly maxLoadedPerRun: 5 = 5

Per run, to bound what load_skill can pull into context.

maxSkills​

readonly maxSkills: 25 = 25

Per tenant.

nameMaxLength​

readonly nameMaxLength: 64 = 64

namePattern​

readonly namePattern: RegExp