#45
cli option to clone inside .opensrc in cwd instead of home dir
i'd like to have different repo versions in different directories i'm working in and more importantly have the repos close to running agents and not have them searching in my home directory
Activity
4rolling back to v0.6.0 for this!
Just sharing my .cursor/skills/explore-library-source/SKILL.md. I tell it to use opensrc@0.6
---
name: explore-library-source
description: >-
Download a library's source code using opensrc CLI for deeper understanding
of its internals. Use when debugging library behavior, inspecting
implementations, or when documentation is insufficient.
---
# Explore Library Source
```bash
npx opensrc@0.6 <package-or-repo>
```
**Examples:**
```bash
npx opensrc@0.6 @react-native-community/netinfo // npm
npx opensrc@0.6 author/repo // github
```
Source lands in `opensrc/` at the workspace root (which is git-ignored).
Explore the downloaded source with search/read tools to find the relevant implementation.I personally prefer skills than poluate the AGENTS.md
please ! opensrc has simply no interest without this option, this should be the default
I agree when betterstack recommended it, this was the way it was doing: cloning under ./opensrc in local folder structure and adding the folder to .gitignore Also the
Usagesection of the documentation does not makes sense anymore.v0.6.0 was good