> ## 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.

# From Properties • AI Agent SDK

> from_properties: Create SkillMetadata from SkillProperties.

# from\_properties

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

> This is a method of the [**SkillMetadata**](../classes/SkillMetadata) class in the [**models**](../modules/models) module.

Create SkillMetadata from SkillProperties.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def from_properties(props: SkillProperties) -> 'SkillMetadata'
```

## Parameters

<ParamField query="props" type="SkillProperties" required={true}>
  SkillProperties instance with path set
</ParamField>

### Returns

<ResponseField name="Returns" type="'SkillMetadata'">
  SkillMetadata with location pointing to SKILL.md
</ResponseField>

## Uses

* `skill_md.exists`
* `cls`

## Used By

* [`LoadedSkill.metadata`](../functions/LoadedSkill-metadata)
* [`to_prompt`](../functions/to_prompt)

## Source

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