Source Code Fetching with opensrc
Fetches dependency source code so agents can read implementations, not just types. Clones repositories at the correct version tag and caches them globally at
~/.opensrc/
.
Core Pattern
rg
"parse"
$(
opensrc path zod
)
cat
$(
opensrc path zod
)
/src/types.ts
find
$(
opensrc path zod
)
-name
"*.test.ts"
opensrc path
opensrc
安装
npx skills add https://github.com/vercel-labs/opensrc --skill opensrc