Index of every page on this site: llms.txt
All skills
Run it yourself

Read Oxide RFD contents, metadata, and images by number using rfd-cli. Use when an RFD comes up (e.g. "RFD 63", "what does the networking RFD say") and you need the actual text.

  • 1 file
  • 2.7 KB
  • Updated 5 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/david-crespo/dotfiles/rfd

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈46 tokens for metadata: the name and description. ≈644 when used: this file.

Description uses 2.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈183 characters, or 2.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

RFD

Oxide RFDs live in the oxidecomputer/rfd repo, but each RFD's content sits on its own branch, so the local clone (~/oxide/rfd) can't be grepped as a flat tree. The canonical source is the RFD API, which rfd-cli talks to. Prefer rfd-cli over poking at the repo.

rfd-cli is installed at ~/.local/bin/rfd-cli (invoke as rfd-cli, not rfd). All commands take -f json implicitly when piped; output is JSON.

Get an RFD's contents

rfd-cli view --number 63 | jq -r '.content'

.content is the canonical raw AsciiDoc (the only content field — view returns it once; meta is the same record minus .content). It begins with the :key: value attribute block and the = RFD N Title heading.

Useful metadata fields on the same record: .title, .state, .authors, .discussion (PR URL), .link (GitHub tree URL at the rendered commit), and .commit (the commit SHA the content was rendered from — needed for images).

rfd-cli view --number 63 | jq '{title, state, authors, discussion, link, commit}'

Search

Search hits the RFD index (Meilisearch) and returns section-level results — reasonable for finding which RFD/section discusses a topic, then view it.

rfd-cli search --q "boundary services" --limit 10 \
  | jq -r '.hits[] | "RFD \(.rfd_number) [#\(.anchor)] \(.hierarchy | map(select(.)) | join(" > "))"' \
  | sort -u

Each hit also has .content (the matching passage) and .formatted.content (same, with <em> around matched terms). It's keyword search, not semantic — try a few phrasings.

List

rfd-cli list | jq -r '.[] | "\(.rfd_number)\t\(.state)\t\(.title)"' | sort -n

Images

RFD AsciiDoc references images with image::filename[] (or image:filename[] inline). The files aren't in the API response; they live next to the RFD in the repo at rfd/NNNN/filename (zero-padded to 4 digits). Fetch them from the local clone at the exact commit the API rendered (.commit), then Read the file:

# find image refs
rfd-cli view --number 63 | jq -r '.content' | rg 'image::?'

# extract one at the rendered commit
sha=$(rfd-cli view --number 63 | jq -r '.commit')
git -C ~/oxide/rfd show "$sha:rfd/0063/l3.png" > /tmp/rfd63-l3.png

Then Read /tmp/rfd63-l3.png to view it.

If git show fails with "bad object", the commit isn't fetched locally yet — git -C ~/oxide/rfd fetch origin and retry. Access to private RFD images is just the user's normal repo access; there's no separate image auth to deal with when going through the local clone.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at d229350. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 5 months ago

README badge

README badge for david-crespo/dotfiles/rfd