Skill Tracer
Skills › HyperFrames › hyperframes › plugin-installation.md

plugin-installation.md

42 lines · skills/hyperframes/references/plugin-installation.md at a595755

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1# Running from an installed plugin
2
3Check the directory two levels above the loaded `SKILL.md` for `plugin.json`,
4`.claude-plugin/plugin.json`, `.codex-plugin/plugin.json`, or
5`.cursor-plugin/plugin.json` identifying `hyperframes`, or a Gemini extension manifest.
6That directory is `<PLUGIN_ROOT>`. If none exists, this is a standalone skill
7install; run `npx hyperframes` directly.
8
9For a plugin installation, these rules apply in every skill and reference:
11- Do not run `hyperframes skills update`, `skills check`, or `npx skills add`.
12 The agent's plugin manager owns installation and updates. Read the skill at
13 `<PLUGIN_ROOT>/skills/<name>/SKILL.md`; report a missing bundled skill instead
14 of downloading a different release. Resolve all skill references inside this
15 bundle, even if a standalone copy is also installed. Claude exposes the router
16 as `/hyperframes:hyperframes`; other clients may expose `/hyperframes`.
17- Replace `npx hyperframes` (or bare `hyperframes`) in command examples with:
19 ```bash
20 node "<PLUGIN_ROOT>/skills/hyperframes/scripts/plugin-cli.mjs" <command> <args...>
21 ```
23 Run in the user's project directory, never in the plugin directory. The launcher
24 selects the manifest's CLI version and disables automatic standalone skill
25 installation, including during `init`. The first call may download that exact
26 CLI version through npm. A download failure is an error, not permission to use
27 latest. Existing project dependency files and lockfiles must not be overwritten
28 to match the plugin; surface a runtime incompatibility before changing them.
30- For bundled Node helpers, use the same
31 launcher with `--script <absolute-script-path> <args...>`. This passes the
32 release version to their dependency loader. External providers, registry
33 downloads, and existing project dependencies have their own versions; a plugin
34 version alone does not freeze those inputs.
35- Treat the plugin directory as read-only. Put outputs and temporary work in the
36 project or a temporary directory. Pass this plugin root and launcher convention
37 to any delegated agent so it does not fall back to global skills.
39Newer skills come through the client's plugin update flow and a session reload,
40which the person runs. Do not update an installed plugin yourself.
42The launcher suppresses CLI update notices as well as standalone skill refreshes, including when running an older CLI with a stale notice cache. It passes the release as `HYPERFRAMES_PLUGIN_VERSION` for plugin-aware helpers and as `HYPERFRAMES_SKILL_PKG_VERSION` for the existing helper-package bootstrap. Our release process versions those packages together.

Running from an installed plugin

Check the directory two levels above the loaded SKILL.md for plugin.json, .claude-plugin/plugin.json, .codex-plugin/plugin.json, or .cursor-plugin/plugin.json identifying hyperframes, or a Gemini extension manifest. That directory is <PLUGIN_ROOT>. If none exists, this is a standalone skill install; run npx hyperframes directly.

For a plugin installation, these rules apply in every skill and reference:

  • Do not run hyperframes skills update, skills check, or npx skills add. The agent's plugin manager owns installation and updates. Read the skill at <PLUGIN_ROOT>/skills/<name>/SKILL.md; report a missing bundled skill instead of downloading a different release. Resolve all skill references inside this bundle, even if a standalone copy is also installed. Claude exposes the router as /hyperframes:hyperframes; other clients may expose /hyperframes.
  • Replace npx hyperframes (or bare hyperframes) in command examples with:

bash node "<PLUGIN_ROOT>/skills/hyperframes/scripts/plugin-cli.mjs" <command> <args...>

Run in the user's project directory, never in the plugin directory. The launcher selects the manifest's CLI version and disables automatic standalone skill installation, including during init. The first call may download that exact CLI version through npm. A download failure is an error, not permission to use latest. Existing project dependency files and lockfiles must not be overwritten to match the plugin; surface a runtime incompatibility before changing them.

  • For bundled Node helpers, use the same launcher with --script <absolute-script-path> <args...>. This passes the release version to their dependency loader. External providers, registry downloads, and existing project dependencies have their own versions; a plugin version alone does not freeze those inputs.
  • Treat the plugin directory as read-only. Put outputs and temporary work in the project or a temporary directory. Pass this plugin root and launcher convention to any delegated agent so it does not fall back to global skills.

Newer skills come through the client's plugin update flow and a session reload, which the person runs. Do not update an installed plugin yourself.

The launcher suppresses CLI update notices as well as standalone skill refreshes, including when running an older CLI with a stale notice cache. It passes the release as HYPERFRAMES_PLUGIN_VERSION for plugin-aware helpers and as HYPERFRAMES_SKILL_PKG_VERSION for the existing helper-package bootstrap. Our release process versions those packages together.

Raw lines 1 to 42
Runs code scripts/plugin-cli.mjs :20