> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Idle Days • AI Agent SDK

> idle_days: Days since the skill was last used (or created if never used).

# idle\_days

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**SkillProperties**](../classes/SkillProperties) class in the [**models**](../modules/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

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def idle_days() -> Optional[float]
```

### Returns

<ResponseField name="Returns" type="Optional[float]">
  The result of the operation.
</ResponseField>

## Uses

* `datetime.fromisoformat`
* `datetime.now`
* `delta.total_seconds`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/models.py#L235">
  `praisonaiagents/skills/models.py` at line 235
</Card>
