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

# parse Skill File • TypeScript AI Agent SDK

> parseSkillFile: API reference for parseSkillFile

# parseSkillFile

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

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

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def parseSkillFile(content: string) -> Skill
```

### Returns

<ResponseField name="Returns" type="Skill">
  The result of the operation.
</ResponseField>

## Uses

* `n`
* `parseYamlFrontmatter`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/skills/index.ts#L33">
  `src/skills/index.ts` at line 33
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Files" icon="file" href="/docs/js/files" />

  <Card title="JS Skills" icon="wand-magic-sparkles" href="/docs/js/skills" />

  <Card title="JS Skills CLI" icon="terminal" href="/docs/js/skills-cli" />
</CardGroup>
