Idle Days • AI Agent SDK
idle_days: Days since the skill was last used (or created if never used).
idle_days
Method
</div>
This is a method of the SkillProperties class in the models module.
Days since the skill was last used (or created if never used).
Returns None when no timestamp is available. Used by lifecycle curator plugins to decide active -> stale -> archived transitions.
Signature
def idle_days() -> Optional[float]Returns
ResponseField
Optional[float]The result of the operation.
Uses
datetime.fromisoformatdatetime.nowdelta.total_seconds
Source
View on GitHubpraisonaiagents/skills/models.py at line 308