octocode-cli 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,19 @@ node <SKILL_DIR>/scripts/run.js [flags]
6
6
 
7
7
  Output goes to `.octocode/scan/<timestamp>/` by default. Results are cached — subsequent runs skip unchanged files (~4x faster).
8
8
 
9
+ ## Invocation forms
10
+
11
+ This skill is private (no `bin` entry) — **do not use `npx`**. `npx` applies only to the external tools in `externals.md`.
12
+
13
+ | Form | Example | When |
14
+ |---|---|---|
15
+ | Absolute path | `node <SKILL_DIR>/scripts/run.js --scope=packages/my-pkg` | From any cwd (default) |
16
+ | `yarn` alias — scanner | `cd <SKILL_DIR> && yarn analyze` / `analyze:full` / `analyze:graph` / `analyze:json` | Idiomatic shortcut |
17
+ | `yarn` alias — AST | `cd <SKILL_DIR> && yarn search` / `search:json` / `search:presets` / `search:trees` / `search:trees:json` | AST scripts |
18
+ | Raw node (cwd-local) | `cd <SKILL_DIR> && node scripts/run.js [flags]` | When the alias doesn't cover the flag set |
19
+
20
+ `yarn` can be swapped for `npm run` or `pnpm run` — the skill's `package.json` defines the same script names.
21
+
9
22
  ---
10
23
 
11
24
  ## CLI Presets