ragflow-deploy

ragflow-deploy is a skill for Claude Code from infiniflow/ragflow. It costs 69 tokens per session (623 once invoked), scanned B, original, Apache-2.0.

A deployment guide for running RAGFlow as a self-hosted service with Docker Compose. Docker Compose starts RAGFlow and its supporting services from configuration files.

In plain words
What is it for?
Use it to install, upgrade, configure, health-check, or troubleshoot a RAGFlow server on a Linux or ARM64 machine.
Why use it?
It covers host requirements, release matching, passwords, ports, health checks, and model setup that can otherwise make a new installation fail or remain exposed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ragflow plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to install, upgrade, configure, health-check, or troubleshoot a RAGFlow server on a Linux or ARM64 machine.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/infiniflow/ragflow/ragflow-deploy
About the project

RAGFlow is an open-source Retrieval-Augmented Generation engine that combines document retrieval, context management, and agent capabilities to help build AI applications. Developers use it to turn complex data into searchable, context-aware systems through workflows, datasets, and agent templates; the catalogue entries support working with RAGFlow.

infiniflow/ragflow · 95,117 stars · on GitHub · ragflow.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add infiniflow/ragflow --skill ragflow-deploy
Clone the repo
git clone --depth 1 https://github.com/infiniflow/ragflow

Made for: Claude Code.

Or install ragflow, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ragflow-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/infiniflow/ragflow/ragflow-deploy/github.svg)](https://agentmods.dev/skills/infiniflow/ragflow/ragflow-deploy)
Your own site
<a href="https://agentmods.dev/skills/infiniflow/ragflow/ragflow-deploy"><img src="https://agentmods.dev/badge/skills/infiniflow/ragflow/ragflow-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ragflow-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/infiniflow/ragflow/ragflow-deploy"><img src="https://agentmods.dev/badge/skills/infiniflow/ragflow/ragflow-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 623 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00623
Opus 5.5 $0.00028 $0.00249
Sonnet 5.5 $0.00014 $0.00125
Haiku 4.5 $0.00007 $0.00062

Measured yesterday against content hash bca4b0e5fc87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ragflow-deploy scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo sysctl -w vm.max_map_count=262144 # persist in /etc/sysctl.conf

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://localhost/api/v1/system/healthz # add SVR_WEB_HTTP_PORT if changed
plugins/ragflow/skills/ragflow-deploy/SKILL.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deploying RAGFlow

Reference: docs/quickstart.mdx, docker/README.md, docker/.env.

Start the server

# Elasticsearch (the default document engine) needs this on the Docker host
sysctl vm.max_map_count
sudo sysctl -w vm.max_map_count=262144   # persist in /etc/sysctl.conf

git clone https://github.com/infiniflow/ragflow.git
cd ragflow/docker
git checkout v1.0.0                      # or another release tag
# Before first `up`: set a unique ADMIN_DEFAULT_PASSWORD in docker/.env
# (used only when the superuser is created) and restrict host access to
# ADMIN_SVR_HTTP_PORT (default 9381).
docker compose -f docker-compose.yml up -d
  • RAGFLOW_IMAGE in docker/.env must match the checked-out tag.
  • docker/.env controls DOC_ENGINE, service ports and dependency credentials. Change default passwords before exposing the host.
  • Images exist for Linux x86-64 and ARM64; Docker picks the right one.

Check it is up

docker ps
docker compose logs ragflow-cpu
curl -f http://localhost/api/v1/system/healthz   # add SVR_WEB_HTTP_PORT if changed

Wait for the health check to return 200 before opening http://<host> in a browser and registering or logging in.

First-time setup

  1. Avatar → User settings → Model providers: add a provider instance with its API key/base URL, then add a Chat model and an Embedding model.
  2. Under Set default models, pick the Chat and Embedding defaults.
  3. Create an API key (guide) for the SDK, HTTP API and MCP endpoint.

Troubleshooting

  • Refusing to start: database was migrated by a newer version on a development checkout: set RAGFLOW_DEV_MODE=true in .env for local dev only and rerun Compose. Keep it false in production.
  • Elasticsearch crash-looping usually means vm.max_map_count is too low (on Docker Desktop, set it inside its Linux VM).
  • After editing .env or service_conf.yaml.template, recreate the containers so the entrypoint re-renders the template: docker compose up -d --force-recreate.

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 66 lines · 69 tokens per session scan B bca4b0e5fc87

Subscribe to this mod's changes

ragflow-deploy is a skill published in the GitHub repository infiniflow/ragflow (95,117 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 623 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-03.

Related

ragflow-deploy compared with skills from other repositories

ragflow-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ragflow-deployinfiniflow/ragflowSkill95ktodayApache-2.0B69Claude Code
ragericrisco/rsc-harnessSkill707yesterdayMITA79Claude Code, Codex
pinecone-quickstartpinecone-io/pinecone-cursor-pluginSkill321d agoMITA94Cursor
pinecone-n8npinecone-io/pinecone-cursor-pluginSkill321d agoMITA67Cursor
pinecone-full-text-searchpinecone-io/pinecone-cursor-pluginSkill321d agoMITA179Cursor
pinecone-clipinecone-io/pinecone-cursor-pluginSkill321d agoMITA74Claude Code, Cursor
pinecone-helppinecone-io/pinecone-cursor-pluginSkill321d agoMITA52Cursor