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

# Find Skill Md • AI Agent SDK

> find_skill_md: Find the SKILL.md file in a skill directory.

# find\_skill\_md

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**parser**](../modules/parser) module.

Find the SKILL.md file in a skill directory.

Prefers SKILL.md (uppercase) but accepts skill.md (lowercase).

## Signature

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

## Parameters

<ParamField query="skill_dir" type="Path" required={true}>
  Path to the skill directory
</ParamField>

### Returns

<ResponseField name="Returns" type="Optional[Path]">
  Path to the SKILL.md file, or None if not found
</ResponseField>

## Uses

* `path.exists`

## Used By

* [`discover_skills`](../functions/discover_skills)
* [`discover_skill`](../functions/discover_skill)
* [`SkillLoader.activate`](../functions/SkillLoader-activate)
* [`read_properties`](../functions/read_properties)
* [`validate`](../functions/validate)

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Skills Concept" icon="wand-magic-sparkles" href="/docs/docs/concepts/skills" />

  <Card title="Skills Feature" icon="star" href="/docs/docs/features/skills" />
</CardGroup>
