Agent skill

Find Docs

by ryan4yin in ryan4yin/nix-config

Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI.

MITAuto-check passedDevelopment

Install Find Docs

skills CLI
$ npx skills add ryan4yin/nix-config --skill find-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ryan4yin/nix-config find-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/find-docs .claude/skills/find-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
find-docs
GitHub stars
2.1k
Token cost
~650 tokens
SKILL.md length
321 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI.

  • Works in 2 steps: resolve the ID → query the docs
  • A question names a specific technology — API syntax
  • SKILL.md covers Step 1: resolve the ID, Step 2: query the docs and When it fails
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Find Docs is an agent skill from ryan4yin/nix-config. Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI. Use whenever a question names a specific technology — API syntax, configuration options, version migrations, library-specific debugging, setup, CLI usage — including well-known ones: training data goes stale on these details.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: ❄️ My nix config for both desktops(NixOS+macOS) and homelab servers(NixOS). The licence is MIT.

When your agent uses it

  • A question names a specific technology — API syntax
  • Configuration options
  • Version migrations
  • Library-specific debugging

Example prompts

  • “/find-docs”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. resolve the ID
  2. query the docs

What it can do on your machine

Read from SKILL.md and the folder at commit 497fabb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Find Docs loads about 650 tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 321 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~650

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ryan4yin/nix-config at commit 497fabb, republished under its MIT licence (© ryan4yin). 321 words, ~650 tokens.

Download SKILL.mdSave it as .claude/skills/find-docs/SKILL.md (or your agent's skills folder).
name
find-docs
description
Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI. Use whenever a question names a specific technology — API syntax, configuration options, version migrations, library-specific debugging, setup, CLI usage — including well-known ones: training data goes stale on these details.

Documentation lookup

ctx7 is on PATH (Home Manager, from nixpkgs). Run it as it is; the package is Nix-managed, so skip the setup and upgrade commands its --help advertises.

Two steps: resolve the library ID, then query with it.

bash
ctx7 library <name> "<query>"
ctx7 docs <libraryId> "<query>"

Skip step 1 only when the user supplies an ID as /org/project or /org/project/version. Add --json to either step when you will parse the output rather than read it.

A query leaves the machine: keep internal identifiers, private-repository paths, and credentials out of it.

Step 1: resolve the ID

Pass a query every time — it ranks the matches, so it also separates libraries that share a name. Use the official spelling ("Next.js", not "nextjs"); when results look wrong, retry the name before rewriting the query.

bash
ctx7 library "Next.js" "how to set up app router middleware"

Each match carries id, title, description, totalSnippets, trustScore, benchmarkScore, and versions. Prefer an exact name match with a high trustScore and more totalSnippets. When the user names a version, take the closest entry in versions and use /org/project/version as the ID.

Stop after three attempts and use the best match you have. When none is usable, say so and suggest a sharper name instead of guessing.

Step 2: query the docs

One topic per docs call: split unrelated concepts into separate calls, unless the question is about how they interact. Describe what to look up in the documentation rather than the task to complete — "React useEffect cleanup function with async operations" ranks, "hooks" returns generic results.

bash
ctx7 docs /vercel/next.js "how to add middleware"

The output is markdown: titled code snippets and prose snippets, each with the source URL it came from. Cite that URL when the answer rests on it.

When it fails

Lookups work without a login, at a lower rate limit. On a quota error, tell the user to run ctx7 login themselves; never ask them to paste a token into chat. If they do not authenticate, answer from training knowledge and say it may be outdated — do not fall back silently.

© ryan4yin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agents/skills/find-docs of ryan4yin/nix-config.

Open the folder on GitHubat commit 497fabb

Compare with similar skills

Find Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Find Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Find Docs this skillryan4yin/nix-config2.1k—~650Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from ryan4yin/nix-config

All 10 skills in this repo
  • Nix Config Umu Game

    ryan4yin/nix-config

    A skill your agent uses when installing a Windows game launcher (二次元 / gacha or any non-Steam game) on a NixOS desktop via umu-launcher, given an installer URL or an .exe, when such a launcher opens…

    2.1k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Nix Config Debug

    ryan4yin/nix-config

    A skill your agent uses when something here is broken or stops working: an eval or build error, a failed activation, a dead or restarting unit, a mihomo or DNS outage, an unreachable host or MicroVM…

    2.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Nix Config Desktop

    ryan4yin/nix-config

    A skill your agent uses when changing what the desktop shows or runs: Niri/Noctalia config, a window that is the wrong size, garbled, or missing after a reboot, autostart, fcitx5 or vinput input…

    2.1k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Nix Config Secrets

    ryan4yin/nix-config

    A skill your agent uses when adding, changing, renaming, or removing an agenix secret, deciding whether a secret belongs to agenix or to the encrypted dotfiles sync, wiring a secret into a host, or…

    2.1k GitHub stars~2.7k tokensUpdated today
    Auto-check: notes
  • Nix Config Update

    ryan4yin/nix-config

    A skill your agent uses when a version changes here: upgrading or updating a package or nixpkgs, bumping or pinning a flake input (a tag or commit, not a branch), or deploying the result to hosts…

    2.1k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Nixpkgs Patched

    ryan4yin/nix-config

    A skill your agent uses when temporarily carrying an unmerged nixpkgs pull request or commit in the personal ryan4yin/nixpkgs fork, updating the nixos-unstable-patched branch, or consuming that…

    2.1k GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Categories

Questions about Find Docs

What does Find Docs do?

Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI. Find Docs is an agent skill from ryan4yin/nix-config. Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the Context7 CLI.

When should I use Find Docs?

Find Docs fits situations like: A question names a specific technology — API syntax; configuration options; version migrations; library-specific debugging.

How do I install Find Docs in Claude Code?

Run `npx skills add ryan4yin/nix-config --skill find-docs -a claude-code`. Or copy the skill folder (agents/skills/find-docs in ryan4yin/nix-config) into .claude/skills/find-docs in your project. Claude Code loads it when a task matches its description.

How do I install Find Docs in Codex?

Run `npx skills add ryan4yin/nix-config --skill find-docs -a codex`. Or copy the skill folder (agents/skills/find-docs in ryan4yin/nix-config) into .agents/skills/find-docs in your project. Codex loads it when a task matches its description.

Can I use Find Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ryan4yin/nix-config --skill find-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/find-docs, .gemini/skills/find-docs, .github/skills/find-docs and .opencode/skills/find-docs in your project.

What does Find Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: Find Docs is instructions for the agent only.

Does Find Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Find Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Find Docs use?

Find Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Find Docs use?

About 650 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Find Docs?

Skills that share tags, products or a category with Find Docs: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Find Docs?

ryan4yin (a GitHub user) maintains it in ryan4yin/nix-config, which has 2,094 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 11, 2026.

Source: ryan4yin/nix-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.