agentleFS
oidsdevoidsdev/honeypot/skills/context7/SKILL.md

context7

Skill0 starsChanged 21 days agoMITView on GitHub

Look up current library docs through Upstash Context7. Use when an agent needs the current API for a package.

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the library's usual punctuation in libraryName, such as Next.js.

    line 60

“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

Context7

Fetch current documentation for a library from Context7 (MIT, Upstash). The ctx7 CLI and the @upstash/context7-mcp server read the same index. Use the CLI for a one-off lookup. Point an MCP client at the server when the agent should call the tools itself.

When to use

The task depends on the current API of a library, framework, SDK, or CLI: a signature, a config field, or a setup step. The query goes to Context7, so keep private code out of it.

Install

The CLI needs Node.js 22.13 or newer. The MCP package needs Node.js 20.18.1 or newer.

node -v
npx -y ctx7@latest --version
npx -y @upstash/context7-mcp@latest --version

Checked on 2026-10-12: ctx7 0.6.0 and @upstash/context7-mcp 4.3.0. @latest moves.

Stdio config for an MCP client. Calls without a key returned results. A key from the Context7 dashboard raises the rate limit. If the user already has one, pass it the way that client expects. Leave the key out of this file.

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}

Commands

Resolve a name, then query that id. --json prints output an agent can parse.

npx -y ctx7@latest library react "useEffect cleanup" --json
npx -y ctx7@latest docs /react/react "useEffect cleanup function" --json

ctx7 docs takes --language (for example Python) so examples in that language rank first.

MCP tools, with the fields the 4.3.0 package publishes:

  1. resolve-library-id with libraryName and query.
  2. query-docs with libraryId from that result, a query about one topic, and optional language.

Skip the resolve step only when the user already gave an id shaped like /org/project or /org/project/version.

Gotchas

  • Several libraries can share a name. Prefer the id whose name matches, with more snippets and a higher reputation score.
  • Use the library's usual punctuation in libraryName, such as Next.js.
  • An old id can redirect. /facebook/react answered with a redirect to /react/react. Query the new id.
  • One topic per query. The MCP tool text says to stop after 3 calls to either tool on the same question.
  • A failed upstream call sets the tool error flag on query-docs. An empty "no documentation" result is a normal answer.
  • The query is sent to Context7. Leave out keys, passwords, and private code.
  • ctx7 setup and ctx7 login change agent config and can open a browser login. Run them only when the user asked to install Context7.

Also on Honeypot — a free, open index of skills for AI agents: https://honeypot-e6c.pages.dev Image: Indexed on Honeypot

Download now (ZIP)

  • Other versions27 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 27

    1. compozy/compozy★ 2.8ksame name
    2. pedronauck/skills★ 641same name
    3. netresearch/context7-skill★ 82same name
    4. Dianel555/DSkills★ 65same name
    5. Pi-Teacher/skills★ 25same name
    6. JetBrains/junie-extensions★ 23same name
    7. alebgl77/claude-inc★ 21same name
    8. arvindand/agent-skills★ 17same name
    9. archibate/agent-skills★ 16same name
    10. jscraik/Agent-Skills★ 9same name

    17 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use superpowers, mermaid-diagrams and 10 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.
    • HK-hubSkill

      superpowers

      A complete software development methodology and skill composition system, ported from obra/superpowers. Provides structured, repeatable workflow: brainstorming, design, planning, TDD, subagent-driven dev, code review, finishing branch. Use for coding, building projects, refactoring, bug fixing, or any programming tasks.

      Also in 3 projects that use this

    • LangChainSkill

      mermaid-diagrams

      Embed Mermaid diagrams in generated wiki pages. Use whenever documenting a runtime or request flow, a call sequence, a state machine or lifecycle, a data model or entity relationships, or non-trivial control flow, since these are clearer as a diagram than as prose. Also use when an update run touches a page that already contains a mermaid fence, or a page that contains a text fence a previous run degraded.

      Also in 3 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 4 projects that use this

    • VercelSkill

      vercel-react-best-practices

      React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

      Also in 4 projects that use this

    • MicrosoftSkill

      mcp-builder

      Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

      Also in 4 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

  • In this repository20 other files it gives its agents.

Does it work?

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

Reviews can't be read right now.

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.