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
str
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
Methods
from_metadata()
Parse an automation block from a skill’s
metadata mapping.Internal & Generic Methods
Internal & Generic Methods
- to_dict: Convert to dictionary, excluding None values.
Source
View on GitHub
praisonaiagents/skills/models.py at line 146
