Security v1.0.0

pixelvault-setup

Set up PixelVault CLI — install the CLI and configure API key authentication. Use when the user wants to configure...

facundofarias 更新于 2026-07-04 1 浏览
下载 SKILL

技能说明

Set up PixelVault CLI — install the CLI and configure API key authentication. Use when the user wants to configure PixelVault, "set up image hosting", "connect PixelVault", get an API key for image uploads, or when pixelvault-upload fails due to missing auth.

使用场景

Install and configure the PixelVault CLI for image hosting.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/pixelvault-setup
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 16 kB
SKILL.md text/markdown
---
name: pixelvault-setup
description: Set up PixelVault CLI — install the CLI and configure API key authentication. Use when the user wants to configure PixelVault, "set up image hosting", "connect PixelVault", get an API key for image uploads, or when pixelvault-upload fails due to missing auth.
disable-model-invocation: true
---

# PixelVault Setup

Install and configure the PixelVault CLI for image hosting.

## Steps

### 1. Check if CLI is installed

```bash
which pixelvault
```

If not found, install it:

```bash
npm install -g pixelvault-cli
```

### 2. Check if already configured

```bash
pixelvault whoami --json
```

If this succeeds, the user is already set up. Show them their current config and ask if they want to reconfigure.

### 3. Configure authentication

Ask the user which option they prefer:

**Option A — Existing API key:**
If the user already has a PixelVault API key, set it directly:

```bash
pixelvault config set api_key <their-key>
```

**Option B — Environment variable:**
For CI/CD or headless usage, suggest adding to their shell profile:

```bash
export PIXELVAULT_API_KEY=pv_live_xxx
```

**Option C — Create new account:**
If the user doesn't have an account, register:

```bash
pixelvault register
```

This will prompt for email and password, create the account, and auto-save the API key.

### 4. Verify

Confirm setup works:

```bash
pixelvault whoami
```

Should show email, project ID, and masked API key.

### 5. Done

Tell the user they're ready to upload images with `/pixelvault-upload <file>`.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。