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

# Retrieve a skill

> Get the full details of a skill.

Retrieves the complete [Skill](/computer-use-agents/skills/overview) object.

**Returns** the Skill object if the name is valid and you have access.

***

## Path parameters

<ParamField path="name" type="string" required>
  The skill's `name` (e.g. `extract-table-data` or `myorg/web-helper`). Slash-containing names are supported.
</ParamField>

***

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://agp.eu.hcompany.ai/api/v2/skills/extract-table-data" \
    -H "Authorization: Bearer $HAI_API_KEY"
  ```

  ```python Python theme={null}
  from hai_agents import Client

  client = Client()

  skill = client.skills.get_skill(name="extract-table-data")
  print(skill.body)
  ```

  ```typescript TypeScript theme={null}
  import { HaiAgentsClient } from "hai-agents";

  const client = new HaiAgentsClient();

  const skill = await client.skills.getSkill({ name: "extract-table-data" });
  console.log(skill.body);
  ```
</CodeGroup>

```json Response theme={null}
{
  "name": "extract-table-data",
  "description": "Extract structured data from HTML tables into JSON.",
  "body": "When you encounter an HTML table, extract all rows and columns into a JSON array of objects, using the headers as keys.",
  "source": null,
  "url_pattern": null
}
```

***

## Errors

| Status | Cause                                     |
| ------ | ----------------------------------------- |
| `404`  | Skill not found or you don't have access. |
