opensrc

Community

Fetch source code to empower AI agents.

Authorryanmiville
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fetch source code for npm, PyPI, crates.io packages and GitHub/GitLab repos to provide AI agents with deeper implementation context beyond types and docs.

Core Features & Use Cases

  • Fetch sources for npm, PyPI, crates.io, and GitHub/GitLab: obtain actual implementation code to enhance understanding beyond API surfaces.
  • Monorepo & directory support: resolve repository.directory and place code in the appropriate path for multi-package repos.
  • Use Case: AI agents reference real source implementations to debug dependencies and analyze internal patterns in libraries.

Quick Start

Install opensrc globally or use npx: npm install -g opensrc npx opensrc zod npx opensrc pypi:requests npx opensrc crates:serde npx opensrc vercel/ai

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opensrc
Download link: https://github.com/ryanmiville/dotfiles/archive/main.zip#opensrc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.