skills/golem-powers/context7/SKILL.md
Use when needing current API references, function signatures, or library usage patterns. Looks up documentation via Context7 API. Covers docs lookup, library documentation, API reference, how to use library. NOT for: web search (use WebSearch), project-specific code (read the codebase).
npx skillsauth add etanhey/golems context7Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Look up current library documentation using Context7 API.
Context7 provides up-to-date documentation and code examples for programming libraries. Prefer the Context7 MCP tools (mcp__context7__*) when available — they're simpler. Use this skill as a fallback when the MCP is unavailable or for scripted/batch lookups.
| Action | Script | Example |
|--------|--------|---------|
| Search for library | scripts/resolve-library.sh | ./resolve-library.sh react |
| Query documentation | scripts/query-docs.sh | ./query-docs.sh /vercel/next.js 'app router' |
| Show usage | scripts/default.sh | Auto-runs when skill loaded |
First, search for the library to get its Context7 ID:
./scripts/resolve-library.sh react
Output example:
## Library Search Results
| Name | ID | Snippets | Score |
|------|-----|----------|-------|
| React | /facebook/react | 1250 | 95 |
| React Native | /facebook/react-native | 890 | 92 |
Then use the library ID to query specific documentation:
./scripts/query-docs.sh /vercel/next.js 'how to use app router'
Output: Markdown-formatted documentation snippets with code examples.
The scripts automatically get the API key from:
CONTEXT7_API_KEY (if set)context7 in vault development, field API_KEYThe key is already stored in 1Password. No setup needed if you have op CLI authenticated.
If not using 1Password, set the environment variable:
export CONTEXT7_API_KEY="ctx7sk_your_key_here"
Get a key from context7.com → API settings.
If you want to use only this skill and reduce MCP overhead:
Edit your MCP config (~/.config/claude-code/mcp.json or mcp_config.json):
{
"mcpServers": {
"context7": {
"disabled": true
}
}
}
Or remove the entry entirely.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and remove or disable the context7 server.
This skill calls the Context7 REST API:
https://context7.com/apiGET /v2/libs/search?query=...&libraryName=...GET /v2/context?query=...&libraryId=...&type=txtWhen Context7 returns large documentation blocks (>100 lines), avoid reading them directly into Opus context. Instead use:
# Summarize large docs with external model
scripts/summarize-file.sh <file> "<what you need>" [gemini|cursor|kiro|haiku]
Or delegate to a subagent that writes a summary to a scratchpad file.
development
Create, edit, and verify golem-powers skills using the standard SKILL.md structure, workflow files, adapters, templates, and eval fixtures. Use for new skills, structural edits, workflows/adapters, and pre-deploy validation. NOT for invoking existing skills, superpowers skills, or skill-creator agent workflows.
testing
Extract structured knowledge from any video source — YouTube URLs or local screen recordings. YouTube → gems workflow (yt-dlp transcript → keyword hotspots → frame extract → brain_digest → structured gems). Screen recordings → QA workflow (reuses /qa-video stalker pipeline). Use when user shares a YouTube link wanting deep extraction with frames, shares a .mov/.mp4 for QA processing, says "extract from video", "video gems", "process this recording", or mentions gem extraction from video content.
testing
Use when running or reviewing any recurring monitor loop for merge queues, worker queues, collab tails, or agent completion. Enforces drive-to-completion ticks: every tick must query live state with `!`, classify whether real progress happened, and then dispatch, verify-and-decrement, or escalate-park. Triggers on: monitor loop, /loop, recurring tick, keep monitoring, silent autonomous, merge gate, blocked review, no-progress loop.
tools
MeHayom freelance client management — daily updates, decision tracking, time logging. Use when drafting Yuval updates, logging scope changes, tracking hours, or any MeHayom client communication. Triggers: 'draft Yuval update', 'client update', 'daily update', 'log decision', 'track time', 'mehayom'.