Install Levels for Skills and Plugins
Status: proposal (2026-11-19); slices S6a (skills at four levels), S6b (plugins below the system level, from the CLI) and S6c (installing from a chat, approvals by level, plugin co
Status: proposal (2026-11-19); slices S6a (skills at four levels), S6b (plugins below the system level, from the CLI) and S6c (installing from a chat, approvals by level, plugin configure) built 2026-11-20/21, see section 8; per-runtime levels for skills and plugin workspaces on remote machines are not implemented. Part of the release, installation and runtime layout design, replacing its earlier "one plugin store plus enablement records" plan. The owner's decisions of 2026-11-19: skills and plugins can be installed and used at every level; the workspace level lives in the workspace's .orquelo/skills and .orquelo/plugins; given an address, a bare skill installs directly, and the user chooses the level.
1. Four levels
| Level | Skills | Plugins | Who sees it | Who may install |
|---|---|---|---|---|
| System | ~/.orquelo/skills/<name>/; default skills shipped with a release in releases/<version>/skills/ | ~/.orquelo/plugins/<name>/; shipped ones in releases/<version>/plugins/ | every user of every tenant | Host admins, the operator's CLI |
| Tenant | data/tenants/<t>/shared/skills/<name>/ | data/tenants/<t>/shared/plugins/<name>/ | the tenant's users | the tenant's admins |
| User | data/tenants/<t>/users/<u>/skills/<name>/ | data/tenants/<t>/users/<u>/plugins/<name>/ | only that user | the user themselves |
| Workspace | <workspace>/.orquelo/skills/<name>/ | <workspace>/.orquelo/plugins/<name>/ | only runs in that workspace | whoever may write the workspace (its owner for a personal one, the conversation's members for a group one) |
- ◆Provenance marker (confirmed by the owner on 2026-11-19): at the system level, items from Orquelo's official catalog install directly into
skills/<name>/andplugins/<name>/; every other source (user-developed, Claude Code marketplaces, any git repository, local directories) is third-party and goes intoskills/third-party/<name>/andplugins/third-party/<name>/. Items at the other levels are by definition provided by users or tenants; their source is recorded in the database and shown bylist, with no extra directory. A directory is only a marker for people and grants nothing. - ◆A skill is a directory with
SKILL.md; a plugin is a directory withplugin.yaml(manifest, process, or a plugin carrying skills), as today.
2. Installing: one command, a chosen level
orquelo skill install SOURCE [--to system|tenant|user|workspace] [--tenant T] [--user CONN:USER] [--workspace PATH]
orquelo plugin install SOURCE [--to …] # the existing command plus --to, default system as today- ◆Sources are those of today's
plugin install: a GitHub directory link,git+URL#<commit>[:dir], an https archive with its sha256, a local directory, a catalog name. Branches and tags are first pinned to a commit (the existingresolve). - ◆Bare skills: a source directory with
SKILL.mdand noplugin.yamlinstalls as a skill, without being wrapped in a plugin first. Claude Code and Codex packages are converted by the existing importer. - ◆In a conversation: a user says "install this skill https://github.com/…/skills/foo". The Agent resolves the source and sends a card with the name, description, pinned commit, file list and, to choose from, the levels the sender may install to (user always; workspace when there is one; tenant for tenant admins; system for Host admins), with the user level preselected. Choosing on the card is the confirmation; the model never decides to install on its own.
- ◆Steps: resolve and pin the source → download into
cache/→ validate (skill validate, the manifest check) → name check (section 4) → approvals per section 3 → copy into the chosen level's directory → record the install (kind, name, level, owning tenant/user/workspace, source, commit, digest, installer, time) → a skill is visible from the next run; a plugin triggers a reload.
3. Approvals
| Skills | Plugins | |
|---|---|---|
| System | a Host admin | a Host admin |
| Tenant | a tenant admin | a tenant admin, plus a Host admin approving the code |
| User | none (decided 2026-11-19) | a Host admin approving the code |
| Workspace | trusted once by the workspace owner | trusted by the workspace owner, plus a Host admin approving the code |
- ◆Plugin code needs a Host admin's approval by digest at every level: it runs as the Host's OS user and can read the whole HOME. A digest already approved (installed at another level, say) is not asked again.
- ◆Workspace trust: a workspace's
.orquelo/may come from agit pullor be written by the model during a run. The first time a run meets it, the owner gets a card "this workspace has N skills and M plugins; trust them?"; trust is recorded by digest. Any later change keeps the changed item from loading until it is confirmed again, so files the model wrote never become instructions for later runs.
4. Visibility and names
- ◆A run sees: the system level + its tenant's level + its user's level + its workspace's level.
- ◆Names are unique within what one run can see. An install whose name is already used at a visible level is refused. A conflict can still arise at run time (a pulled repository brings a skill of the same name): the higher level wins (system > tenant > user > workspace), the lower one is hidden, and
skill listsays why. System wins so a repository cannot replace a system skill with one of the same name. - ◆A runtime's configuration may limit the levels it accepts:
levels: {skills: [system, tenant, user, workspace], plugins: [system, tenant, user, workspace]}, all four by default; an operator may switch one off (such as workspace plugins when serving the public).
5. Instances of plugins below the system level
System-level plugins keep their instances declared in the configuration file, as today. For a tenant, user or workspace plugin the Host creates an implicit instance for its owner, recorded in the database rather than the configuration file:
- ◆The instance ID is
<name>@<level>; its configuration takes the manifest's defaults; options and secrets that differ per user use per-principal secrets (Caller.GetSecret, built). - ◆It applies only to its owner's runs and joins what a runtime accepting that level may use; its data directory follows the scopes of the runtime layout section 8.
- ◆Levels, implicit instances,
Caller.Dirand the workspace reading interface go together into ADR 0010.
6. Workspaces
- ◆Layout:
.orquelo/skills/<name>/SKILL.mdand.orquelo/plugins/<name>/plugin.yaml, which can be committed with the repository and shared by a team. - ◆A workspace belongs to its tool plugin (such as
localenv, possibly on a remote machine), so the Host does not read its files directly: the tool role gains an optional interfaceWorkspaceFilesthrough which the Host lists and reads what is under.orquelo/(needs the ADR). - ◆
--to workspacewrites the files into the workspace, where they show ingit status; committing them is the user's choice.
7. Listing and uninstalling
- ◆
orquelo skill list [--level L]andorquelo plugin list [--level L]list by level with source and installer;/skillsin a conversation shows the same levels. - ◆
orquelo skill uninstall NAME --from Landorquelo plugin uninstall NAME --from L: only those who may install at that level may uninstall. - ◆Deleting a user deletes their level; exporting a tenant includes its level; the workspace level goes with the workspace.
8. Relation to what is built
- ◆Today skills arrive only through plugins:
skills/inside a package,skilldir,learned-skills; there are no tenant or user levels, and workspace skills are explicitly excluded (skill design). This design has one builtin skill source read the four levels by caller, replacinglearned-skillsand covering whatskilldirdoes; the workspace exclusion becomes "usable once trusted", and the skill design is updated to match. - ◆The workshop lets the user choose the level when publishing (user by default) instead of always publishing to the Host level.
- ◆The existing
plugin install, importer, digest trust andresolvestay. Migration: the skills indata/feishu/installed/learned-skillsmove to~/.orquelo/skills/.
Built in S6a (2026-11-20). Skills only, from the operator's CLI:
- ◆
orquelo skill install SOURCE [--to L] [--tenant T] [--user CONN:USER] [--workspace DIR] [--name NAME]takes the sources ofplugin install. System installs go toskills/third-party/(nothing installs from Orquelo's catalog yet). The skill is checked likeskill validate. A name visible to the target is refused, as is one a lower level already uses for those the new skill would reach.--nameinstalls under another name; a skill is known by its directory's name.--userregisters a person not yet seen in--tenantand refuses one already in another tenant. - ◆
orquelo skill uninstall NAME --from L [...];orquelo skill trust DIRrecords the digest of each skill inDIR/.orquelo/skills(tableskill_trust).orquelo skill listadds aninstalled:section: every level, with the owner and, with--workspace DIR,trusted,untrustedorchanged. - ◆The builtin skill source
skills(default: enabled, soorquelo initadds it to the runtime'suses) reads the levels on every call through a Host port,Env.Levels(plugin.SkillLevels), given only to builtin skill sources. A higher level hides the same name below. A workspace skill loads only while its trusted digest matches, and only for runs whose workspace is a path (CallContext.Workspace.Path). TheWorkspaceFilesinterface of section 6, remote workspaces and the trust card are not built. - ◆Not built: the chat install card, the approvals of section 3 (the CLI is the operator), plugins at levels (S6b), per-runtime
levels, the install record, and replacinglearned-skills.
Built in S6b (2026-11-20). Plugins below the system level, from the operator's CLI (ADR 0010, addendum):
- ◆
orquelo plugin install SOURCE --to tenant|user|workspace [--tenant T] [--user CONN:USER] [--workspace DIR].--to tenantrequires--tenant.--to useruses the person's own tenant. A name that is already a builtin, a system plugin, or visible at another level for the same target is refused. The install is recorded in the database (plugin_levels). - ◆
orquelo plugin approve NAME --level L [...]: a Host admin approves the current content. Approval is by name and digest (plugin_approvals), so it survives uninstall, and the same content at another level is not asked again.orquelo plugin trust DIR: the workspace's owner trusts its plugins as they are (plugin_workspace_trust).orquelo plugin uninstall NAME --from L [...]. - ◆The Host makes an implicit instance of each,
<name>@<level>.<owner>(for examplenotes@user.us_…; the owner part keeps two owners' copies apart and is a valid directory name). Each instance serves only its owner's calls (the tenant's users, the one user, runs in that workspace), and every runtime uses it unless itslevels: {plugins: [...]}leaves that level out. It does not load whileunapproved, then, for a workspace plugin,untrustedorchanged.orquelo pluginsshows the status and owner, andorquelo plugin listshows each package's level and owner. - ◆Not built in S6b (S6c below covers the chat install, approvals and configure):
levelsfor skills.
Built in S6c (2026-11-21).
- ◆From a chat: the admin plugin's tool
install_request(source)asks the Host (plugin.LevelInstaller, offered with the manage grant) to fetch, pin and check the source understate_dir/cache/install/<id>(kept for a day). The Host reads the sender's role and tenant from its own records, never from the call, and lists the levels the sender may use: user always, workspace for a run with a path workspace, tenant for tenant admins and Host admins, system for Host admins. The sender picks one on a card, user first and localized by the run'sCallContext.Locale; that choice is the confirmation. The Host checks the level again, and refuses a prepared install from anyone but its preparer. A plugin below the system level then goes to the Host admins on an approval card (Approver: admin); the Host accepts that approval only from a principal whose role is admin. An admin's own install needs no second approval. - ◆Process plugins may be installed below the system level. Like every plugin there, they stay
unapprovedand do not start until a Host admin approves their digest; the card says that they run as the Host's user. The install makes the declaredprocess.commandexecutable, which an archive or a copy may have lost. - ◆
orquelo plugin configure NAME --level L [...] KEY=VALUE...sets an installed plugin's declared options and its config (checked againstconfig_schema; a plugin without one takes no config), stored with its install record and applied at the next load. A sensitive option, or a config key the Host treats as a secret (by its name orwriteOnly, as configuration masking does), is refused and points toorquelo secret set INSTANCE NAME, which accepts the implicit instance; the Host fills such config keys from that secret when it loads the instance. The value is never printed.--levelis accepted for--toand--fromtoo.
9. Acceptance (slice S6)
- ◆From Feishu, given a GitHub address, a bare skill installs to the user, workspace, tenant and system levels in turn; the card lists only the levels the sender may use.
- ◆A visibility matrix of two tenants with two users each and one workspace: each level is visible only to those it belongs to.
- ◆An install whose name a visible level uses is refused; a run-time conflict hides the lower level, system first.
- ◆After the model edits a workspace skill during a run, the next run does not load it until the owner confirms again.
- ◆A user-level plugin does not load before a Host admin approves it; a second install of the same digest asks no approval.
- ◆Uninstalling at each level is open only to those entitled to it.