Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/skills / registry / SkillRegistryOptions

Interface: SkillRegistryOptions

Defined in: packages/skills/src/registry/index.ts:48

Options accepted by createSkillRegistry.

Properties

PropertyModifierTypeDescriptionDefined in
activationStrategy?readonly"metadata-only" | "eager"Default activation behaviour. When 'metadata-only' (default), activate(...) returns the parsed activation request without invoking Skill.body(); callers (the agent runtime) then invoke the body resolver themselves so the runtime can attach a span. When 'eager', the registry resolves the body before returning, suitable for tests.packages/skills/src/registry/index.ts:57
stampTool?readonlySkillToolStamperOptional stamping function (RP-11). When supplied, activate() runs each skill's pre-built Tool[] through it and surfaces the results on ActivatedSkill.tools. Without it, activate() surfaces no tools - the agent runtime resolves and stamps them itself.packages/skills/src/registry/index.ts:64