Skill Automation • AI Agent SDK

SkillAutomation: Optional proactive-automation descriptor parsed from a skill's frontmatter.

SkillAutomation

Defined in the models module.

AI Agent

Optional proactive-automation descriptor parsed from a skill’s frontmatter.

This is a protocol-only contract (no heavy imports): it carries just enough for a wrapper consumer (the scheduler’s consent-first `SuggestionEngine and DeliveryRouter`) to propose and, on user consent, materialise a scheduled, self-delivering job. Nothing here runs a job or delivers a result — it is the bridge data that lets an installed skill say “run me on this schedule”.

Parsed from `metadata.praisonai.automation` so older parsers ignore it.

Attributes: schedule: Schedule expression, e.g. “cron:0 8 mon-fri”, “daily”, “*/30m”, “at:<iso>” (required). deliver: Delivery target token, e.g. “origin”, “<platform>”, “<platform>:<chat>[:<thread>]”, “all” (optional). prompt: Task the scheduled run should perform (optional).

Properties

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

Methods

Internal & Generic Methods
  • to_dict: Convert to dictionary, excluding None values.

Source

View on GitHub

praisonaiagents/skills/models.py at line 146


Related Documentation