# IQIYIHAO Creator Open Agentic SDK — Installation Guide

Short guide for agents and developers: install the CLI, install bundled skills, then save your API token.

## 1. Install the CLI

Requires **Node.js 18+**. Install globally from the IQIYIHAO Creator Open site (HTTPS tarball):

```bash
npm install -g https://creator-open.iqiyi.com/cli/iqiyihao.tgz
```

Check it works:

```bash
iqiyihao --help
```

## 2. Install skills

The **iqiyihao** package includes bundled skills. After the CLI is on your `PATH`, install them by passing the **skill root directory** your agent reads from. Each skill is written as **`<path>/<skill-id>/SKILL.md`**.

For example, with Cursor:

```bash
iqiyihao skills install ~/.cursor/skills
```

List bundled skill ids:

```bash
iqiyihao skills list
```

See install roots this CLI has recorded (and common default folders when files are present):

```bash
iqiyihao skills list-installs
```

**Where to look:** skills are bundled in the installed **iqiyihao** CLI package and copied into your chosen skill root by `iqiyihao skills install`. Open `<skill-root>/<skill-id>/SKILL.md` in the agent’s skill tree to see when to use each skill. Restart the agent app if it does not pick up new files.

## 3. Configure the API token

Create a token in **IQIYIHAO Creator Open** → token / API key management (values start with `iq-`). Then save it for the CLI:

```bash
iqiyihao auth <YOUR_API_TOKEN>
```
