From Endalk Skills
Fetch dependency source code so agents can inspect real implementations, tests, and version-specific behavior. Use when docs or types are insufficient, when debugging library internals, or when tasks require source-backed evidence. Triggers include "fetch source for", "read the source of", "how does X work internally", "get the implementation of", and "opensrc path".
How this skill is triggered — by the user, by Claude, or both
Slash command
/Endalk Skills:source-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fetches dependency source code so agents can read implementations, not just types. Clones repositories at the correct version tag and caches them globally at `~/.opensrc/`.
Fetches dependency source code so agents can read implementations, not just types. Clones repositories at the correct version tag and caches them globally at ~/.opensrc/.
For anything beyond a quick one-file lookup, prefer running this work in a dedicated subagent.
Use a dedicated subagent by default when you need to:
Have the subagent:
opensrc path ...Prompt the subagent with the full target and question, including any version or cwd constraints.
rg "parse" $(opensrc path zod)
cat $(opensrc path zod)/src/types.ts
find $(opensrc path zod) -name "*.test.ts"
grep "parse" $(opensrc path zod)/src/types.ts
# Specific versions
## opensrc path [email protected]
opensrc path pypi:[email protected]
opensrc path <pkg> prints the absolute path to downloaded source. Always prefer providing a version of the package to avoid unexpected behavior.
For npm packages, opensrc can resolve the installed version from lockfiles such as package-lock.json, bun.lock, pnpm-lock.yaml, and yarn.lock. Use --cwd when the lockfiles are elsewhere in the project:
opensrc path zod --cwd /path/to/project/lock-file
Use it when you need to:
Do not fetch source for:
npx claudepluginhub endalk200/skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.