# Send Ragflow API Client to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ragflow",
    "name": "Ragflow API Client",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/angusthefuzz/ragflow",
    "canonicalUrl": "https://clawhub.ai/angusthefuzz/ragflow",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ragflow",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ragflow",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "lib/api.js",
      "scripts/ragflow.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ragflow",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T21:34:57.646Z",
      "expiresAt": "2026-05-14T21:34:57.646Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ragflow",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ragflow",
        "contentDisposition": "attachment; filename=\"ragflow-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ragflow"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ragflow"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ragflow",
    "downloadUrl": "https://openagent3.xyz/downloads/ragflow",
    "agentUrl": "https://openagent3.xyz/skills/ragflow/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ragflow/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ragflow/agent.md"
  }
}
```
## Documentation

### Ragflow API Client

Universal client for Ragflow — self-hosted RAG (Retrieval-Augmented Generation) platform.

### Features

Dataset management — Create, list, delete knowledge bases
Document upload — Upload files or text content
Chat queries — Run RAG queries against datasets
Chunk management — Trigger parsing, list chunks

### Usage

# List datasets
node {baseDir}/scripts/ragflow.js datasets

# Create dataset
node {baseDir}/scripts/ragflow.js create-dataset --name "My Knowledge Base"

# Upload document
node {baseDir}/scripts/ragflow.js upload --dataset DATASET_ID --file article.md

# Chat query
node {baseDir}/scripts/ragflow.js chat --dataset DATASET_ID --query "What is stroke?"

# List documents in dataset
node {baseDir}/scripts/ragflow.js documents --dataset DATASET_ID

### Configuration

Set environment variables in your .env:

RAGFLOW_URL=https://your-ragflow-instance.com
RAGFLOW_API_KEY=your-api-key

### API

This skill wraps Ragflow's REST API:

GET /api/v1/datasets — List datasets
POST /api/v1/datasets — Create dataset
DELETE /api/v1/datasets/{id} — Delete dataset
POST /api/v1/datasets/{id}/documents — Upload document
POST /api/v1/datasets/{id}/chunks — Trigger parsing
POST /api/v1/datasets/{id}/retrieval — RAG query

Full API docs: https://ragflow.io/docs

### Examples

// Programmatic usage
const ragflow = require('{baseDir}/lib/api.js');

// Upload and parse
await ragflow.uploadDocument(datasetId, './article.md', { filename: 'article.md' });
await ragflow.triggerParsing(datasetId, [documentId]);

// Query
const answer = await ragflow.chat(datasetId, 'What are the stroke guidelines?');
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: angusthefuzz
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T21:34:57.646Z
- Expires at: 2026-05-14T21:34:57.646Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ragflow)
- [Send to Agent page](https://openagent3.xyz/skills/ragflow/agent)
- [JSON manifest](https://openagent3.xyz/skills/ragflow/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ragflow/agent.md)
- [Download page](https://openagent3.xyz/downloads/ragflow)