Repository navigation
Install Orca's skills with one click on every setup screen - #31918
Merged
Merged
Conversation
One planner decides what installing Orca's bundled skills does to each target folder; execute re-plans under per-path locks and runs only a plan whose digest still matches; a shared summary derives badge, wording and exit code. A copy counts as Orca's untouched one only when its SKILL.md bytes match a version some build shipped (resources/skills/released-digests.json, generated from git history and checked add-only). Nothing calls this yet; the npx path is unchanged.
A leave is no longer a failure: the outcome line says what happened plus "N left alone: <reason>", and the exit code is 1 only for a failed or changed op. Backups for every scope go to <home>/.agents/.orca-skill-backups on the executing host, so a project Replace never writes into the repo; moving there falls back to copy, verify, then remove across filesystems.
The app's Update skills dialog, badge, nudge and status pills now read the bundled-skill plan and summary, and Update executes the reviewed plan's digest. `orca skills install|update` runs the same planner in-process with --dry-run, --force, --json and per-summary exit codes. Removes both npx spawn sites, the freshness inventory modules and the npx round-trip CI.
…p and CLI installedOnly now drops every location that holds nothing (keeping the shared slot only when an existing agent link points at it), so Update never adds a skill for another agent. The app and CLI resolve the Claude skills folder through the same rule in localBundledSkillInput; a test asserts both plan identically.
…gent summarizeBundledSkillPlan now returns each skill's locations, labelled by agent (or "Shared folder") with a ~-collapsed path; the dialog shows one row per skill that needs something, collapses up-to-date skills into one line, and lists every location behind "Show all locations". The result reads "Updated N skills · M left alone". Under installedOnly a Replace with no shared copy replaces in place instead of adding one.
…nder Split the update dialog's rows, headline and footer into components, move the Update label next to the other plan copy, and use z.strictObject for the request schemas.
The orcad bundle rejects a literal non-ASCII character in a regex.
…e' into jinwoo/bundled-skill-install-switch
Drop the deleted roundtrip workflow's group from the closed-PR cancellation fixture.
…nd runs apart, never boot WSL for a background check
…tch' into jinwoo/bundled-skill-install-remote
…s on Windows Directory links in fixtures are junctions on Windows, which need no Developer Mode; the one file-link fixture is skipped there.
…wn-skill errors, drop leftovers
…hing, Replace for an edited copy; complete translations
… to connect otherwise
…d-skill-install-remote # Conflicts: # src/renderer/src/components/skills/SkillFreshnessUpdateDialog.tsx # src/renderer/src/components/skills/skill-update-run-store.ts # src/renderer/src/components/status-bar/SkillUpdateStatusSegment.tsx
…d-skill-install-surfaces # Conflicts: # src/renderer/src/hooks/useActiveProjectSkillRuntime.test.tsx # src/renderer/src/hooks/useActiveProjectSkillRuntime.ts
…d-skill-install-remote
…d-skill-install-surfaces
…install-switch # Conflicts: # src/main/skills/bundled-skill-install/layouts.test.ts # src/main/skills/bundled-skill-install/plan.ts # src/main/skills/bundled-skill-install/service.ts # src/main/skills/bundled-skill-install/skill-home.test-support.ts # src/shared/bundled-skill-plan.ts # src/shared/bundled-skill-summary.test.ts # src/shared/bundled-skill-summary.ts
…tch' into jinwoo/bundled-skill-install-remote
…install-remote # Conflicts: # src/main/ipc/skills.test.ts # src/main/ipc/skills.ts # src/main/runtime/runtime-bundled-skill-install.ts # src/preload/api/agent-skill-api.ts # src/renderer/src/components/floating-terminal/FloatingTerminalOrchestrationDialog.freshness.test.tsx # src/renderer/src/components/settings/use-settings-store-model.ts # src/renderer/src/components/skills/SkillFreshnessNudge.test.tsx # src/renderer/src/components/skills/SkillFreshnessNudge.tsx # src/renderer/src/components/skills/SkillFreshnessStatusPill.tsx # src/renderer/src/components/skills/SkillFreshnessUpdateDialog.test.tsx # src/renderer/src/components/skills/SkillFreshnessUpdateDialog.tsx # src/renderer/src/components/skills/skill-update-run-store.ts # src/renderer/src/components/skills/use-reviewed-skill-plan.ts # src/renderer/src/components/status-bar/SkillUpdateStatusSegment.test.tsx # src/renderer/src/components/status-bar/SkillUpdateStatusSegment.tsx # src/renderer/src/hooks/useSkillFreshness.test.tsx # src/renderer/src/hooks/useSkillFreshness.ts # src/renderer/src/i18n/locales/en.json # src/renderer/src/i18n/locales/es.json # src/renderer/src/i18n/locales/fr.json # src/renderer/src/i18n/locales/ja.json # src/renderer/src/i18n/locales/ko.json # src/renderer/src/i18n/locales/pt.json # src/renderer/src/i18n/locales/zh.json # src/shared/bundled-skill-plan.ts
…ote' into jinwoo/bundled-skill-install-surfaces
Jinwoo-H
changed the base branch from
jinwoo/bundled-skill-install-remote
to
main
October 23, 2026 02:50
…install-surfaces # Conflicts: # src/renderer/src/components/settings/AgentSkillSetupPanel.freshness.test.tsx # src/renderer/src/components/settings/CliSection.test.tsx # src/renderer/src/components/settings/MobileEmulatorAgentControlRow.test.tsx # src/renderer/src/components/skills/SkillFreshnessStatusPill.tsx # src/renderer/src/components/skills/SkillFreshnessUpdateDialog.tsx # src/renderer/src/hooks/useActiveProjectSkillRuntime.test.tsx # src/renderer/src/hooks/useActiveProjectSkillRuntime.ts
Contributor
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Oct 23, 2026
1 task done
1 of 2 tasks
2 tasks done
This was referenced Oct 25, 2026
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Every screen in Orca that sets up an agent skill (onboarding, Settings > Orchestration, Browser, CLI, Computer Use, Linear, the mobile emulator, feature tips) used to open a small terminal with an
npx skills add ...command for you to run. Now each one has an Install button. One click and Orca copies its own skill files into place, then says what happened.What Changed
Before: clicking Install opened an inline terminal pre-filled with
npx [email protected] add https://github.com/stablyai/orca/tree/<sha> --skill .... You pressed Enter and watched npx download the skills from GitHub, which needs Node, network access and Git. On Windows/WSL the command was wrapped in PowerShell/wsl.exeescaping. If it failed, the screen showed only an exit code.After: Install runs Orca's own installer, the same one the Update skills dialog uses (stacked PRs below):
Installed, orInstalled · 1 left alone: You've changed this copy. Problems show Needs attention with Retry. A server that is too old for the installer shows "Update Orca on the server to install its skills." instead of falling back to npx. An SSH host with no Orca server yet shows "Connect to this SSH host to install its skills."Results are kept per machine, so switching workspaces never shows another host's result. A copy you edited, or a different skill using the same name, is left alone and named in the result line.
The button and result line follow the plan:
Installed for Cursor.Updated.Updated · Installed for Cursor.Installed. If Orca can't write a needed folder, or another install is running there, it shows Needs attention with Retry instead, neverInstalled.Also changed:
ORCA_INTERNAL_WSL_HOSTS), a legacy WSL project's setup screens still show the inline terminal with the samenpx skills addcommand as main, through the CLI Settings runtime choice or the project's distro. The code kept for that is markedCOMPAT(wsl-bridge)so it can be deleted with the WSL bridge.OnboardingInlineCommandTerminalstays forgh auth login, the Zcode CLI and the WSL flow. Theskills/folder stays, sonpx skills add stablyai/orcastill works for people outside Orca.onboarding_feature_setup_terminal_opened/_interacted) now fire only from the WSL terminal flow.onboarding_feature_setup_run, which nothing emitted before, now fires from the onboarding/feature-wall Install, withskill_install_result(installed | needs_attention | update_server | connect_host | failed). Nothing identifying is sent.Why
The terminal flow depended on npx, the network and GitHub's API, and it handed users a shell command to debug. The installer from the lower PRs already decides everything in one place (
plan→execute→summarize). Reusing it means setup screens, the Update dialog andorca skills installcannot disagree about what "installed" means or which machine it applies to.Alternatives considered:
Linked Issue
Stack: #31662 (core) → #31688 (local switch) → #31867 (remote) → this PR.
Visual Proof
Onboarding "Give agents Orca skills", before → after Install (Computer Use deselected to avoid the macOS permission prompt):
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Settings > Orchestration, not installed → Install:
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Settings > Browser with a hand-edited
~/.claude/skills/orca-cli. Update installs the shared copy and leaves the edited one alone, naming it. Because the only thing left is that replaceable copy, the button becomes "Replace with Orca's copy". Replace moves the edited copy to.orca-skill-backups/(the same rule as the Update dialog) and leaves only Re-check:(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Testing
~/.agents/skills/{orca-cli,orchestration}were written and~/.claude/skills/*linked to them; the edited~/.claude/skills/orca-cli/SKILL.mdwas byte-unchanged.use-bundled-skill-install.test.tsx: per-host results, a late completion lands in its own host's slot, repeated clicks, a failed probe is an error, retry.AgentSkillSetupPanel.test.tsx: plan then execute with names, a paired host never installs locally, edited-copy line, changed disk → Needs attention + Retry, old server.runtime-bundled-skill-install.test.ts.pnpm tc,check:code-quality:changed, oxlint, oxfmt, anti-slop, the type-aware/native plugin lints, React Doctor (changed lines), the ratchets, the localization catalogs/extraction/coverage, and the generated-catalog checks. All pass.Review
Fresh-eyes review done. Fixed: feature-wall Install is disabled while the agents' host is unknown, the
bundled-skill-unknownerror is named, and leftovers are removed.Agent skill upstream boundary
Notes
namesrequest field is part of Install and update Orca's skills on paired servers and SSH hosts #31867'sskills.bundled-orca.v1contract.ssh:<target>) to the managed Orca server on that host, so Install plans and runs there. An SSH host that no server serves yet gets "Connect to this SSH host to install its skills." and nothing is written on this machine. Install is disabled only while Orca can't tell which machine owns the workspace yet.