ragflow copilot-instructions.md

Coding instructions for Copilot when working on a RAGFlow-style project. They outline the basic setup, expected folders, and conventions such as making small changes, logging new flows, and updating tests.

In plain words
What is it for?
Getting oriented in the project, running its Python application, locating API and service code, and adding tests for behavior changes.
Why use it?
They give Copilot a quick operating guide so it knows where code belongs and how changes should be checked. The setup and verification commands are partly placeholders, so they may need completion.

Instructions file for GitHub Copilot

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.

agentmods
npx agentmods add instructions/infiniflow/ragflow/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/infiniflow/ragflow

Made for: GitHub Copilot.

Per session 156 This file is loaded in full into every session.
When invoked 156 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.00156 $0.00156
Opus 5 $0.00078 $0.00078
Sonnet 5 $0.00031 $0.00031
Haiku 4.5 $0.00016 $0.00016

Measured yesterday against content hash 0fc68ea78263, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ragflow copilot-instructions.md scanned grade A with 1 finding 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.

Makes network callslowCapability

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

- (fill) curl http://127.0.0.1:8000/health
.github/copilot-instructions.md · 23 lines

What it actually says

Project instructions for Copilot

How to run (minimum)

  • Install:
    • python -m venv .venv && source .venv/bin/activate
    • pip install -r requirements.txt
  • Run:
    • (fill) e.g. uvicorn app.main:app --reload
  • Verify:

Project layout (what matters)

  • app/: API entrypoints + routers
  • services/: business logic
  • configs/: config loading (.env)
  • docs/: documents
  • tests/: pytest

Conventions

  • Prefer small, incremental changes.
  • Add logging for new flows.
  • Add/adjust tests for behavior changes.
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 · 23 lines · 156 tokens per session scan A 0fc68ea78263

Subscribe to this mod's changes

ragflow copilot-instructions.md is an instructions file published in the GitHub repository infiniflow/ragflow (89,646 stars, last pushed yesterday), licensed Apache-2.0. It adds 156 tokens to every session, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

rag CLAUDE.md

Instructions for NVIDIA-AI-Blueprints/rag, covering nvidia rag blueprint, project structure, development commands, backend (python) and optional: ragas benchmark cli (see scripts/eval/readme.md).

NVIDIA-AI-Blueprints/rag · 1,215 tokens

rag AGENTS.md

Instructions for NVIDIA-AI-Blueprints/rag, covering nvidia rag blueprint, project structure, development commands, backend (python) and optional: ragas benchmark cli (see scripts/eval/readme.md).

NVIDIA-AI-Blueprints/rag · 951 tokens

powerbrain CLAUDE.md

Instructions for nuetzliches/powerbrain, covering claude.md — powerbrain context engine, project overview, architecture, directory structure and components and ports.

nuetzliches/powerbrain · 13,337 tokens

grounded-forge CLAUDE.md

Instructions for chrisgagne/grounded-forge, covering grounded-forge, system instructions, what this repo is, build system, corpus layout and skills layout: substrate vs corpus-bound.

chrisgagne/grounded-forge · 3,658 tokens

grounded-forge AGENTS.md

Instructions for chrisgagne/grounded-forge, covering agents.md — grounded-forge, read these first, non-negotiable: source integrity, tiers: what you may cite as evidence and editing discipline.

chrisgagne/grounded-forge · 1,115 tokens

FileSearchStore-extension GEMINI.md

Instructions for tanaikech/FileSearchStore-extension: You are an expert in managing File Search Stores for Gemini API using all tools of the MCP server "file-search-store-extension".

tanaikech/FileSearchStore-extension · 25 tokens