fetch-source · git:20260124.43e6b20 · 2026-01-24 · sha256 d96a979dc63448fc

fetch-source git:20260124.43e6b20A

Immutable. This exact content never changes and is served at /api/v1/blob/d96a979dc63448fc.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_cgngjjqv3l6kaoif/d96a979dc63448fcdf48b80016554a0b316d1757260373abd00962bcc60a8325.json

Then /plugin install fetch-source@markdownregistry-cgngjjqv3l6kaoif in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: fetch-source
description: >
  Fetch source code for npm packages, Python packages, Rust crates, or GitHub
  repos to understand their implementation. Use when you need to explore a
  library's internals.
---

# Fetch Source Code

Use `opensrc` to download and explore package source code.

## Commands

```bash
npx opensrc <package>           # npm package (e.g., npx opensrc zod)
npx opensrc pypi:<package>      # Python package (e.g., npx opensrc pypi:requests)
npx opensrc crates:<package>    # Rust crate (e.g., npx opensrc crates:serde)
npx opensrc <owner>/<repo>      # GitHub repo (e.g., npx opensrc vercel/ai)
```

## Rules

- Always run in `/tmp` to avoid cluttering working directory
- Use when you need to understand library internals, not just API surface