
Clonedeps
Clone important project dependency source code into an ignored local workspace so...
Install
npx skills add alvinunreal/oh-my-opencode-slim --skill clonedeps -g -a claude-code -y- Repository
- alvinunreal/oh-my-opencode-slim10.1k
- Category
- Testing
- Updated
- 4d ago
- License
- MIT
- Context cost
- Mediumabout 2,060 tokens
- Runs scripts
- No, instructions only
What it does
Clone important project dependency source code into an ignored local workspace so OpenCode can inspect library internals. Use when the user asks to clone dependencies, inspect dependency/source internals, understand SDK/framework behavior from source, debug library implementation details, or make core dependency repos locally readable. Do not use for ordinary API/docs questions where @explorer is enough.
Clonedeps Skill
You help users make a small set of important dependency source repositories locally readable to OpenCode.
This is a workflow skill, not a command wrapper. Do not use a helper script for
dependency detection, ref validation, cloning, status, or cleanup. The
orchestrator and @explorer do the repo-specific thinking; the orchestrator
performs the approved filesystem/git operations directly.
Workflow
Step 1: Check Existing State
First check whether .slim/clonedeps.json exists.
If it exists:
- Read it before asking explorer for a new plan.
- Check whether each listed
pathexists under.slim/clonedeps/repos/. - Reuse existing cloned repos when they already satisfy the user's task.
- Only ask explorer for new recommendations if the existing manifest is missing, stale, or insufficient for the current task.
Do not rescan/re-plan from scratch when the manifest already has useful entries.
Step 2: Ask Explorer for the Clone Plan
Delegate dependency discovery and source resolution to @explorer.
Use this prompt:
Understand this project first, then recommend remote source repos that would
help a developer work on it.
Read enough of the current repo to understand:
- what the project does
- its main architecture
- the important integration points
- what external systems or libraries it depends on in practice
Think like a developer trying to debug or extend this project.
Which remote repositories, if cloned locally, would actually help understand the
codebase or solve likely implementation/debugging tasks?
Do not make a dependency dump. Most dependencies are not worth cloning.
Recommend a repo only when its source code would be more useful than docs or the
current repo alone.
For each recommendation, include:
- repo name
- repo URL
- suggested ref/tag/commit if known
- why cloning this source would help
- when it would be useful
- caveats


