skills/opensrc-inspect/SKILL.md
opensrc CLI—dep + upstream source. Triggers—impl beyond docs/types, version compare, upgrade diff audit, prewarm w/ `opensrc fetch` then `opensrc path`. Not general web or release-note-only.
npx skillsauth add bjornmelin/dev-skills opensrc-inspectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when source-level dependency inspection materially changes the answer. Prefer docs and types first; pull source when behavior, migration risk, or internal implementation details matter.
AGENTS.md and inspect the repo's manifests and lockfiles.opensrc binary when available. Fall back to bunx opensrc
only if the binary is unavailable.opensrc fetch when the goal is cache-only prep for CI, scripts, or
multi-package warmup:
opensrc fetch --cwd <repo-root> zod react nextopensrc fetch <pkg>@<current_version> <pkg>@<target_version>opensrc path for actual inspection, composition, and diffs:
rg "pattern" $(opensrc path zod)cat $(opensrc path zod)/src/types.tsfind $(opensrc path pypi:requests) -name "*.py"git diff --no-index "$(opensrc path <pkg>@<current_version>)" "$(opensrc path <pkg>@<target_version>)"/home/bjorn/.codex/skill-support/bin/deps-workbench exists and the task
is an npm/Bun dependency upgrade, use it as the fast prep layer before the
deeper source reasoning:
deps-workbench upgrade-prep --cwd <repo-root> --package <pkg> --out <tmp.json>deps-workbench report --input <tmp.json> --format mdopensrc 0.7.x caches globally at ~/.opensrc/ and keys cache entries by
resolved version or ref. The global cache is not the main risk.opensrc 0.7.2 improved pnpm workspace and Yarn workspace/protocol handling,
but you still need to verify the resolved version before trusting it.node_modules/<pkg>/package.jsonpackage-lock.jsonpnpm-lock.yamlyarn.lockpackage.json--cwd by default. If node_modules
is stale, opensrc can resolve a stale installed version first.opensrc path pkg@current_versionopensrc path pkg@target_version~/.opensrc/. OPENSRC_HOME overrides the
cache root.~/.opensrc/sources.json, not in the project.zod with accepted alias npm:zodpypi:requests with accepted aliases pip:requests,
python:requestscrates:serde with accepted aliases cargo:serde,
rust:serdeowner/repo, github:owner/repo, gitlab:owner/repo,
bitbucket:owner/repo, or full URLsowner/repo@tag, owner/repo#branch, pkg@versionGITHUB_TOKEN, GITLAB_TOKEN, and
BITBUCKET_TOKEN.fetch vs pathopensrc fetch when you want deterministic cache warmup without printing
paths, especially in CI, prep scripts, or before a multi-version comparison.opensrc path when the next command needs the resolved filesystem path.fetch is optional; the
important rule is that the actual inspection uses explicitly pinned versions.references/opensrc-cli-reference.md when you need the exact modern CLI
surface, cache model, supported spec forms and aliases, auth env vars, or
release deltas.references/dependency-upgrade-audit.md when the task is a package
upgrade, current-versus-target comparison, migration audit, or hard-cut
removal of obsolete package integrations.development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.