From oh-my-colab
Enforces use of Context7 MCP for all external library documentation. Prevents API hallucination by requiring real-time doc fetching before any external library call. Auto-triggered when external library usage is detected in code context.
npx claudepluginhub iadr-dev/colab --plugin oh-my-colabThis skill is limited to using the following tools:
Never use training data for external library API signatures. Always fetch current docs.
references/ai-llm-library-ids.mdreferences/backend-fullstack-library-ids.mdreferences/frontend-library-ids.mdreferences/infrastructure-devops-library-ids.mdreferences/library-ids.mdreferences/mobile-library-ids.mdreferences/python-library-ids.mdreferences/testing-validation-library-ids.mdreferences/utilities-library-ids.mdMandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Never use training data for external library API signatures. Always fetch current docs.
Before writing any code that calls an external library:
.ohc/research/ cache first — research.lookup(library, topic).
Fresh hit → use cached body, do not re-fetch.research.save({library, topic, source:'context7', version, payload})This prevents: hallucinated method names, deprecated APIs, wrong parameter order, missing required fields, version incompatibilities.
The cache is cross-session (survives /clear and new sessions) and indexed into
session start via the <ohc_research_index> reminder, so the agent knows upfront
what's already been researched.
use context7 — how do I use prisma findMany with cursor-based pagination?
use context7 nextjs — what is the correct way to use server actions in Next.js 15?
context7 /vercel/next.js — app router metadata API
context7 /prisma/prisma — transaction API
context7 /tailwindlabs/tailwindcss.com — responsive variants
See references/ folder for library IDs organized by category:
Use normal Context7 queries first. If the answer is shallow, outdated, or missing the exact API surface needed, retry the same query with research mode enabled.
Research mode requires a Context7 API key. If unavailable, say so explicitly and use the normal docs response plus official docs/source as the fallback.
Never silently guess. Always flag when docs were unavailable.
After executor/verifier confirms the research produced working code:
ohc research verify <library> <topic> <commit-sha>
This stamps verified_working: true + the commit SHA onto the cached entry so
the reviewer can audit which design decisions rest on which fetched docs, and
so subsequent sessions can trust that entry more strongly.
# Without key (60 req/hr free tier)
claude mcp add context7 -- npx -y @upstash/context7-mcp
# With free API key (higher limits — get at context7.com/dashboard)
claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_KEY