agentleFS
legibetlegibet/agent-skills/skills/context7/SKILL.md

context7

Skill0 starsChanged 58 days agoMITView on GitHub

Fetch up-to-date library docs via the ctx7 CLI. Use when the user mentions ctx7 or Context7, or needs current API docs, code examples, or version-specific usage for any library.

  • Reads credentials

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-browser, copywriting and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • VercelSkill

    agent-browser

    Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

    Also in 4 projects that use this

  • SupabaseSkill

    copywriting

    Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.

    Also in 3 projects that use this

  • OpenAISkill

    writing-skills

    Use when creating new skills, editing existing skills, or verifying skills work before deployment

    Also in 3 projects that use this

  • OpenAISkill

    verification-before-completion

    Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

    Also in 3 projects that use this

  • AWSSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 4 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a descriptive query drawn from the user's actual task.

    line 22
  2. Distinctive:

    Prefer official / primary packages when multiple matches look similar.

    line 23
  3. Very specific:

    When the user asks for a specific version, check the returned version list and use a versioned ID (/org/project/version) in step 2.

    line 24
  4. Distinctive:

    If the match is ambiguous, say which one you chose.

    line 25
  5. Very specific:

    Use --json only when structured fields matter for downstream processing.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ctx7 — library documentation lookup

Two-step flow: resolve the library ID, then fetch docs. Skip step 1 when the user already provided an exact ID (like /org/project).

Step 1 — resolve the library ID

npx ctx7@latest library <name> "<query>"
ctx7 library react "useEffect cleanup with async operations"
ctx7 library nextjs "app router middleware auth"
ctx7 library prisma "one-to-many relations with cascade delete"
  • Write a descriptive query drawn from the user's actual task. Single concept per query — if the question spans multiple topics, make separate calls.
  • Prefer official / primary packages when multiple matches look similar.
  • When the user asks for a specific version, check the returned version list and use a versioned ID (/org/project/version) in step 2.
  • If the match is ambiguous, say which one you chose.

Step 2 — fetch docs

ctx7 docs <libraryId> "<query>"

Library IDs always start with /.

ctx7 docs /facebook/react "useEffect cleanup with async operations"
ctx7 docs /vercel/next.js "middleware that redirects unauthenticated users"
ctx7 docs /prisma/prisma "one-to-many relations with cascade delete"
ctx7 docs /vercel/next.js/v14.3.0-canary.87 "app router setup"
  • Single concept per query — split multi-topic questions into separate calls.
  • Use --json only when structured fields matter for downstream processing.
  • Budget: at most 3 library calls and 3 docs calls per question.

Rate limits

library and docs work without login. If the CLI reports quota exhaustion, tell the user and suggest ctx7 login or setting CONTEXT7_API_KEY.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.