answer.AnswerSkill

class answer.AnswerSkill(name: str | None = None)

Bases: neurocore.skills.base.AsyncSkill

Skill whose process() is an async coroutine.

Subclass this instead of Skill when your process() needs to await. The executor detects coroutines automatically via inspect.iscoroutinefunction.

skill_meta
async process(context: flowengine.FlowContext) flowengine.FlowContext

Execute component logic.

The main processing method. Must be implemented by subclasses.

Parameters:

context – Current flow context with accumulated data

Returns:

Updated flow context (may be the same instance)