agentsclimarketplace

Rag systems

Skill charlieviettq/awesome-agent-skill/.claude/skills/rag-systems

Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).

Install
npx -y skills add charlieviettq/awesome-agent-skill --skill rag-systems

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Design retrieval-augmented generation pipelines—chunking, embeddings, retrieval, reranking, grounding, and evaluation. Use when building or improving doc Q&A, code search agents, or knowledge bases.

SKILL.md

1.7 KB, as published. Nobody here has run it

RAG systems

Pipeline stages

  1. Ingest — parse, clean, preserve structure (headings, tables).
  2. Chunk — size/overlap tuned to content type; keep metadata (source, section).
  3. Embed — consistent model; version stored with index.
  4. Retrieve — hybrid (keyword + vector) when recall matters.
  5. Rerank — optional cross-encoder for top-k precision.
  6. Generate — cite sources; refuse when context insufficient.

Chunking heuristics

ContentGuidance
DocsSplit on headings; 300-800 tokens typical
CodeFunction/class level; include path in metadata
TablesRow batches or markdown table blocks

Quality checks

  • Retrieval hit rate on golden questions
  • Answer grounded in retrieved chunks (no hallucinated citations)
  • Latency budget per query documented
  • Index refresh process defined

Failure modes

IssueMitigation
Missed relevant docHybrid search, query expansion, metadata filters
Wrong chunkSmaller chunks, reranker, parent-child retrieval
Stale indexVersion tag, scheduled re-embed
Prompt overflowSummarize chunks, dynamic top-k

Evaluation

  • Golden Q&A set with expected source doc/section.
  • Metrics: recall@k, answer correctness, citation accuracy.
  • Regression when changing embed model or chunk strategy.

Security

  • Respect ACLs at retrieval time; do not leak cross-tenant data in shared indexes.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.