diff --git a/README.md b/README.md index 6ca029e..dc09239 100644 --- a/README.md +++ b/README.md @@ -69,26 +69,47 @@ pi install git:github.com/waybarrios/opencode-power-pack -l Install only the workflows you want into the shared `.agents/skills` location recognized by Codex, OpenCode, and Pi: +Use `npx` when you want to run the latest installer without keeping a global copy: + ```bash # Inspect every profile and skill -npx opencode-power-pack list +npx @waybarrios/opencode-power-pack list # Install the balanced recommended profile for your user -npx opencode-power-pack install --profile recommended +npx @waybarrios/opencode-power-pack install --profile recommended # Install individual skills -npx opencode-power-pack install code-review security-review +npx @waybarrios/opencode-power-pack install code-review security-review # Install a profile only for the current repository -npx opencode-power-pack install --profile review --project +npx @waybarrios/opencode-power-pack install --profile review --project # Preview a selection without writing anything -npx opencode-power-pack install --profile security --dry-run +npx @waybarrios/opencode-power-pack install --profile security --dry-run # Update previously copied skills from the latest package -npx opencode-power-pack@latest install --profile review --force +npx @waybarrios/opencode-power-pack@latest install --profile review --force ``` +Or install the package globally and use its shorter executable: + +```bash +npm install --global @waybarrios/opencode-power-pack + +opencode-power-pack list +opencode-power-pack install --profile recommended +opencode-power-pack install code-review security-review +``` + +To update or remove the global installation: + +```bash +npm update --global @waybarrios/opencode-power-pack +npm uninstall --global @waybarrios/opencode-power-pack +``` + +The npm package is scoped as `@waybarrios/opencode-power-pack` to give it an unambiguous registry identity. The package still installs the shorter `opencode-power-pack` executable for direct CLI use. No global installation is required when using `npx`. + | Profile | Intended use | |---|---| | `recommended` | Balanced software development without the specialized security and ML catalogs | diff --git a/bin/opencode-power-pack.mjs b/bin/opencode-power-pack.mjs index 5246df0..b4b85ce 100755 --- a/bin/opencode-power-pack.mjs +++ b/bin/opencode-power-pack.mjs @@ -20,10 +20,10 @@ const PACKAGE_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), const USAGE = `OpenCode Power Pack selective skill installer Usage: - npx opencode-power-pack list - npx opencode-power-pack install [options] - npx opencode-power-pack install --profile [options] - npx opencode-power-pack install --all [options] + npx @waybarrios/opencode-power-pack list + npx @waybarrios/opencode-power-pack install [options] + npx @waybarrios/opencode-power-pack install --profile [options] + npx @waybarrios/opencode-power-pack install --all [options] Options: --profile Install a curated profile. Repeatable. diff --git a/package.json b/package.json index bce0c13..7460f10 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "opencode-power-pack", + "name": "@waybarrios/opencode-power-pack", "version": "0.4.0", "description": "Fifty-four software-development workflows for Claude Code, Codex, OpenCode, and Pi: code review, feature development, security review, frontend design, authoring, and project memory.", "type": "module",