{
  "markdown": "# Context7 Documentation Lookup Skill\n\nFetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.\n\n## Features\n\n- **No MCP Overhead** - Uses REST API directly, no tool schemas consuming context\n- **Current Documentation** - Fetches live docs from Context7's curated database\n- **Topic Filtering** - Focus on specific areas (hooks, routing, middleware, etc.)\n- **50+ Libraries** - React, Next.js, Vue, Express, Prisma, and more\n\n## Installation\n\n### Marketplace (Recommended)\n\nAdd the [Netresearch marketplace](https://github.com/netresearch/claude-code-marketplace) once, then browse and install skills:\n\n```bash\n# Claude Code\n/plugin marketplace add netresearch/claude-code-marketplace\n```\n\n### npx ([skills.sh](https://skills.sh))\n\nInstall with any [Agent Skills](https://agentskills.io)-compatible agent:\n\n```bash\nnpx skills add https://github.com/netresearch/context7-skill --skill context7\n```\n\n### Download Release\n\nDownload the [latest release](https://github.com/netresearch/context7-skill/releases/latest) and extract to your agent's skills directory.\n\n### Git Clone\n\n```bash\ngit clone https://github.com/netresearch/context7-skill.git\n```\n\n### Composer (PHP Projects)\n\n```bash\ncomposer require netresearch/context7-skill\n```\n\nRequires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin).\n\n### npm (Node Projects)\n\n```bash\nnpm install --save-dev \\\n  @netresearch/agent-skill-coordinator \\\n  github:netresearch/context7-skill\n```\n\nRequires [@netresearch/agent-skill-coordinator](https://github.com/netresearch/node-agent-skill-coordinator), which discovers the skill in `node_modules` and registers it in `AGENTS.md` via a `postinstall` hook. For pnpm, also allowlist the coordinator's postinstall:\n\n```json\n{\n  \"pnpm\": {\n    \"onlyBuiltDependencies\": [\"@netresearch/agent-skill-coordinator\"]\n  }\n}\n```\n\n## Usage\n\nThe skill triggers on keywords like:\n- \"how do I use [library]\"\n- \"what's the API for [library]\"\n- \"[library] documentation\"\n- \"show me [library] patterns\"\n\n### Example Prompts\n\n```\n\"How do I use React hooks?\"\n\"What's the Next.js App Router API?\"\n\"Show me Prisma query patterns\"\n\"Express middleware documentation\"\n```\n\n### Manual Script Usage\n\n```bash\n# Search for a library ID\nscripts/context7.sh search \"prisma\"\n\n# Fetch documentation with topic\nscripts/context7.sh docs \"/prisma/prisma\" \"queries\"\n```\n\n## Structure\n\n```\ncontext7/\n├── SKILL.md              # AI instructions\n├── README.md             # This file\n├── LICENSE-MIT           # Code license (MIT)\n├── LICENSE-CC-BY-SA-4.0  # Content license (CC-BY-SA-4.0)\n├── scripts/              # Automation scripts\n│   └── context7.sh       # REST API wrapper\n└── .github/\n    └── workflows/\n        └── release.yml   # Release packaging\n```\n\n## Why Use This Over Context7 MCP?\n\n| Aspect | MCP Server | This Skill |\n|--------|------------|------------|\n| Context cost | ~500-2000 tokens always | ~100 tokens on-demand |\n| Tool schemas | Always in context | None |\n| Invocation | Model decides | Model decides |\n| API access | Via MCP protocol | Direct REST API |\n\nBest for: Users who occasionally need library docs but don't want persistent context overhead.\n\n## Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `CONTEXT7_API_KEY` | No | API key for higher rate limits |\n\n## Contributing\n\nContributions welcome! Please submit PRs for:\n- Adding common library IDs\n- Improving script error handling\n- Documentation updates\n\n## License\n\nThis project uses split licensing:\n\n- **Code** (scripts, workflows, configs): [MIT](LICENSE-MIT)\n- **Content** (skill definitions, documentation, references): [CC-BY-SA-4.0](LICENSE-CC-BY-SA-4.0)\n\nSee the individual license files for full terms.\n## Credits\n\n- Context7 API by [Upstash](https://upstash.com/)\n- Skill developed by [Netresearch DTT GmbH](https://www.netresearch.de/)\n\n---\n\n**Made with love for Open Source by [Netresearch](https://www.netresearch.de/)**\n",
  "bytes": 4058,
  "sha": "908a20f7a164703405645f3a98d98e8221c408ed6a7e49de16223308941cfb91",
  "repo_slug": "netresearch/context7-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_netresearch_context7_skill_context7_87ef902c/readme"
}