Load skills metadata before agent execution (synchronous).
Runs before each agent interaction to discover available skills from all configured sources. Re-loads on every call to capture any changes.
Skills are loaded in source order with later sources overriding earlier ones if they contain skills with the same name (last one wins).
before_agent(
self,
state: SkillsState,
runtime: Runtime,
config: RunnableConfig
) -> SkillsStateUpdate | None| Name | Type | Description |
|---|---|---|
state* | SkillsState | Current agent state. |
runtime* | Runtime | Runtime context. |
config* | RunnableConfig | Runnable config. |