CommunityWriting & Editinggithub.com

un1tz3r0/rfc-skill

Claude Code skill: look up, search and render IETF RFCs — the original hand-wrapped 72-column text verbatim, or reflowed to markdown. Full-text search across all ~9,800 RFCs, section extraction, and obsolescence tracking.

What is rfc-skill?

rfc-skill is a Claude Code agent skill that claude Code skill: look up, search and render IETF RFCs — the original hand-wrapped 72-column text verbatim, or reflowed to markdown. Full-text search across all ~9,800 RFCs, section extraction, and obsolescence tracking.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add un1tz3r0/rfc-skill

Installed? Explore more Writing & Editing skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

/rfc — IETF RFC lookup

The block below is generated live from the RFC Editor's own documents and metadata index. It is the actual specification text — read it as normative and quote from it directly rather than paraphrasing from memory.

!python3 "${CLAUDE_SKILL_DIR}/scripts/rfc_tool.py" $ARGUMENTS


Following up. Re-run the engine directly for anything else (it is read-only and caches to ~/.cache/rfc-skill/):

python3 "${CLAUDE_SKILL_DIR}/scripts/rfc_tool.py" <ids-or-flags>
  • <number> — the original 72-column text, verbatim in a fence. BCP14 / STD97 expand to their member RFCs. --markdown reflows it (headings, prose unwrapped, diagrams and ABNF left fenced); --info prints metadata only.
  • --toc then --section <n> — do this for anything large. RFC 9110 is ~500 KB; dumping it whole wastes the context window and gets truncated. The outline lists every section with its size, and --section 5.6.1 prints just that subtree. --grep PAT -C 3 finds matching lines with context.
  • --list QUERY — search by title + abstract + keywords (default), or restrict with --title / --abstract / --content (full text). --glob / --regex switch QUERY from plain substring to a pattern.
  • Filters: --status, --stream, --year 2015-2020, --author, --number, --current (not obsoleted), --obsolete, --std (STD/BCP/FYI members only).

Check whether a spec is still in force. Obsoleted RFCs are marked ~~(obsolete)~~ in listings and carry a warning in --info; the metadata card links what superseded them. RFC 2616 is not the current HTTP spec — RFC 9110 is. When the user names an old RFC, say so.

Ranking is a heuristic. Results are ordered by where the query hit (title beats abstract) and by signals of canonicality (subseries membership, length, maturity). For a broad umbrella term ("ipv6", "dns") the base spec may not lead — add --std --current to surface the RFC that is the standard, and look for the [STD86]-style badge in listings.

If nothing matches, broaden the query, drop filters, or try --regex. Full-text --content search only reaches RFCs whose text is cached or reachable within --max-fetch; narrow with --year / --number / --status, or run --sync once to cache the whole corpus for exhaustive offline searching.

Related Skills