Skip to content
Back to skills

Knowledge Rag

ASecurity

"Operate on BiSheng knowledge libraries, knowledge spaces, document

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
devopspythongobashnodefastapidockerdebuggingapifrontendbackend

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill knowledge-rag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Rag?

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

Security grade badge for Knowledge Rag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-knowledge-rag/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-knowledge-rag)

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: knowledge-rag
description: "Operate on BiSheng knowledge libraries, knowledge spaces, document
  ingestion, parser providers, RAG pipeline, Milvus/Elasticsearch recall, and
  knowledge workers."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# knowledge-rag

Use this sub-skill when a task touches BiSheng knowledge libraries, knowledge spaces, QA libraries, file upload/parse states, document parser providers, the Load → Transform → Ingest pipeline, Milvus + Elasticsearch dual recall, MinIO file artifacts, or `knowledge_celery` worker behavior.

## Start here

Run bundled helper commands from this sub-skill directory, or adjust the script path to this directory after import.


1. Inspect config-shaped text before debugging parser/storage problems:
   ```bash
   python scripts/check_knowledge_config.py --config <bisheng-checkout>/docker/bisheng/config/config.yaml
   ```
2. Read [references/workflows.md](references/workflows.md) for ingestion, parser, retrieval, and worker workflows.
3. Read [references/troubleshooting.md](references/troubleshooting.md) for parser, object storage, vector index, queue, and permission symptoms.

## Owned responsibilities

- Knowledge API/domain services under `src/backend/bisheng/knowledge/`.
- RAG pipeline files under `knowledge/rag/`, especially file pipelines, loader/provider selection, transformers, Milvus and Elasticsearch factories.
- `bisheng_langchain/rag/` retrievers, RAG pipeline, scoring, and rerank integration when used by BiSheng knowledge workflows.
- Knowledge Celery workers under `src/backend/bisheng/worker/knowledge/`.
- Tests under `src/backend/test/knowledge/`, `test/knowledge/rag/`, and safe config/service tests.
- Frontend knowledge-space or knowledge-library callers only at routing depth; UI rendering details belong to `frontend-apps`.

## Route sibling areas instead of duplicating them

- Use `identity-permissions-tenancy` for space visibility, OpenFGA/ReBAC, approval, tenant filtering, and cursor permission scans.
- Use `workflow-engine` for workflow RAG node execution outside the knowledge pipeline itself.
- Use `backend-core` for generic FastAPI router/envelope/service conventions.
- Use `frontend-apps` for Platform/Client knowledge pages and request wrappers.
- Use `deployment-maintenance` for Docker storage service startup and production config rollout.

## Non-negotiables

- Treat Load, Transform, and Ingest as separate stages when debugging: a loader success does not prove vector writes or preview cache.
- Preserve Milvus dense and Elasticsearch sparse/BM25 behavior when changing retrieval.
- Do not run external parser services, OCR downloads, or large document parsing as a smoke check unless the environment is approved.
- Use small fixtures for tests; do not require production MinIO/Milvus/ES for unit-level parser or service logic.
- Keep parser-provider credentials, endpoints, and object-storage secrets out of skill output and committed test fixtures.

Files in this skill

  • SKILL.md3 KB
  • references/troubleshooting.md3.2 KB
  • references/workflows.md3.3 KB
  • scripts/check_knowledge_config.py1.5 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.

Comments

Loading comments…

Newsletter

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