# Interface RoleSkillMapping

Maps an agent role to its required and optional skill categories. Defines which skills should be loaded for agents of a specific role.

interface RoleSkillMapping {
role: AgentRole;
requiredCategories: readonly SkillCategory[];
optionalCategories?: readonly SkillCategory[];
maxSkills?: number;
}

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:24

##### Index

### Properties

role
requiredCategories
optionalCategories?
maxSkills?

## Properties

### `Readonly` role

role: AgentRole

The agent role this mapping applies to

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:26

### `Readonly` requiredCategories

requiredCategories: readonly SkillCategory[]

Categories that must be loaded for this role

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:28

### `Optional` `Readonly` optionalCategories

optionalCategories?: readonly SkillCategory[]

Categories that may be loaded if available

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:30

### `Optional` `Readonly` maxSkills

maxSkills?: number

Maximum number of skills to load for this role (overrides default)

- Defined in packages/nexus-agents/src/agents/skills/skill-loader-types.ts:32