# Quic RAG

> Use when answering QUIC protocol or RFC questions in this repository, especially section lookups, frames, transport parameters, ACK behavior, version negotiation, packet formats, error codes, or when grounded RFC citations are needed.

- Skill: `minhuw/quic-rag` (Agent Skill)
- Install (CLI): `npx skillmds@latest add minhuw/quic-rag`
- Raw SKILL.md: https://api.skillmd.com/api/skills/minhuw/quic-rag/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: minhuw (https://skillmd.com/u/minhuw)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/minhuw/quic-rag

---


# QUIC RAG

Use the repo-local QUIC specification knowledge base before answering protocol
questions in `coquic`.

## When to Use

- QUIC RFC or Internet-Draft questions grounded in the configured Qdrant RAG index
- Requests for exact section lookups or document citations
- Questions about frames, transport parameters, packet formats, recovery, congestion control, version negotiation, or error codes

## Workflow

1. Check readiness:
   - `nix run .#qdrant-dev -- status`
   - `rag/scripts/query-rag doctor --state-dir .rag`
2. If the shared backend is unavailable, run `nix run .#qdrant-dev -- start` and retry once.
3. Use the smallest fitting query:
   - `rag/scripts/query-rag get-section --doc rfc9000 --section-id 18.2`
   - `rag/scripts/query-rag get-section --doc draft-ietf-quic-qlog-main-schema-13 --section-id 1`
   - `rag/scripts/query-rag trace-term max_udp_payload_size`
   - `rag/scripts/query-rag lookup-term --term-type transport_parameter --name max_udp_payload_size`
   - `rag/scripts/query-rag related-sections --doc rfc9369 --section-id 5`
   - `rag/scripts/query-rag search-sections "ACK frame behavior" --top-k 5`
4. Cite the document IDs and section IDs from command output in the final answer.
5. If the index is not ready, rebuild it with an explicit source directory:
   `rag/scripts/build-index --source <source-dir> --state-dir .rag`.

## Don't Use

- Source-code implementation questions that are not asking about QUIC protocol behavior
- Non-QUIC repo workflow questions

