From search-research
Docs-as-Code: Fetch fresh, version-specific documentation via Context7 API.
How this skill is triggered — by the user, by Claude, or both
Slash command
/search-research:context7The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Objective:** Eliminate hallucinations by injecting real-time, version-specific documentation into the context.
Objective: Eliminate hallucinations by injecting real-time, version-specific documentation into the context.
/context7 [query] or use context7User: "How do I do auth in Supabase? use context7"
Agent:
resolve-library-id with libraryName: "Supabase", query: "authentication" -> Returns /supabase/supabase-jsquery-docs with libraryId: "/supabase/supabase-js", query: "how to authenticate users with examples"supabase.auth.signInWithPassword() method.Be Specific: Use natural language questions, not keywords
Pin Versions: When discussing a specific version, include it
/org/library/v1.2.3/vercel/next.js/v15.1.8Check Cache: Don't re-fetch if recent docs are in context
Mode Selection: Choose based on what you need
| Situation | Mode | Example Query |
|---|---|---|
| Need explanation / learning | full | "how does Next.js middleware work" |
| Debugging subtle behavior | full | "why is my middleware not being called" |
| Unfamiliar library first contact | full | "how to use LangChain prompts" |
| Need syntax / API signature | code_only | "Next.js middleware function signature" |
| Implementing familiar pattern | code_only | "add JWT validation to Express middleware" |
| Quick reference check | code_only | "React useCallback dependency array" |
Default to code_only unless: the query asks "how does X work", involves debugging, or targets a library not yet seen in the session.
Note: The MCP tool output is markdown with code blocks. Post-filter by keeping only ``` blocks for token-efficient code-only mode.
npx claudepluginhub enduser123/search-researchGuides users through a choose-your-own-adventure writing process that turns raw markdown material into a structured article by grounding concepts before they are used.