Skip to main content

Interface: SkillSegment

Defined in: packages/core/src/stream-segments/types.ts:295

Skill activation segment — a point-in-time marker that a Skill's instructions shaped this turn's prompt. Rendered inline in a timeline like a tool-call chip. Produced from the skill_activated stream event.

Extends

Properties

agentId?

optional agentId?: string

Defined in: packages/core/src/stream-segments/types.ts:20

Agent that produced this segment (populated in group chat contexts)

Inherited from

BaseSegment.agentId


agentName?

optional agentName?: string

Defined in: packages/core/src/stream-segments/types.ts:22

Display name of the agent

Inherited from

BaseSegment.agentName


avatarEmoji?

optional avatarEmoji?: string

Defined in: packages/core/src/stream-segments/types.ts:24

Avatar emoji for display

Inherited from

BaseSegment.avatarEmoji


id

id: string

Defined in: packages/core/src/stream-segments/types.ts:16

Unique identifier for React keys

Inherited from

BaseSegment.id


reason

reason: "keyword" | "load_skill"

Defined in: packages/core/src/stream-segments/types.ts:300

Why it was active this turn: a keyword match, or a prior load_skill call.


skill

skill: string

Defined in: packages/core/src/stream-segments/types.ts:298

The activated skill's name.


timestamp

timestamp: number

Defined in: packages/core/src/stream-segments/types.ts:18

Timestamp for ordering

Inherited from

BaseSegment.timestamp


type

type: "skill"

Defined in: packages/core/src/stream-segments/types.ts:296