Opensrc Inspect
Use this skill when source-level dependency inspection is materially useful and API docs alone are not enough.
Workflow
- Read the repo
AGENTS.md. - Check existing snapshots first:
opensrc listcat opensrc/sources.jsonwhen present
- Prefer safe fetches that avoid repo mutation:
opensrc <package> --modify=falseopensrc pypi:<package> --modify=falseopensrc crates:<package> --modify=falseopensrc <owner>/<repo> --modify=false
- Inspect the fetched source path and cite exact files and versions when using it in analysis.
- Refresh snapshots after meaningful dependency upgrades if internals changed.
Use When
- You need to inspect a package implementation, not just its docs or types.
- You need source-level evidence for a migration, bug, or compatibility question.
Do Not Use When
- Official docs, types, or direct code inspection already answer the question.
- The task is broad web research or release-note discovery.
Guardrails
- Default to
--modify=false. - Treat
opensrc/as read-only source context. - Use Context7, Exa, or
web.runfor official/latest docs and changelogs; use opensrc only for implementation internals.
Outputs
- fetched source target and version summary
- exact local paths used for analysis
- concise recommendation on whether deeper source inspection changed the conclusion