What problem does it solve? AI agents often only see type definitions and documentation for dependencies, which hides how a library actually behaves internally. This Skill fetches the real source code of npm, PyPI, and crates.io packages at the correct version so agents can read implementations, debug unexpected behavior, and verify edge-case handling. ## Core Features & Use Cases - Version-Aware Fetching: Clones repositories at the correct version tag, auto-detecting installed npm versions from lockfiles like package-lock.json, pnpm-lock.yaml, and yarn.lock. - Global Source Cache: Stores fetched sources at ~/.opensrc/ so repeated lookups are instant, with commands to list, remove, and clean cached entries. - Multi-Registry Support: Resolves packages from npm, PyPI, crates.io, or arbitrary GitHub repos with branch, tag, or commit pinning. - Use Case: When a zod validation behaves unexpectedly, run opensrc path zod to get the cached source path, then grep and read the actual parsing implementation instead of guessing from types. ## Quick Start Ask the agent to fetch the source code of a dependency, for example: fetch the source for zod and show me how its parse function handles invalid input.