Skip to content
O

opensrc

Fetch dependency source code to give AI agents deeper implementation context

by vercel-labsFree

3K
#5452in AI Skills
0In stores

Description

opensrc is an agent skill that fetches the source code of dependencies so an AI agent can read how a library is implemented, not just its ty…

Highlights

  • Fetches dependency source at the right version tag
  • Caches source globally under ~/.opensrc/
  • Prints the cached path for search and reading
  • Gives agents implementation detail, not just types

Ratings & Reviews

No ratings yet

Be the first to rate opensrc.

People also visit

G

GitHits

Search public open-source code, documentation, metadata, vulnerabilities

AI Skills
Get
G

gread

One Skill for all repos

AI Skills
Get
U

understand-chat

Ask questions about a codebase or understand code using a knowledge graph

AI Skills
Get
L

learn-codebase

Prime a codebase by reading every source file in full

AI Skills
Get
S

searching-sourcegraph

Search or navigate code with Sourcegraph MCP tools

AI Skills
Get
A

acquire-codebase-knowledge

The user explicitly asks to map, document, or onboard into an existing codebase

AI Skills
Get

opensrc FAQ

What does opensrc do?

It fetches dependency source code so an AI agent can read how a library works internally.

Which version does it fetch?

It clones the repository at the correct version tag for the package.

Where is the code stored?

In a global cache at ~/.opensrc/, so it is downloaded once and reused.

How do I use it?

Run opensrc path with the package name. The path is printed to stdout, so you can use it in a shell command such as rg or cat.

How do I install it?

Run npx skills add https://github.com/vercel-labs/opensrc --skill opensrc.

What do the security audits show?

Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.

What are the best opensrc alternatives?

Popular alternatives to opensrc include GitHits, gread and understand-chat. See all opensrc alternatives

Developer Stuff

Badges