— No reviews yet
0 installs
15 views
0.0% view→install
Install
$ agentstack add skill-brifl-coding-agent-orchestration-rag-index ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Rag Index? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
rag-index
Purpose
Prototype utilities for building a repo index used by retrieval-augmented prompts. The workflow is scan -> index -> retrieve, with a one-shot pipeline for ad-hoc use.
Scripts
scanner.py— recursive directory scanner that emits deterministic JSON manifestsindexer.py— chunk-aware SQLite index builder and lexical search (build,search)retrieve.py— prompt-context formatter that consumes chunk-level search results (retrieve,pipeline)
How to use
- Generate a manifest (scanner):
python3 scanner.py --output manifest.json- Common options:
--file-types .py .md--max-depth 2--exclude "*.venv*" "*.git*"--statsto print exclusion counts
- Build/update an index (indexer):
python3 indexer.py build --manifest manifest.json --output index.db- Incremental behavior:
- unchanged files are skipped
- changed files update only changed chunks
- removed files/chunks are deleted
- Search the index (indexer):
python3 indexer.py search "query" --index index.db --top-k 5- Returns chunk-level records (
path,rel_path,start_line,end_line,chunk_id,snippet)
- Retrieve prompt-ready context (retrieve):
python3 retrieve.py "query" --index index.db --top-k 5- Useful options:
--max-context-chars 8000hard output budget--max-per-file 3diversity cap--mode lex|sem|hybrid(semuses TF-IDF cosine;hybridblends lexical + semantic scores)
- One-shot pipeline (retrieve):
python3 retrieve.py pipeline "query" --dirs- Optional:
--index /tmp/rag.dbto persist index--max-depth 2--file-types .py .md- This runs scan -> build -> retrieve in one command.
When to use RAG
Use RAG when:
- the question depends on repository-specific behavior or contracts
- the answer needs exact symbols, paths, config keys, or line ranges
- the agent is uncertain and needs grounded evidence from code/docs
Do not use RAG when:
- the question is purely generic knowledge
- the user already provided the exact snippet needed
- the target file is already fully in active context and retrieval adds no value
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: brifl
- Source: brifl/coding-agent-orchestration
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.