Skip to content
Back to skills

Ragflow

ASecurity

Universal Ragflow API client for RAG operations. Create datasets, upload documents, run chat queries against knowledge bases. Self-hosted RAG platform integration.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
businessjavascriptjavabashnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill ragflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ragflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ragflow
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-ragflow/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-ragflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ragflow
description: Universal Ragflow API client for RAG operations. Create datasets, upload documents, run chat queries against knowledge bases. Self-hosted RAG platform integration.
version: 1.0.2
author: Ania
env:
  RAGFLOW_URL:
    description: Ragflow instance URL (e.g., https://rag.example.com)
    required: true
  RAGFLOW_API_KEY:
    description: Ragflow API key (use least-privilege key, can manage datasets/upload files)
    required: true
metadata:
  clawdbot:
    emoji: "πŸ“š"
    requires:
      bins: ["node"]
---

# 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

```bash
# 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`:

```bash
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

```javascript
// 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?');
```

Files in this skill

  • SKILL.md2.2 KB
  • _meta.json461 B
  • lib/api.js5.4 KB
  • scripts/ragflow.js6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.