← 返回 Skills 市场
jiejingke

Ragflow Workbench 1.0.0 En

作者 JieJingKe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ragflow-workbench-1-0-0-en
功能描述
RAGFlow Workbench — end-to-end RAG platform on Windows: Docker install check, admin bootstrap and API key generation, default model setup (Embedding/Chat/Rer...
使用说明 (SKILL.md)

\r \r

RAGFlow Workbench\r

\r Prerequisites: This skill requires uv (Python package manager) and docker (container runtime).\r \r Prefer using scripts from scripts/. Use --json by default to ensure structured output for automation.\r User-facing output follows references/output-format.md.\r \r ---\r \r

Smart Execution Flow\r

\r Determine the RAGFlow environment readiness from the .env file to avoid redundant checks:\r \r

┌─ Check if .env contains a valid RAGFLOW_API_KEY?\r
│\r
├─ ✅ Yes (connection established)\r
│    Skip environment checks, use API directly\r
│    bootstrap_admin.py / configure_default_models.py do not need re-execution\r
│    Start from API workflows: datasets.py / upload.py / search.py etc.\r
│\r
├─ ❌ No (first-time use)\r
│    ⚠️ Note: The following steps involve environment detection and privileged operations;\r
│       you MUST confirm with the user before executing.\r
│\r
│    1. Ask the user for their intent (present these options; add more as context allows):\r
│       a. "Have you not yet downloaded and installed RAGFlow locally? Would you like me to help you download and install it?"\r
│       b. "Do you already have a local RAGFlow instance running? Please provide the address and login credentials, or an existing API Key — I will test the connection automatically and let you know the result."\r
│\r
│    2. Execute based on user response:\r
│       ┌─ User chooses fresh install (a)\r
│       │   Guide user to download Docker Desktop → deploy RAGFlow → wait for readiness\r
│       │   Then continue with check → bootstrap → configure workflow\r
│       │\r
│       ├─ User provides existing instance info (b1)\r
│       │   1. Test connection with provided address/credentials\r
│       │   2. Success → write to .env, skip env checks in future sessions\r
│       │   3. Failure → report specific error, guide troubleshooting\r
│       │\r
│       ├─ User provides existing API Key (b2)\r
│       │   1. Test key validity\r
│       │   2. Valid → write to .env, skip all bootstrap steps\r
│       │\r
│       └─ Other cases → handle flexibly based on actual user response\r
│\r
│    3. Automated execution after confirmation (choose as appropriate):\r
│       - check_windows_install.py --json    Environment check (after fresh install)\r
│       - bootstrap_admin.py --json          Bootstrap + API Key\r
│       - configure_default_models.py --json Configure default models\r
│       → .env now contains RAGFLOW_API_KEY; future sessions skip env checks\r
│\r
└─ 🚀 Enter API Workflow\r
```\r
\r
**How it works**: After `bootstrap_admin.py` succeeds, it writes `RAGFLOW_API_URL` and `RAGFLOW_API_KEY` to `.env`. As long as these values exist and are non-empty, the environment is considered validated and `check_windows_install.py` and other setup scripts will not be re-run.\r
\r
---\r
\r
## Use Cases\r
\r
- First-time RAGFlow setup on Windows, ready out of the box\r
- Auto-create admin user and obtain API Key\r
- Configure default Embedding / Chat / Rerank models\r
- Create knowledge bases, upload files, trigger parsing, check parse status\r
- Search knowledge bases, manage datasets/documents, create chat sessions\r
\r
## Full Lifecycle Workflow\r
\r
```\r
check_windows_install.py  →  bootstrap_admin.py  →  configure_default_models.py\r
                                                          ↓\r
                          datasets.py / upload.py / parse.py / parse_status.py\r
                                                          ↓\r
                          search.py / create_chat.py\r
```\r
\r
### Quick Start\r
\r
```bash\r
uv venv\r
.\.venv\Scripts\Activate.ps1\r
copy .env.example .env\r
\r
uv run python scripts/check_windows_install.py --json\r
uv run python scripts/bootstrap_admin.py --json\r
uv run python scripts/configure_default_models.py --json\r
```\r
\r
### Knowledge Base & Document Management\r
\r
```bash\r
uv run python scripts/datasets.py create "Sample Knowledge Base" --json\r
uv run python scripts/upload.py DATASET_ID /path/to/file.pdf --json\r
uv run python scripts/parse.py DATASET_ID DOC_ID --json\r
uv run python scripts/parse_status.py DATASET_ID --json\r
```\r
\r
### Search & Chat\r
\r
```bash\r
uv run python scripts/search.py "query text" DATASET_ID --json\r
uv run python scripts/create_chat.py "Chat Name" --dataset-ids DATASET_ID --llm-id qwen2-7b-instruct --json\r
```\r
\r
## Full Command Reference\r
\r
See [`references/command-reference.md`](references/command-reference.md) for all commands and parameters, including:\r
- `datasets.py` list / info / create / delete\r
- `upload.py` list / delete + file upload\r
- `parse.py` / `parse_status.py` / `stop_parse_documents.py`\r
- `search.py` full retrieval parameters\r
- `update_dataset.py` / `update_document.py`\r
- `list_models.py` / `create_chat.py`\r
\r
## Execution Constraints\r
\r
- **Delete operations** must first list candidates and obtain explicit user confirmation\r
- Only delete using explicit `dataset_id` / `document_id`\r
- Upload does not automatically trigger parsing; only run `parse.py` when the user requests it\r
- `parse.py` only initiates tasks; progress must be checked via `parse_status.py`\r
- If `parse_status.py` returns a `progress_msg`, echo it verbatim; when status is `FAIL`, treat it as the primary error and guide the user to [`references/troubleshooting.md`](references/troubleshooting.md)\r
- `bootstrap_admin.py` and `configure_default_models.py` require Docker containers accessible via `docker exec`\r
\r
## Output Rules\r
\r
- Follow `references/output-format.md`\r
- Use tables for 3+ structured data items\r
- Preserve `api_error`, `error`, `message` and similar fields as-is\r
- Do not fabricate progress percentages, failure reasons, or model configuration results
\r
\r
安全使用建议
Install only if you are comfortable with this skill creating or using a RAGFlow admin account and storing secrets locally. Before use, change the default admin password, keep .env out of source control and screenshots, restrict its permissions where possible, and prefer HTTPS or strictly local-only HTTP for any credential-bearing setup.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The scripts match the stated RAGFlow workbench purpose: Docker/container checks, admin bootstrap, model setup, dataset/document management, parsing, search, and chat creation against configured RAGFlow endpoints.
Instruction Scope
The skill instructs the agent to ask for confirmation before setup/privileged steps and before deletes, but the delete and bootstrap scripts themselves do not enforce confirmation if run directly.
Install Mechanism
No package install hook or hidden persistence mechanism was found in the artifacts; the skill consists of markdown instructions and Python helper scripts.
Credentials
Docker access, local HTTP calls, file upload, and RAGFlow mutation APIs are proportionate to the stated workflow, with endpoints defaulting mostly to localhost or host.docker.internal.
Persistence & Privilege
bootstrap_admin.py writes RAGFLOW_API_KEY and the plaintext RAGFLOW_ADMIN_PASSWORD to .env, prints the API key in output, uses a default admin password, and does not set restrictive file permissions or clearly warn users that .env contains secrets.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ragflow-workbench-1-0-0-en
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ragflow-workbench-1-0-0-en 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of RAGFlow Workbench skill. - Supports end-to-end RAGFlow lifecycle on Windows, including installation guidance, environment checks, admin and API key setup, and default model configuration. - Provides workflows for creating and managing knowledge bases, uploading and parsing documents, and running search and chat sessions. - Smart detection of existing installations to skip redundant steps and automate environment setup. - Ensures user confirmation before privileged or destructive actions; includes robust error reporting and troubleshooting links. - Structured output and automation-friendly commands, following documented formats and constraints.
元数据
Slug ragflow-workbench-1-0-0-en
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ragflow Workbench 1.0.0 En 是什么?

RAGFlow Workbench — end-to-end RAG platform on Windows: Docker install check, admin bootstrap and API key generation, default model setup (Embedding/Chat/Rer... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 Ragflow Workbench 1.0.0 En?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ragflow-workbench-1-0-0-en」即可一键安装,无需额外配置。

Ragflow Workbench 1.0.0 En 是免费的吗?

是的,Ragflow Workbench 1.0.0 En 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ragflow Workbench 1.0.0 En 支持哪些平台?

Ragflow Workbench 1.0.0 En 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ragflow Workbench 1.0.0 En?

由 JieJingKe(@jiejingke)开发并维护,当前版本 v1.0.0。

💬 留言讨论