---
title: "Read one skill, including its files"
---

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

# Read one skill, including its files

Path: CloudRaker Workspace API › Playbooks

`GET /skills/{slug}`

A skill is instructions the agent reads on demand — it never executes, never dispatches and is never approval-gated (actions are the executable, gated layer). Fetches the tier that WINS this slug for the caller tenant (or, with `agentId`, for that agent) — never a merge across tiers. Authorization: any authenticated org member. 404 `skill_not_found` when no tier defines it. Response `{ data: Skill }` including `files`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `slug` (`getSkill.path.slug`; string, required)

## Query parameters

- `agentId` (`getSkill.query.agentId`; string, optional) — Include that agent’s own tier and resolve the slug as that agent would see it.
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/skills/<slug>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/skills/<slug>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/skills/<slug>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The winning skill.

#### Example

```json
{
  "data": {
    "slug": "string",
    "name": "string",
    "description": "string",
    "version": "string",
    "tier": "platform",
    "requires": {
      "actions": [
        "string"
      ]
    },
    "files": {
      "property1": "string",
      "property2": "string"
    }
  }
}
```

- `data` (`getSkill.response.200.data`; object, required)
  - `slug` (`getSkill.response.200.data.slug`; string, required)
  - `name` (`getSkill.response.200.data.name`; string, required)
  - `description` (`getSkill.response.200.data.description`; string, required)
  - `version` (`getSkill.response.200.data.version`; string, required)
  - `tier` (`getSkill.response.200.data.tier`; string, required) — Which tier won this slug. Higher tiers win the whole skill, reference files included.
    - one of `"platform"`, `"org"`, `"agent"`
  - `files` (`getSkill.response.200.data.files`; map<string>, required) — Markdown files keyed by filename. `SKILL.md` is required and carries the frontmatter (`name`, `description`, optional `requires:` action slugs); siblings are progressive-disclosure references the agent reads on demand.
  - `requires` (`getSkill.response.200.data.requires`; object, optional) — Action slugs the guidance assumes. Purely informational: a missing action adds a "not available here" banner to what the agent reads — it never gates the read.
    - `actions` (`getSkill.response.200.data.requires.actions`; array<string>, required)


Source: https://docs.cloudraker.com/workspace/api/playbooks/get-skill/index.md
