npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rag-skills

v1.0.1

Published

Agent skills for RAG: chunking strategies, retrieval methods, vector databases, and performance optimization

Readme

Rag-skills

A modular collection of best-practice guides and skill definitions for building Retrieval-Augmented Generation (RAG) systems. Designed for AI coding agents, agent frameworks, and teams that want a structured way to route RAG work to the right strategy.

Overview

RAG-skills consolidates actionable skills that help AI agents and builders improve RAG performance, choose appropriate vector databases, implement effective chunking strategies, optimize retrieval quality, and orchestrate multi-step RAG workflows.

Installation

Claude Code

Add this repository as a Claude Code plugin marketplace:

/plugin marketplace add Goodnight77/rag-skills

Then install the RAG skills plugin:

/plugin install rag-skills@rag-skills

Restart Claude Code after installation.

Skills CLI

Install with the Skills CLI:

npx skills add Goodnight77/rag-skills

This installs the root SKILL.md plus the native skill tree under skills/. Claude Code can discover category skills such as /chunking and specific skills such as /semantic-chunking.

Manual Usage

You can also clone the repository and reference the Markdown skills directly:

git clone https://github.com/Goodnight77/rag-skills.git

Then point your agent or coding assistant to the skills/ directory.

Note: This repository follows the Claude Code/Qdrant-style structure: category routers live at paths like skills/chunking/SKILL.md, and specific skills live at paths like skills/chunking/semantic-chunking/SKILL.md.

Skills by Decision Area

This repo is organized as a routing layer for RAG work. Agents can use the category and metadata in each skill file to decide which path to follow for a given problem, instead of treating the repo like a generic reference manual.

Chunking

Use these when the main problem is how to split source material into retrievable units.

Vector Databases

Use these when the main problem is choosing or operating the storage layer for embeddings and metadata.

Retrieval Strategies

Use these when the main problem is search quality, ranking, recall, or combining search methods.

Data Type Handling

Use these when the source content is code, APIs, diagrams, tables, or mixed media.

Performance Optimization

Use these when the problem is latency, throughput, cache behavior, or production efficiency.

RAG Agents

Use these when the problem is orchestration, delegation, or multi-step workflows.

Deployment

Use these when the problem is production rollout, reliability, or operationalization.

Evaluation Metrics

Use these when the problem is measurement, regression detection, or retrieval benchmarking.

  • Coming soon

Quick Start

For AI Agents

Read the frontmatter metadata, then route to the skill that best matches the user’s problem. Treat the repo as a decision tree for RAG tasks: chunking, retrieval, vector store choice, embeddings, performance, and workflow orchestration.

For Framework Integration

Build a lightweight index from the markdown frontmatter and use it to filter by category, tags, and task type. The goal is not to mirror all content in code, but to point an agent to the right skill or external implementation quickly.

Keep examples in the repo lightweight and point readers to external implementations instead of embedding long code samples.

Examples

Complete walkthroughs and reference implementations:

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Quick Contribution Steps

  1. Fork the repository
  2. Create a new skill file using templates/skill-template.md
  3. Ensure your skill follows the required structure
  4. Run validation: python scripts/validate-skills.py
  5. Submit a pull request

Skill File Format

Each skill follows a consistent structure with a short illustrative snippet, not a full implementation. See the template in templates/skill-template.md.

Scripts

  • validate-skills.py — Validate all skill files for format compliance
  • generate-index.py — Generate browsable INDEX.md and SKILLS.json

Project Status

This is an active open-source project. Skills are continuously added and updated as RAG best practices evolve.

Current statistics:

  • Native Skills: 28
  • Guide Skills: 23
  • Category Router Skills: 5
  • Categories: 5
  • Examples: 3

Run python scripts/generate-index.py for current statistics.

Acknowledgments

Built for the RAG community. Special thanks to contributors and the open-source RAG ecosystem.

License

MIT License — see LICENSE for details.